summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-08-14 09:24:30 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-08-14 09:24:30 +0000
commit3be8a5567f606f621689fd0af1331442aa5ed325 (patch)
tree2cb948eba8f006a027b73a71486f085c70979beb
parent1e2b1d8537e63e0c07ea465dde17b1fb0d7960a3 (diff)
downloadeglibc2-3be8a5567f606f621689fd0af1331442aa5ed325.tar.gz
nsswitch.conf: use nss-myhostname
This allows localhost to be reachable without network being available or statically configured in /etc/hosts.
-rw-r--r--nsswitch.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch.conf b/nsswitch.conf
index c786e6bd0..adc9c86f8 100644
--- a/nsswitch.conf
+++ b/nsswitch.conf
@@ -2,7 +2,7 @@ passwd: compat
group: compat
shadow: compat
-hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
+hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 myhostname
networks: files
protocols: db files