I'm having issues with the router serving up its IPv6 address as a DNS server, which is conflicting with the primary DNS server on the LAN which has only an IPv4 address.
Here are the symptoms of my problem:
Running Barrier Breaker (14.07, r42625) on Buffalo WZR-HP-G450H. In a lab environment, I have just this router and a Windows 8.1 Pro laptop. Details of the production environment are given further down below.
On the router, in /etc/dhcp I have the following directives:
option dhcpv6 'disabled'
option ra 'disabled'I perform 'ipconfig /release' on the laptop.
I perform 'ipconfig /release6' on the laptop.
I reboot the laptop, and when I do an 'ipconfig /all', I see the IPv6 address of the router as the primary DNS server.
So this is all the lab environment. I don't want the router's IPv6 address served up to the client computer.
Where this is wreaking havoc is in the production environment where we have a Windows Server 2012 R2 acting as DNS server and DHCP server (due to Active Directory integration). The DHCP server has an IPv4 scope defined and option 23 under IPv6 set (Option 23 - DNS Recursive Name Server IPV6 Address List ). I would still like to keep the router as a DNS forwarder if possible for the Windows Server. Hence, I would prefer not switching off DNS completely.
So, any client machine attached to the LAN gets its proper IPv4 address and IPv4 DNS server from the Windows Server machine. However, it also gets the IPv6 DNS server from the OpenWrt router. Since this router doesn't know about the internal sub-domain, it resolves the address incorrectly.
What I want is that the OpenWrt router not hand out its IPv6 address as a DNS server. I have tried to work through the 'dnsmasq' and 'dhcp' documentation, but I am stumped.
The end result is that because the sub-domain is resolved incorrectly, client computers cannot join the domain and domain users are unable to log in.
Any suggestions on recommended best practices and a resolution to this problem would be most appreciated.
advTHANKSance.