LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2003, 06:57 AM   #1
dunkyb
Member
 
Registered: Nov 2002
Distribution: Debian testing.
Posts: 143

Rep: Reputation: 15
Post nslookups with BIND


Hi

I have set up a BIND 9 caching only dns server on my linux box.

However, when i do an 'nslookup' on a windows XP machine on the LAN, i get the following:

*** Can't find server name for address 192.168.0.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.1

Non-authoritative answer:
Name: www.google.com
Address: 216.239.39.99

It goes through the second time, and is nice and fast.

Does anyone know why it fails the first time? Would it be to do with having to set up another zone for 192.168.0.1 or something?

Cheers for any help

Duncan
 
Old 05-19-2003, 07:00 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Sounds to me like your box is trying to change 192.168.0.1 back into a name, which is failing. Updating you hosts file should solve this one for you. Assuming they haven't moved it in XP take a look in system32\drivers\etc under your Windows directory.

cheers

Jamie...
 
Old 05-19-2003, 07:56 AM   #3
dunkyb
Member
 
Registered: Nov 2002
Distribution: Debian testing.
Posts: 143

Original Poster
Rep: Reputation: 15
I added an entry for the linux box in the windows hosts file,

192.168.0.1 plasma.lan plasma

yet, i still get the same on nslookups...

i think it is something to do with the BIND config on the linux box? Can you make BIND serve aliases from /etc/hosts? ...
 
Old 05-19-2003, 08:10 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
You did rename the file to just "hosts" not "hosts.sam" yeah?

You can't make bind use /etc/hosts. You'll need to reconfigure it to be a full-blown name server, not just a caching server, and give it the details of your IP addresses in proper zone files. Have a look at the HOWTO on http://www.tldp.org

cheers

Jamie...
 
  


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
Bind 8 and Bind 9 sierra Linux - Networking 2 03-16-2005 11:15 AM
Bind sigep739 Red Hat 1 12-22-2003 09:25 AM
How do I revert to Bind 8 from Bind 9? digging4roots Linux - Newbie 3 06-08-2002 04:40 PM
To 'Bind' or not to 'Bind' that is the question jsurgeson Linux - Newbie 2 03-24-2002 03:10 AM
Bind c0c0deuz Linux - Networking 0 12-13-2001 05:33 AM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration