Community discussions

MikroTik App
 
TG
just joined
Topic Author
Posts: 1
Joined: Wed Mar 21, 2007 12:11 pm

Problems whit DNS

Wed Mar 21, 2007 12:25 pm

HI

I have changed my old Server for a Mikrotik Server in my network. I have 3 interfaces eth0, eth1, eth2. Interface eth0 is my WAN interfaces, eth1 and eth2 are Local interface. On eth1 and eth2 is masq and all work fine. I use too dhcp server and dns server. My clients become a IP Address, gatway and DNS(first local second out provider). The Internet wokr very good but for example when client go away from computer for 10min and come back the DNS dosen't work and must or Repair connection or reboot computer and all work again fine. I was tried write the DNS on "hard" on client station but te problem is again. I was trided whit diferend DNS.

Any suggestions?


(Sorry for my ENG)

TG
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Wed Mar 21, 2007 12:35 pm

please try to connect several clients ans see if they all suffer the same.

and try just setting up DNS of your MT box and see if DNS works and if problem persist
 
cooldude
just joined
Posts: 3
Joined: Thu Feb 01, 2007 9:23 pm

Thu Mar 22, 2007 7:03 am

I have the same problem!

I just setup a RouterOS Box V2.9.40 and everything works fine, but the last step I did was to use the box as DNS which gets me the same problem...

I have my own DNS server insde running and if i point my xp boxes to that machine everything works fine...If i point them to my routeros box they work for some time and then its stops..

I can see the cache getting filled when it works, but when it stops the new requestes don't get added to the cache ?

When the DNS stops working i switch the clients back to my internal server and they work again!

any ideas ?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Thu Mar 22, 2007 10:01 am

[janisk@Sumo] ip dns> export 
# mar/22/2007 09:59:55 by RouterOS 2.9.40
# software id =
#
/ ip dns 
set primary-dns=1.1.1.1 secondary-dns=1.1.1.2 \
    allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w 
this is my dns configuration on a router - pretty default. i have no problems what so ever. and my clients have only 1 dns entry that is my default gw, that is this router.
 
User avatar
winxp2000
Member Candidate
Member Candidate
Posts: 113
Joined: Mon Jan 30, 2006 8:57 pm
Location: China
Contact:

Thu Mar 22, 2007 11:24 am

The key words of DNS setup

allow-remote-requests=yes

If it was not set

may by appear such problem as yours

Who is online

Users browsing this forum: hpeters, yhfung and 17 guests