Carsten Spieß
2017-05-05 14:13:01 UTC
Hello ,
i'm using dnsmasq to deliver IPv6 DNS entries.
The IPv6 prefix i get dynamicaly from my ISP after dialin (pppoe),
but this changes on every reconnect (which is at least once a day).
When the prefix changes every IPv6 host in /etc/hosts
dnsmasq.conf files has to be changed to cause dnsmasq to deliver
the IPv6 address containing the new prefix.
(I didn't find a posibility to configure dnsmasq to do this
automatically)
I would like to suggest to add an "constructor:<interface>" option to
--host-record like:
--host-record=<name>[,<name>....],[<IPv4-address>],[<IPv6-address>][,constructor:<interface>][,<TTL>]
Where [<IPv6-address>] contains only the host-/local-network part and
[constructor:<interface>] will add the prefix from <interface>
e.g.
--host-record=myhost,10.1.2.3,::0123:4567:89ab:cdef,constructor:eth1
for adding the /64 prefix of eth1
Regards
Carsten
i'm using dnsmasq to deliver IPv6 DNS entries.
The IPv6 prefix i get dynamicaly from my ISP after dialin (pppoe),
but this changes on every reconnect (which is at least once a day).
When the prefix changes every IPv6 host in /etc/hosts
dnsmasq.conf files has to be changed to cause dnsmasq to deliver
the IPv6 address containing the new prefix.
(I didn't find a posibility to configure dnsmasq to do this
automatically)
I would like to suggest to add an "constructor:<interface>" option to
--host-record like:
--host-record=<name>[,<name>....],[<IPv4-address>],[<IPv6-address>][,constructor:<interface>][,<TTL>]
Where [<IPv6-address>] contains only the host-/local-network part and
[constructor:<interface>] will add the prefix from <interface>
e.g.
--host-record=myhost,10.1.2.3,::0123:4567:89ab:cdef,constructor:eth1
for adding the /64 prefix of eth1
Regards
Carsten