Local DNS for LAN network

I am still unable to set DNS resolver for my local LAN to other IP
Can you please give me step by step workaround?
My current settings are
DNS Servers . . . . . . . . . . . :
I need my other DNS address to be distributed via DHCP

Thank you

In /etc/config/dhcp for section config dnsmasq add/change
list server ''

like this? https://i.imgur.com/YEp1UEs.png

I have still received from my dhcp

Apparentlly it´s not resolving dns name if I do nslookup localhostname I will not get any IP, if I force nslookup localhostname I will get correct Ip as expected

You may also have to add the same entry for section config dhcp 'lan' and restart dnsmasq (/etc/init.d/dnsmasq restart)

still no luck :frowning: is there a simple way how to distribute DNS other than ?

Sorry, my mistake. The correct option is list dhcp_option '6,' in section config dhcp ‘lan’

Somehow I mixed up with server xxxx which is for defining forwarding dns server when using dnsmasq as dns server.

1 Like

or using web interface

1 Like