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

Attachment: pgpyqUwxzxzcl.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to