Weird DNS Issue

I have set a custom DNS server on both my WAN and LAN interfaces.

Why aren't the computers on my network using this DNS server? They are using the router's IP instead.

Am I missing something?

Because you configured those IPs into the router, not into your clients.

Yes. To do what you desire, you give your devices a DHCP Option 6 (specific DNS servers):

At /etc/config/dhcp

config dhcp 'lan'                          
        option interface 'lan'                   
        option start '100'                 
        option limit '150'                       
        option leasetime '12h'      
        option dhcpv6 'server' 
        option ra 'server'          
        option ra_management '1'
        list dhcp_option '6,xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx'

On the web GUI:

Screenshot%20from%202018-09-26%2010-48-36

Hope this helps.

3 Likes

That fixed it, thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.