Community discussions

MikroTik App
 
ctech4285
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sat Aug 15, 2009 8:49 pm

ip/dns primary-dns keeps changing

Tue Sep 22, 2009 10:21 pm

i got a dhcp-client that gets a dns from the gateway, but i want to use open dns insted.
so i set ip dns set primary-dns=208.67.222.222

but every so often it set back to 192.168.1.254 the gateways dns, proably restarts of the router do to powerfailur or dhcp client updates

is there a way to prevent that form happening other then disableing the dhcp-client?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: ip/dns primary-dns keeps changing

Tue Sep 22, 2009 10:29 pm

Is 'use-peer-dns' set to 'no' for that client?
 
ctech4285
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sat Aug 15, 2009 8:49 pm

Re: ip/dns primary-dns keeps changing

Tue Sep 22, 2009 10:59 pm

sweet looks like that did the trick, thank you