[Dnsmasq-discuss] ra-names without router advertisements

Michael Stilkerich ms at mike2k.de
Sat May 3 18:44:30 UTC 2014


Hi,

   I'd like to use dnsmasq as DNS and DHCP(v6) server on my home network. 
The box running dnsmasq is not the router; the router is a box provided 
by my internet provider that does router advertisements with the A flag 
set. The dnsmasq box gets the IPv6 prefix from the router advertisements 
of the router.

I'd also like dnsmasq to answer AAAA-DNS requests for my local hosts. 
For this, the ra-names seemed useful, since I'd be fine with all my 
hosts using SLAAC only. However, setting the ra-names options also 
causes dnsmasq to advertise the box it's running on as the router, which 
it isn't.

Is there a technical reason/requirement that ra-names turns on the 
router advertisements?

Thanks,
   -Mike

Here's my config:

domain-needed
bogus-priv
no-resolv
server=192.168.0.4
interface=eth0
domain=mylocaldomain.de

# DHCPv4, static and dynamic range
dhcp-range=192.168.0.50,192.168.0.250,255.255.255.0,12h
dhcp-range=192.168.0.1,192.168.0.49,static,255.255.255.0,12h
read-ethers
dhcp-option=option:router,192.168.0.4

# DHCPv6
dhcp-range=::1,::ffff:ffff:ffff:ffff,constructor:eth0,ra-names
dhcp-option=option6:dns-server,[::]

dhcp-authoritative




More information about the Dnsmasq-discuss mailing list