LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2014, 12:48 PM   #16
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10

Are these boxes using DHCP for their IP configs?
 
Old 06-06-2014, 01:04 PM   #17
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Quote:
Originally Posted by MikeDeltaBrown View Post
Are these boxes using DHCP for their IP configs?
^^ THis feeds into my comment about PEERDNS in the last post ^^
 
Old 06-06-2014, 01:17 PM   #18
MarcLaf
LQ Newbie
 
Registered: Oct 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MikeDeltaBrown View Post
Since it happens at the same time you might want to check cron jobs: `crontab -l`
Checked it already. The only thing the jobs do are copy log files from one location to another.
 
Old 06-06-2014, 01:21 PM   #19
MarcLaf
LQ Newbie
 
Registered: Oct 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GaWdLy View Post
What version of Red Hat?
What is in /etc/resolv.conf (IOW, are the contents changing, or static?)?
Also, are you performing a 'service network restart' or using stop/start? Has this persisted after a reboot?

You may need to add 'PEERDNS=no' to your ifcfg files for it to stop picking up on random DNS servers-depending on your version of RH.
RHEL 4 U2

resolv.conf contains the new name servers (previously had the old one).

I've been performing restart, not stop/start. Haven't rebooted the machine.

PEERDNS is set to yes. I looked at this part of the cfg a while ago.. didn't quite understand what it did but decided to leave it because we're not using DHCP on this box.
 
Old 06-06-2014, 01:28 PM   #20
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Quote:
Originally Posted by MarcLaf View Post
RHEL 4 U2

resolv.conf contains the new name servers (previously had the old one).

I've been performing restart, not stop/start. Haven't rebooted the machine.

PEERDNS is set to yes. I looked at this part of the cfg a while ago.. didn't quite understand what it did but decided to leave it because we're not using DHCP on this box.
PEERDNS=yes may be part of the issue. I believe it is a valid config option for non-DHCP applications, and it will change your DNS servers:

Code:
PEERDNS=<answer>
where <answer> is one of the following:

yes — Modify /etc/resolv.conf if the DNS directive is set. If using DHCP, then yes is the default.

no — Do not modify /etc/resolv.conf.
So remove the DNS1 or DNS2 entries for your IF, and set PEERDNS to 'no'. Then manually set your DNS servers in resolv.conf.

I'd suggest at the very least, a hard stop/start cycle on the service at the very least, but a reboot is likely preferable to that.
 
Old 06-06-2014, 01:32 PM   #21
MarcLaf
LQ Newbie
 
Registered: Oct 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks GaWdLy. I'll try with =No tonight (err over the weekend) as I'd like to avoid a reboot if possible. If it's still doing it I'll talk to the guy and see if we can schedule one.
 
Old 06-06-2014, 01:33 PM   #22
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Check this out, too: https://lists.fedoraproject.org/pipe...st/403171.html
 
  


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
grub config changed ubuntu abhijitbanke Linux - Desktop 8 03-07-2011 01:45 AM
Changed IP on Red Hat box and can't reconnect birkelbk Linux - Networking 20 08-04-2007 11:01 PM
changed ip for DNS server uji_amira Linux - Networking 3 06-08-2006 06:14 AM
I changed the config. of my mouse and now it won't work slimfadey Linux - Newbie 2 05-31-2005 04:55 PM
sendmail problems after i changed the name of my linux box motyl Linux - Networking 4 05-25-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration