aboutsummaryrefslogtreecommitdiff
path: root/src/net/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/conf.go')
-rw-r--r--src/net/conf.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/conf.go b/src/net/conf.go
index d4bd56cc58..71ed1360c5 100644
--- a/src/net/conf.go
+++ b/src/net/conf.go
@@ -149,7 +149,7 @@ func (c *conf) hostLookupOrder(r *Resolver, hostname string) (ret hostLookupOrde
}
lookup := c.resolv.lookup
if len(lookup) == 0 {
- // http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
+ // https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
// "If the lookup keyword is not used in the
// system's resolv.conf file then the assumed
// order is 'bind file'"
@@ -203,7 +203,7 @@ func (c *conf) hostLookupOrder(r *Resolver, hostname string) (ret hostLookupOrde
}
if c.goos == "linux" {
// glibc says the default is "dns [!UNAVAIL=return] files"
- // http://www.gnu.org/software/libc/manual/html_node/Notes-on-NSS-Configuration-File.html.
+ // https://www.gnu.org/software/libc/manual/html_node/Notes-on-NSS-Configuration-File.html.
return hostLookupDNSFiles
}
return hostLookupFilesDNS