LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-07-2003, 08:52 PM   #1
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
DNS problems - NXDOMAIN


Hello all,

I'm having trouble with DNS on a Slackware 9 system. The machine is set up as a DHCP client, talking to a FreeBSD DNS/DHCP server. The SW9 box has no problems getting an IP lease, but the DNS is failing. When I try "nslookup sylvester" I get a "server can't find sylvester: NXDOMAIN" response. I tried host and DIG to get more information but they didn't help much. I know NXDOMAIN means a non-existent domain, but I don't know how that can be. The resolv.conf has the right nameserver and search domain.

The dhclient.conf on the host is:

interface "eth0"
{
send host-name "sylvester";
}

The other FreeBSD machines are fine with the same dhclient.conf and happily look up the other BSD and Windows boxes on the network. It seems to me that I'm not sending the right hostname to the DNS box.

Anyone got any suggestions?

Thanks in advance,

Damien
 
Old 09-11-2003, 06:36 AM   #2
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Im not that familiar with Slack, but in RH (and i assume there's a similar file in slack) there's a file called ifcfg-eth0 in the /etc/sysconfig/network-scripts directory.
If you put an entry in there with DHCP_HOSTNAME="yourhostname" it should work. (At least, that did the trick for me...)
 
Old 09-11-2003, 11:08 PM   #3
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Original Poster
Rep: Reputation: 15
Talking

Ha ha ha ho ho ho am I STOOOOOPID or what? The corresponding file is rc.inet1 in the /etc/rc.d directory for Slackware. I tried using the entry for DHCP_HOSTNAME, except that I did something wrong. I could save face here by just saying "thanks, that worked", but I think everyone needs a good laugh now and then. I didn't put the hostname in, did I? I had the #$%^&@! SERVER name in there. Sigh. Now that I've changed it to the hostname, everything works.

Yeeeesh, if I was any dumber, I'd think that a proprietary OS with the GUI welded to the kernel was a really good idea....

Thanks Satch.

Damien
 
  


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
what does it mean auth-nxdomain yes; at named.conf by BIND 9 cccc Linux - Networking 1 11-21-2011 11:02 PM
DNS Problems imemyself Linux - Networking 11 05-31-2005 08:43 PM
Nxdomain jayakrishnan Linux - General 2 05-16-2002 04:26 AM
Dns Problems. SpookMonkey Linux - Networking 0 05-09-2002 11:11 AM
DNS Problems goochable Linux - Networking 3 05-06-2001 11:40 PM

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

All times are GMT -5. The time now is 04:05 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