Community discussions

MikroTik App
 
hwsinn
newbie
Topic Author
Posts: 35
Joined: Wed Aug 12, 2020 6:41 am

Receiving only 1 DNS server from DHCP

Wed Aug 26, 2020 1:13 pm

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.
 
erlinden
Forum Guru
Forum Guru
Posts: 2682
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Receiving only 1 DNS server from DHCP

Wed Aug 26, 2020 1:20 pm

Can you please share:
/ip dhcp-server network export
 
hwsinn
newbie
Topic Author
Posts: 35
Joined: Wed Aug 12, 2020 6:41 am

Re: Receiving only 1 DNS server from DHCP

Fri Sep 04, 2020 7:04 am

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
 
hwsinn
newbie
Topic Author
Posts: 35
Joined: Wed Aug 12, 2020 6:41 am

Re: Receiving only 1 DNS server from DHCP

Tue Sep 08, 2020 12:22 pm

any help?
 
erlinden
Forum Guru
Forum Guru
Posts: 2682
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Receiving only 1 DNS server from DHCP

Tue Sep 08, 2020 12:42 pm

Can you also post an ipconfig /all from a client?
Is in /ip dhcp-client the option use-peer-dns checked?
 
hwsinn
newbie
Topic Author
Posts: 35
Joined: Wed Aug 12, 2020 6:41 am

Re: Receiving only 1 DNS server from DHCP

Tue Sep 08, 2020 4:29 pm

ipconfig -> https://imgur.com/a/1IinSk0

dhcp client is use for WAN interface only.
use-peer-dns is checked.
 
hwsinn
newbie
Topic Author
Posts: 35
Joined: Wed Aug 12, 2020 6:41 am

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

Wed Sep 09, 2020 10:03 am

somehow there is static DNS set on this device that i am using. I have removed it and problem is solved

Who is online

Users browsing this forum: Pinkamena and 64 guests