LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 10-28-2006, 06:12 AM   #1
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Rep: Reputation: 30
How do I keep my DNS server settings set?


Hi,

I have set up my DNS Server settings to use my IP provider's and when I do - the net is fast. But after awhile it resets to 192.168.1.254.

I checked my resolv.conf and see its correct when it works.

[hamster@localhost win_e]$ cat /etc/resolv.conf
nameserver 213.94.190.194
nameserver 213.94.190.236
# nameserver 192.168.1.254

But later it is set back to 192.168.1.254 ? Anyone come across this? This is a strange one. I'm running Mandriva 2007 free with standard install of package under KDE 3.5.
 
Old 10-28-2006, 06:21 AM   #2
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Ah ha - Now after a few minutes the files has automatically been updated with... removing my dns primary and secondary ips.

[hamster@localhost sysconfig]$ cat /etc/resolv.conf

nameserver 192.168.1.254
 
Old 10-28-2006, 08:01 AM   #3
hamster
Member
 
Registered: Apr 2003
Location: Waterford, Ireland
Distribution: Mandrivia 2006.1, Ubuntu 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Well... I resolved it by giving myself a static ip address.
 
Old 10-28-2006, 07:57 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
I found that putting in

search localhost 127.0.0.1

at the end of everything allowed DHCP to function when connected to the net
and allowed everything else to function when not connected to the gateway/network. (like logging and stuff)

(And a blank line to signify the end of the list at the end.)

But that was some time ago, (yp)bind and dhcpd were installed too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set up a DNS server on solaris 10? xpucto Solaris / OpenSolaris 5 08-21-2006 02:55 AM
How to set DNS Settings VorlonShadow Linux - Networking 1 11-16-2004 12:59 PM
Hostname not set with DNS server bcrisler Linux - Networking 3 03-18-2004 02:38 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM
How to set a static IP and DNS server phil1076 Linux - Networking 1 08-19-2003 06:20 PM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration