LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-26-2005, 05:14 AM   #1
icedude
Member
 
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 "example.com" {
type master;
file "example.zone";
allow-query { any; };
};

zone "1.6.192.in-appr.arpa" {
type master;
notify no;
file "192-6-1.zone";
allow-update { none; };
};

My example.zone file in /var/named:
$TTL 8H
@ IN SOA server1.example.com. webmaster.example.com. (
2003070300 ; serial
8H ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum
;
NS server1.example.net.

My 192-6-1.zone file in /var/named:
$TTL 2D
@ IN SOA server1.example.com. webmaster.example.com. (
2003070300 ; serial
1D ; refresh
2H ; retry
1W ; expire
2D ) ; minimum
;
NS server1.example.com.


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

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

>

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, 11:38 AM   #2
Technoslave
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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