LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2009, 01:32 PM   #1
Neetu
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Linux DNS server installation problem


Hello Friends,

I am new to linux world and setting a DNS server at my home pc

I have done the setting in named.conf, and created the zone files etc

while doing the nslookup for the domain I have following error
+++++++++++++++++++++
Got SERVFAIL reply from "IP ADDRESS" trying next server
+++++++++++++++++++++

Please help me out fro this issue

Neetu
 
Old 04-14-2009, 02:16 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Did you verify there where no errors in your named.conf file ? used named-checkconf to test


nslookup is pretty useless imho, theres a much better tool called dig that you should use for lookups and testing.

dig @<dns_server_ip> <name.to.lookup>

Code:
it-lenny:~$ dig @192.168.0.24 www.google.com

; <<>> DiG 9.5.1-P1 <<>> @192.168.0.24 www.google.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25012
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.			IN	A

;; ANSWER SECTION:
www.google.com.		20607	IN	CNAME	www.l.google.com.
www.l.google.com.	127	IN	A	72.14.205.99
www.l.google.com.	127	IN	A	72.14.205.147
www.l.google.com.	127	IN	A	72.14.205.103
www.l.google.com.	127	IN	A	72.14.205.104

;; Query time: 12 msec
;; SERVER: 192.168.0.24#53(192.168.0.24)
;; WHEN: Tue Apr 14 15:07:52 2009
;; MSG SIZE  rcvd: 116


Where there any errors in the log file when you started BIND ? ( BIND logs to /var/log/messages by default)



OH, and welcome to Linuxquestions.org

.
 
  


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
Installation of DNS server akhtar.bhat Linux - Server 2 01-28-2008 04:36 AM
DNS server software installation DanielTan Linux - Software 4 10-02-2005 09:06 AM
DNS Server problem in Fedora Linux linux_rookee Linux - Networking 2 11-14-2004 11:29 PM
Linux Installation Options: DNS Server gregoryfrancis Linux - Newbie 4 04-01-2003 07:52 AM


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