[Dnsmasq-discuss] dbus, --address

SamLT samuel.lethiec at intelunix.fr
Wed Jun 8 11:53:58 BST 2011



Hello,

background: I started to play with IPv6. I'm used to dnsmasq providing
me a nice local hostnames resolution (hostnames sent via the DHCP
transaction). well, I'd like something similar with IPv6.
I'me currently ready about mDNS, DNS-SD &Cie, but my first idea was to
use a hook script for each DHCP transactions which will add or delete AAAA
records to dnsmasq depending on the MAC address.


When I look on the DBUS&dnsmasq page[1], I see that there is no
--address support and I was wondering whether or not this could be
usefull to have this?


I mean, not for my initial idea, I know it's a bad idea for several
reasons:
   -> there is the privacy extension which means the IPv6 address won't
   be using the mac address
   -> AAAA record for PC not having IPv6 connectivity might cause some
   problems
   -> IPv6 only hosts will still be missing their AAAA records...


Anyway, as I regularly blacklist new domains, I thought this might be a
nice addition? I know restarting dnsmasq should not be a problem, but
may be that's something quick to add? I just don't know?

to be honnest, I don't much about DBUS either, but writing a small
script to add or remove --address directive would be a good opportunity
to learn about it.


What do you think?


I know Simon is now "seriously thinking" about adding DHCPv6 support to
dnsmasq. So I may add one question about it:

Is the DHCPv6 server able to advertise new settings? Or do the clients
have to wait for their lease to expire (or half that time IIRC) to
negociate new parameters?


Thank you all!



[1] http://www.thekelleys.org.uk/dnsmasq/docs/DBus-interface




More information about the Dnsmasq-discuss mailing list