David C. Rankin wrote:
On 08/22/2017 08:30 PM, James Knott wrote:
On my system, 127.0.0.1 just says localhost. I have a DNS for host names.
Well, you still need the entry in /etc/hosts unless you have an A record in bind (or other dns) running on localhost providing resolution for localhost/hostname.
A typical dns zone will also have an entry for 'localhost'. Well, I've always had that.
I run bind too (not on my laptop, but locally) and you still need the /etc/hosts entry. You are not providing an IP for your hostname, you are just providing correct resolution between localhost and your fully-qualified hostname. It can have any IP required provided by your network device config or dhcp.
Are you saying the vanilla /etc/hosts (see below) as installed with the system is not sufficient? 127.0.0.1 localhost ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts -- Per Jessen, Zürich (18.1°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org