Page 1 of 1

Receiving only 1 DNS server from DHCP

Posted: Wed Aug 26, 2020 1:13 pm
by hwsinn
In my DHCP options, i have set 2 DNS servers for all interfaces.
Router has received dynamic DNS from ISP.
I have also been trying to toggle between Allow remote requests in IP>DNS during troubleshooting.
I also have tried to use other DNS servers that totally do not coincide with my ISP's DNS eg google dns.

But no matter how i release and renew my IP on the client, i keep receiving 1 DNS server from the DHCP when i do a ipconfig /all.
Is this normal?

It is not breaking anything but i just wanted to clarify the behaviour.

Re: Receiving only 1 DNS server from DHCP

Posted: Wed Aug 26, 2020 1:20 pm
by erlinden
Can you please share:
/ip dhcp-server network export

Re: Receiving only 1 DNS server from DHCP

Posted: Fri Sep 04, 2020 7:04 am
by hwsinn
Hi erlinden
/ip dhcp-server network
add address=192.168.11.0/24 dns-none=yes
add address=192.168.12.0/24 dns-server=1.1.1.1,165.21.100.88 gateway=\
    192.168.12.xx
add address=192.168.13.0/24 dns-server=1.1.1.1,165.21.83.88 gateway=\
    192.168.13.xx
add address=192.168.14.0/24 dns-server=1.1.1.1,165.21.83.88 gateway=\
    192.168.14.xx
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.x

Re: Receiving only 1 DNS server from DHCP

Posted: Tue Sep 08, 2020 12:22 pm
by hwsinn
any help?

Re: Receiving only 1 DNS server from DHCP

Posted: Tue Sep 08, 2020 12:42 pm
by erlinden
Can you also post an ipconfig /all from a client?
Is in /ip dhcp-client the option use-peer-dns checked?

Re: Receiving only 1 DNS server from DHCP

Posted: Tue Sep 08, 2020 4:29 pm
by hwsinn
ipconfig -> https://imgur.com/a/1IinSk0

dhcp client is use for WAN interface only.
use-peer-dns is checked.

Re: Receiving only 1 DNS server from DHCP  [SOLVED]

Posted: Wed Sep 09, 2020 10:03 am
by hwsinn
somehow there is static DNS set on this device that i am using. I have removed it and problem is solved