DHCP send custom DNS

How to configure DHCP to send custom DNS to clients on the LAN.
When I put a DNS IP, clients always show: DNS 192.168.1., Instead of the custom DNS IP.

Running OpenWrt 19.07

Greeting

Go to Network-Interfaces-LAN (or whatever interface name you have) , scroll down to DHCP Server and select Advanced Settings tab. Add a DHCP-Option
6,8.8.8.8,8.8.4.4 Save and apply.
Also remove the 'Use custom DNS server' from the interface. This is for the router to know which DNS servers can reach from that interface.

1 Like

Perfect, thanks trendy.

1 Like

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