Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-27-2009, 04:57 AM   #1
Registered: Dec 2009
Posts: 154

Rep: Reputation: 19
DNS error

Hi All

I am new to Linuix an am trying to get a machine up and running to show my boss its good and may be he will pay for some training.

I am getting a dns error when doing ns lookup

** server can't find SERVFAIL (mydomain used instead of my own in the error)

I am following this document

I am in a nat nework and have setup hosts with my internal nat address and setup the correct forwarders as per the document exactly. I can ping outside domains and can ping and get a correct responce back.

Can anyone help me out here?

Thanks Glenn
Old 12-27-2009, 08:20 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032

It looks like an error with the zone file. Take a look at /var/log/messages (or whatever file bind logs are written) to see if you find the error.
If you have followed the howto to the letter, post the output of:
named-checkzone -d /etc/bind/
and the zone file (/etc/bind/

Old 12-27-2009, 08:24 AM   #3
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
DNS is one of few things where substituting fake domain names for real ones makes it more difficult to diagnose problems. One reason is that we may need to compare the results you get with the results we get using exactlt the same domain. DNS problems often exist entirely outside of what you may be doing. Please do not substitute any domain names in any data or messages.

There are TWO different roles a DNS server can perform. I need to know which role(s) you are attempting to do. One role called "authoritative" is where your server(s) provide DNS information about your domain(s) to the rest of the world. The other role is called "caching" or "resolving" and provide a means for your access to the internet to get DNS information about other domains. Knowing which you are trying to do provides an important perspective. The BIND name server can do both, and is typically configured to do both.

Please post the configuration files exactly as you have set them up right now. The files of interest are "/etc/bind/named.conf" plus each file listed in that file on the lines that begin with "include". Without seeing the config files and the real domain names, the only help I can give at this point is to tell you that your error message means that a domain name is not configured in whatever server the query was directed to.
Old 12-27-2009, 10:21 PM   #4
Registered: Sep 2009
Posts: 196

Rep: Reputation: 38

Last edited by Smartpatrol; 03-11-2010 at 09:54 PM.
Old 12-28-2009, 04:07 AM   #5
Registered: Dec 2009
Posts: 154

Original Poster
Rep: Reputation: 19
Thanks all for the advise. I managed to out a : instead of a ; in my db zone file

Many thanks



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
Anyone seen this DNS error before? Benso37 Linux - Newbie 5 10-08-2009 08:20 PM
Claws email DNS error 451 Could not identify sender- DNS error 10060 sunny51 Linux - Newbie 2 08-13-2009 08:40 PM
dns error rohit_67066 Linux - Networking 2 03-02-2008 07:25 AM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration