Community discussions

MikroTik App
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Problem with ISP-DNS-Servers

Tue Sep 27, 2011 2:45 am

Hello @ all,

as it would appear I have a problem with the DNS-server(s) of my ISP.

I use two connections ADSL and behind works a network for nearly 80 clients. Sometimes are the connections at www very slowly and if I make a traceroute there are some timeouts at this moment. But it is every time from another board and at another time. Other boards are working fine at the same time.
Now I would try to use other, free DNS-servers, because I think that my ISP "plays" with his DNS-servers. My connections are working with DHCP from the ISP.

My question:

Can I configure other DNS-server-IPs simply in the WINBOX by using >ip dns settings and it will work so?
Or is it better if I make an own DNS-server for example BIND and if so, how can I integrate this at a Mikrotikboard?

Regards

Uli
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: Problem with ISP-DNS-Servers

Tue Sep 27, 2011 4:12 pm

From the traceroute it doesn't look like it is related to the DNS servers, rather to instability
of the link. Anyway, if you want to use a free DNS server you can simply put the IP address
of the DNS server in /ip dns settings.
Since you get connected to the internet using dhcp-client, remember to remove the option
"use peer dns" from the dhcp-client settings. That option would overwrite your settings every time
your dhcp-client gets a new lease.
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 3:43 am

Thank you for response, Caci99. I will do so.
What do you mean here ?
instability of the link
The timeouts are behind the gateway, somewhere at the www-routers, not at my network.

Regards

Uli
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 12:34 pm

Instability of the link, I mean that the link drops connection. The connection is not stable, it keeps
disconnecting.
As you know, during a traceroute you execute ping to every router/server along the path (ICMP protocol),
it could be that some of those routers/server have been configured to drop any ICMP packet, thus
sometime giving you a false result of the connection.
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 2:14 pm

Hmmm, all right, but if the traceroute (for examble to google.com) works exactly at the same time from 7 other Mikrotikboards in my network? All use the same gateway. This is what I do not understand.

Regards

Uli
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 11:14 pm

... and another observation:

I am using 2 gateways fron Tel. Argentina and one from Copaco Paraguay. Normaly the trafic is more stabil and I habe more bandwidth with the connections of Argentina, but this error also happens only there. If I have the problem of timeouts and change the gateway to Copaco the error is away here.

What can it be? I´m perplexed. Anybody an idea?

Regards

Uli
 
User avatar
Bongo
newbie
Posts: 37
Joined: Thu Aug 11, 2011 4:28 am

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 11:25 pm

i use googles dns

ip/dns

8.8.8.8
8.8.4.4

or punch it in on your adsl router & in ip/dns in winbox user your adsl routers ip
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Problem with ISP-DNS-Servers

Wed Sep 28, 2011 11:33 pm

What do ICMP probes (ping/traceroute) timing out have to do with DNS?
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Re: Problem with ISP-DNS-Servers

Thu Sep 29, 2011 6:59 pm

Hello again,
What do ICMP probes (ping/traceroute) timing out have to do with DNS?
You are right, fewi, but I thought so and that´s why I tryed it. The timeouts are only at the gateway of one provider...

Well, I will check sometings more and open a new topic, if I do not found the reason.

But anyway, the fact with the DNS-servers is, that it only works, if I put the DNS-server-address at the computer or the first router at my home-network.
If I set the Mikrotiks in ip dns settings it ignors that and all other users are working always with the DNS-server of the provider.
Why?

Regards

Uli
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Problem with ISP-DNS-Servers

Thu Sep 29, 2011 7:40 pm

What DNS server do you hand out to the users via DHCP? If you're handing out the ISP DNS server that's what clients will use.

You can force that the router be used as a DNS server by redirecting all DNS to it via NAT:
/ip firewall nat
add chain=dstnat protocol=udp dst-port=53 action=redirect
add chain=dstnat protocol=tcp dst-port=53 action=redirect
 
User avatar
ulikroessin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Sat Jun 18, 2011 3:02 am
Location: Paraguay

Re: Problem with ISP-DNS-Servers

Sun Oct 16, 2011 2:54 am

Yes, this solved the problem. Thank you for helping!

Who is online

Users browsing this forum: Bing [Bot], intania, katongo360, maigonis and 112 guests