Hi, just a quick question. I've got a dual stack lan setup with both v4 and v6 (17.04).
What I want to know is what is the best and supported way to populate my local DNS automatically with hostnames for ipv6 hosts in the same fashion dnsmasq does for ipv4?
I am using dnspmasq for ipv4 since that is the default setup.
I'm currently running the defaults for ipv6 (slaac).
It looks like I should be running DHCPv6, hopefully in stateless mode to preserve SLAAC, but I'm not seeing code in odhcpcd to pump the hostname into the system dns (except possibly through ubus?).
How do y'all do this, as it's super basic and should "just work"...?
config host
option name 'foo'
option mac '01:23:45:67:89:ab'
option ip '192.168.1.12'
option duid '0123456789abcdef0123456789ab'
option hostid 'c0a8010c'
option dns '1'
You don't need to install those packages to get dns records for stateful DHCPv6 addresses since it's supported by dnsmasq. For SLAAC you need something else such as ip6neigh mentioned above.