Community discussions

MikroTik App
 
Inssomniak
Member
Member
Topic Author
Posts: 332
Joined: Fri Apr 13, 2007 11:21 pm

DNS servers wont save across reboots/change back to old ones

Sat Aug 07, 2010 7:34 pm

Anyone have problems with the DNS server setting staying set correctly?

Mine will spontaneously revert back to old DNS servers and wont save new servers across reboots!

This with both 4.6 and after upgrading to 4.11 the same thing?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: DNS servers wont save across reboots/change back to old

Sat Aug 07, 2010 8:17 pm

dhcp client iss overriding them?
 
russk
just joined
Posts: 8
Joined: Tue Mar 09, 2010 3:24 am
Location: Houston, TX

Re: DNS servers wont save across reboots/change back to old

Sat Aug 07, 2010 8:21 pm

Does your Mikrotik get its IP address via DHCP? In the IP->DHCP Client section, do you have an entry there? If so, check to see if you have "Use Peer DNS" set there. If so, any added DNS servers from IP->DNS will be overwritten by the ones passed out via DHCP. You will want to uncheck "Use Peer DNS" on that DHCP client entry so that you can specify your own DNS servers.

http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Client


Russell Kaiser
 
Inssomniak
Member
Member
Topic Author
Posts: 332
Joined: Fri Apr 13, 2007 11:21 pm

Re: DNS servers wont save across reboots/change back to old

Sun Aug 08, 2010 12:29 am

This is my core router, it has 400 users, and the DHCP package isnt even installed. Ive never used DHCP on this router.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: DNS servers wont save across reboots/change back to old

Sun Aug 08, 2010 12:45 am

I would check there anyway. Obviously something is changing them, and that is the most likely source.
/ip dhcp-client
Insure there is no entry.

The dhcp package is installed on my routers by default. I didn't need to install anything extra.

ADD: The router you are using wouldn't be a RB750 series, would it? They come standard with dhcp client set up on port1 (WAN port).
 
Inssomniak
Member
Member
Topic Author
Posts: 332
Joined: Fri Apr 13, 2007 11:21 pm

Re: DNS servers wont save across reboots/change back to old

Sun Aug 08, 2010 1:20 am

Ok I feel a little stupid but you guys did give me the idea of checking a pppoe client, which had been set up for 2 years now, and had "use peer DNS" enabled. It never mattered until a recent config change, although it should have never been set 2 years ago either.
This is on a dual core xeon x86 hardware.

Anyways there isnt even a place to go to /ip dhcp-client when you dont have the package installed at all, Ive never had it installed.

Thanks though!