LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 04-10-2005, 10:15 PM   #1
hwa
LQ Newbie
 
Registered: Sep 2004
Location: OHIO
Distribution: Fedora Core 3
Posts: 7

Rep: Reputation: 0
problems setting up bind9


i've been working on this for hours trying everything i could think of. i tried numerous examples off of google, and nothing has worked. hopefully someone here can help. as a note, i just want this to work, so these files are stripped down.

here is my etc/named.conf

Code:
options {
        directory "/var/cache/bind";

        auth-nxdomain no;

};

zone "." {
        type hint;
        file "/etc/bind/db.root";
};

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "rsmith.org" {
        type master;
        file "/etc/bind/db.rsmith.org";
        };

zone "27.168.192.in-addr.arpa"{
        type master;
        file "etc/bind/db.27.168.192";
        };
here is my /etc/bind/db.rsmith.org

Code:
$TTL 3600

rsmith.org.      IN      SOA    ns.rsmith.org.  rsmith.rsmith.org.(
        00100; Serial
        21600; refresh 
        3600; Retry
        604800; Expire
        3600 ); minimum 

        IN      NS      ns.rsmith.org.
        IN      NS      ns2.rsmith.org.
        IN      A       192.168.27.2
here is my /etc/bind/db.27.168.192

Code:
$TTL 3600 

27.168.192.in-addr.arpa. IN SOA ns.rsmith.org. rsmith.rsmith.org. (

        00010   ; Serial
        21600   ; Refresh
        3600    ; Retry
        604800  ; Expire
        3600)   ; Negative TTL

27.168.192.in-addr.arpa.        IN NS ns.rsmith.org.
27.168.192.in-addr.arpa.        IN NS ns2.rsmith.org.
2                                          IN PTR rsmith.org.
this all exists under a uml environment -- debian.
the name servers there are the ones i have to use.
the ip address is the one i have to use.
rsmith.org is what i'm supposed to use.

when i run nslookup on rsmith.org, i get the ip the server holding some webpage rsmith.org

when i run nslookup on the ip 192.168.27.2, i'm given:
** server can't find 2.27.168.192.in-addr.arpa: NXDOMAIN


does anybody have any clue as to what i messed up?
 
Old 04-10-2005, 10:17 PM   #2
hwa
LQ Newbie
 
Registered: Sep 2004
Location: OHIO
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
and i'm really hoping that it's not because of the actual website rsmith.org, and everything i've done is fine...
 
Old 04-10-2005, 10:47 PM   #3
hwa
LQ Newbie
 
Registered: Sep 2004
Location: OHIO
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
do i need to set a zone for ns.rsmith.org since the ip is external rather than mine?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 help!! Fredstar Linux - Newbie 10 08-30-2005 09:47 PM
BIND9/Postfix Problems icarusfall Linux - Software 4 08-23-2005 09:31 AM
Newbie: Setting up Bind9 csm0004 Linux - Networking 1 05-11-2004 12:22 AM
Bind9 tandre Linux - Software 1 04-08-2003 09:29 AM
bind9 unixkid Linux - Networking 3 08-30-2002 02:43 AM


All times are GMT -5. The time now is 01:18 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration