-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Document intersection of nss-myhostname and nss-resolve #1605
Copy link
Copy link
Closed
Labels
Description
While testing out nss-resolve, I discovered that after enabling it, myhostname becomes useless:
- *.localhost maps to 127.0.0.1 and ::1
- The local hostname resolves to the public addresses of the host
- gateway resolves to the routing gateway address
All three tested with getent ahosts $1, having disabled myhostname. Has nss-myhostname become superfluous when nss-resolve is installed? Or is this result only sometimes applicable? The documentation doesn't say, and in particular nss-resolve(8) does not mention that one should expect this behavior.
systemd 227-2 from debian (plus enabling nss-resolve).
Reactions are currently unavailable