[Dnsmasq-discuss] add dynamic IPv6 to DNS

Mathias Kresin openwrt at kresin.me
Wed Oct 15 19:56:21 BST 2014

2014-10-15 19:46 GMT+02:00 Michael Kuehn <kuehn.michael at icloud.com>:
> Hi,
> i have the following situation. My router has a static IPv4 address. I add
> the static IPv4 address into the hosts-File with the hostname "router" so
> that dnsmasq can resolve my routers IP.
> Now with IPv6, my router gets the IP the DHCP so i can't hardcore it into
> the hosts-File. How can i add an (dynamic) IP address as an AAAA-Record for
> my router?
After checking the manual (!), the dnsmasq option "--interface-name"
looks like a suitable candidate. Using this option, you can drop the
v4 address in your host file as well.


More information about the Dnsmasq-discuss mailing list