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,,'

On the web GUI:


Hope this helps.


That fixed it, thanks!

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