Hello all,
I'm trying to replace the DNS/DHCP of my FritzBox home router with
dnsmasq.
For IPv4 everything seems to work fine, i.e. when clients request an
IPv4 address, dnsmasq registers their hostnames, so name resolution for
local machines works.
But it does not seem to work for IPv6. I want the clients to do SLAAC
but still dnsmasq should serve AAAA records for local hosts if asked
for.
If I understood correctly, then dnsmasq will only register the hostnames
for which it receives a DHCP request. Does this require the hosts to
request an IP address? Or will the hostnames be added to DNS also if
just the DNS server information is requested?
So I probably should configure what is called stateless DHCPv6:
------------------------------------
no-resolv
server=8.8.8.8
server=8.8.4.4
server=2001:4860:4860::8888
server=2001:4860:4860::8844
domain=home.example.net
local=/home.example.net/
domain-needed
bogus-priv
expand-hosts
stop-dns-rebind
enable-ra
ra-param=high
read-ethers
dhcp-option=option6:dns-server,[fd00::]
dhcp-option=option6:domain-search,home.example.net
dhcp-range=::,constructor:lan,ra-names,ra-stateless
# This will tell DHCP clients to not ask for proxy information
# Some clients, like Windows 7, will constantly ask if not told NO
#
https://wiki.openwrt.org/doc/howto/dhcp.dnsmasq#log_continuously_filled_with_dhcpinformdhcpack
dhcp-option=252,"\n"
log-async=10
log-dhcp
------------------------------------
However, I don't get dnsmasq to return AAAA records for local hostnames.
Is this configuration basically correct? Or am I missing something?
Best regards,
Robert
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss