Community discussions

MikroTik App
 
nostromog
Member Candidate
Member Candidate
Topic Author
Posts: 226
Joined: Wed Jul 18, 2018 3:39 pm

How to remove wrong dynamic-servers from /ip dns?

Wed Aug 14, 2019 5:20 pm

Hi, I have the same problem in several routers:

I have a router in London where I used for a short time my cellular phone via USB cable, and via dhcp-client the DNS addresses of my provider went into /ip dns dynamic-servers...

Several months and reboots from then they are still there, in spite of the fact that the ISP dns does not answer when conacted from outside its network... so, seen from a upstream router:
[admin@MikroTik] > /ip firewall connection print interval=1 where dst-address~"80.58"   
Flags: E - expected, S - seen-reply, A - assured, C - confirmed, D - dying, F - fasttrack, s - srcnat, d - dstnat 
 #          PR.. SRC-ADDRESS           DST-ADDRESS           TCP-STATE   TIMEOUT     ORIG-RATE REPL-RATE ORIG-PACKETS REPL-PACKETS
 0    C  s  udp  192.168.88.217:5678   80.58.61.254:53                   9s            1024bps      0bps       13 721            0
 1    C  s  udp  192.168.88.217:5678   80.58.61.250:53                   8s            1024bps      0bps       13 721            0
It keeps trying to contact them months after.

Isn't there a way to remove those so called "dynamic-servers" which are proving to be more static than the static ones, from there?
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to remove wrong dynamic-servers from /ip dns?

Wed Aug 14, 2019 6:45 pm

Dynamic DNS servers are added by DHCP/PPPoE/... and they don't stick. Stop the client or uncheck the option to add them, and they go away. If not, it would be bug.
 
nostromog
Member Candidate
Member Candidate
Topic Author
Posts: 226
Joined: Wed Jul 18, 2018 3:39 pm

Re: How to remove wrong dynamic-servers from /ip dns?

Wed Aug 14, 2019 7:11 pm

Dynamic DNS servers are added by DHCP/PPPoE/... and they don't stick. Stop the client or uncheck the option to add them, and they go away. If not, it would be bug.
It is a bug, then, as they have been around for months, after reboots and whatnot. My guess is that if one disables the dhcp-client / pppoe-client while the lease is active they stick forever... I still would like to know how to remove them.
 
User avatar
Panbambaryla
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Sat Jun 08, 2019 12:12 pm

Re: How to remove wrong dynamic-servers from /ip dns?

Wed Aug 14, 2019 7:21 pm

Have a look at my PPPoE configuration:
DNS1.jpg
so I do not have dynamic servers DNS entry:
DNS2.jpg
When I check the box "Use Peer DNS" it is on the list in a moment.
You do not have the required permissions to view the files attached to this post.
 
msatter
Forum Guru
Forum Guru
Posts: 2912
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: How to remove wrong dynamic-servers from /ip dns?

Wed Aug 14, 2019 9:00 pm

Who is online

Users browsing this forum: Ask Jeeves [Bot], dschnur, sebus46, techcomtecnico and 94 guests