On 08/23/2017 02:12 AM, Per Jessen wrote:
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?
Not if you've got more than a couple of devices on the network. Also, you probably don't want to use it on a notebook computer that you use elsewhere. For example, on IPv4, the local DNS provides RFC1918 addresses for devices on my network. But if I'm away from home the host name for my main computer returns my single public IPv4 address, which then gets forwarded to the computer. Also, on IPv6, as an experiment, I set up Unique Local Addresses, which is used within my LAN, though I could use the global addresses. So, at home, my DNS returns those ULA addresses, but away from home, the public DNS returns the global addresses. Unique Local Addresses are the IPv6 equivalent of the IPv4 RFC1918 addresses. https://en.wikipedia.org/wiki/Unique_local_address -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org