LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
 
Search this Thread
Old 12-01-2004, 02:32 PM   #1
LKWPeter
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
trying to setup dns zones - bind 9.2.4


Hi,
Im currently trying to setup zones for my local domain with bind 9.2.4 on Debian Sarge.
I setup zone files and edited named.conf.local, then restarted named, but I cannot lookup my hosts.

Code:
BruteForce $ nslookup Nihilanth
Server:         192.168.6.1
Address:        192.168.6.1#53

** server can't find Nihilanth: NXDOMAIN
For servers outside my network, domain lookup works well.

This is my named.conf.local (included by named.conf) :
Code:
zone "mydomain.ath.cx" {
        type master;
        file "db.mydomain.ath.cx";
};

zone "6.168.192.in-addr.arpa" {
        type master;
        file "db.192.168.6";
};
The forward zone file:
Code:
$TTL    604800
@ IN    SOA     Gateway.mydomain.ath.cx. root.mydomain.ath.cx. (
                              1         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      Gateway.mydomain.ath.cx.
Gateway IN A 192.168.6.1
Nihilanth IN A 192.168.6.2
BruteForce IN A 192.168.6.3
and my reverse zone file:
Code:
$TTL    604800
6.168.192.in-addr.arpa.       IN      SOA Gateway.mydomain.ath.cx. root.mydomain.ath.cx. (
                              1         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      Gateway
1 IN PTR Gateway
2 IN PTR Nihilanth
3 IN PTR BruteForce
Please note, that I replaced my domainname with "mydomain".
named-checkconf and named-checkzone do not report any errors.
I would really appreciate any help.

Last edited by LKWPeter; 12-01-2004 at 04:17 PM.
 
Old 12-01-2004, 03:05 PM   #2
LKWPeter
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Original Poster
Rep: Reputation: 0
As always, one finds the solution right after posting the problem on the net.
The zone files were not found, because I did not specify an absolute path for them...
I have been working on this half the day, working through different tutorials and beginning from scratch multiple times.
 
  


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
Tranferring Zones, Master to Slave, DNS - BIND newpylong Linux - Networking 0 09-02-2004 08:01 AM
DNS-BIND setup nueunix Linux - Networking 1 05-12-2004 05:27 PM
BIND DNS Setup on new server brooky Linux - General 0 04-03-2004 09:54 AM
Problems with BIND operating with Windows XP with dns zones for eth0 aliases Cyclo Linux - Networking 2 01-16-2004 01:20 AM
need help to setup dns server with bind 9.1.0 joseph Linux - General 7 09-01-2003 01:11 AM


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