Hi there, hopefully you can help me out.
I am using
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01 on a
Atheros AR9344 rev 2 device.
On Interface LAN i use DHCP and configured Options for DNS like this
and activated strict order in advnced DNS settings.
My Client gets all 3 DNS Servers as expected, BUT also on place the IPV6 address of my router. I have no clue, where this come from. So my client never uses the correct DNS server.
I really hope you can help me out here.
You also need to configure odhcpd.
Replace IPv6 addresses with IPv4 if you have a dynamic prefix.
Thanks for your reply, but this changes nothing
Make sure to perform DHCP release and renew, or reboot the client.
If the issue persists, post the output:
uci show dhcp
dhcp.lan.dns='192.168.1.2 '22.214.171.124' '126.96.36.199'
This line looks mangled because quotes must be in pairs.
Check the following:
By the way, you can set up a static IPv6 lease and use the ULA address for DNSv6.
I edited this line when pasting and messed up the quote. I am using a different subnet in real. So the config is correct and there is no typo.
I guess I don't need ipv6 at home
Completely disabling IPv6 is not always possible.
But you can disable and stop the odhcpd service.
You can also intercept DNS traffic and forward it to another resolver.
Nothing is working like it should.
I guess i am at a point to become despair
No matter what i do, DNS is still there. Even when i configure static DNS on Interface in Windows.
OpenWrt is your DHCP and DHCPv6 server, isn't it?
Did you restart the odhcpd service to apply changes?
Did you try to reboot the client?
Correct openwrt is my only DHCP server.
I just applied the settings and ipconfig /release renew
I didn't restarted the odhcpd Service it self neither restarting the client.
Should I try this?
No change after restarting odhcpd service. DNS entry ist still present
You always need to reload/restart the service to apply the new config.
Rebooting the client makes sure it flushes all caches and requests a new lease.
If this doesn't help, then you have 3 other options mentioned above:
- Use another IPv6 addresses to advertise DNSv6.
- Use DNS hijacking to intercept both DNS and DNSv6 queries.
- Disable and stop the odhcpd service.
Thanks for your help. But I guess I will just use my openwrtv router for dns queries. Not as comfortable as the other, but I guess it will do