LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-17-2004, 03:37 AM   #1
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
Possible DNS problem?


Not sure what has caused this error on my home linux server but you may have an idea...

I'm running RH 9 with the standard software version for this distro.

I hit some keys on the keyboard while i was moving some stuff over the weekend and managed to lockup the server. I had no choice but to do a manual power off and on again. Linux fixed the file system and continued to boot as normal but failed to start apache. Now i hadnt touced a thing and the knocking of the keys hadnt done something i dont think.

I tried to manually start the service and it still failed etc. i looked in /var/log/httpd/error_log and notcied it couldnt find the IPv4 name for custard and something about a unique id module. After looking about on the net i disabled that module in /etc/httpd/conf/httpd.conf and the service started OK and everything is fine once again.

But if i go to the command prompt and type just 'host custard' i get a 3(NXDOMAIN) error? I never used to... but if i type the fqdn it works fine as normal. I think something has been currupted in bind? but i havent touched a file for ages.

you might have an idea.

Thanks

Graeme.

Last edited by GraemeK; 05-17-2004 at 04:24 AM.
 
Old 05-17-2004, 04:30 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Your /etc/resolv.conf is perhaps missing the

search

parameter.
 
Old 05-17-2004, 04:38 AM   #3
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Original Poster
Rep: Reputation: 30
i havent got a 'search' entry in there i dont think. never have before and it worked fine?

what does the search entry do?

Something i should mention is that i just installed a Watchguard Firebox II on the network and maybe the restart cause linux to request some new external info which is now getting blocked? not sure but my FW rules are fine. I'm not blocking anything i can see from this machine. I'm running my own BIND setup.

I cant see how this would be a firewall problem as the server would be doing a lookup against itself...

Last edited by GraemeK; 05-17-2004 at 04:50 AM.
 
Old 05-17-2004, 07:52 AM   #4
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Original Poster
Rep: Reputation: 30
well i decided to look in my resolv.conf and i only had one line stating my nameserver... So i added a line to say domain cream-cake.com and it worked...

i also noticed that the machine wasnt remembering the domain name? so once i set that again it now knows it fqdn etc etc...

why i've had to add this line to the resolv when it worked before i'm not sure??

i re enabled the apache module and apache started up fine so it was def a bind type issue.

G
 
  


Reply



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
DNS problem. Please help! auroratrading Linux - Networking 1 04-05-2005 02:14 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM
Possible DNS problem? JimBass Linux - Newbie 8 10-03-2003 10:23 PM
DNS problem with RH 8.0 datamisc Linux - Newbie 2 12-20-2002 12:37 PM
DNS problem Cubiq Linux - Networking 12 09-06-2002 03:42 AM

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

All times are GMT -5. The time now is 04:48 PM.

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