Visit Jeremy's Blog.
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 04-26-2005, 04:14 AM   #1
Registered: Nov 2004
Location: South Africa
Posts: 43

Rep: Reputation: 15
Question DNS Server

Hi. I'm trying to create an internal DNS server for my network. But i've got a few bugs. This is my named.conf:
zone "" {
type master;
file "";
allow-query { any; };

zone "" {
type master;
notify no;
file "";
allow-update { none; };

My file in /var/named:
@ IN SOA (
2003070300 ; serial
8H ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum

My file in /var/named:
@ IN SOA (
2003070300 ; serial
1D ; refresh
2H ; retry
1W ; expire
2D ) ; minimum

When i do a host command, it comes up with a error:
can't find Server failed

Even when you do a nslookup from a windows box it gives me an error:
*** Can't find server name for address No response from server
*** Default servers are not available
Default Server: UnKnown


I can't seem to get my DNS server to work. Could any one please tell me what am I doing wrong. Please Help?
Old 04-27-2005, 10:38 AM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
If that is your entire named.conf, those few lines, then I would start there. I don't know if bind auto defaults to looking for files in /var/named or not.


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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM > Forums > Linux Forums > Linux - Newbie

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