LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-09-2005, 10:09 AM   #1
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
Bind - Why won't my "LAN only" domain work?


Hi all,

I want to setup a domain for use on my lan only (I called it abc, because it's short). I've made the following changes to my config files and restarted named, but the new domain just seems to be ignored! I'm using CentOS 3.4, without the redhat gui configuration tool.

/etc/named.conf :

zone "abc" {
type master;
file "zone.abc";
};

zone "32.100.10.in-addr.arpa" {
type master;
file "revp.10.100.32";
};

/var/named/zone.abc:

$TTL 10800

@ IN SOA triton hostmaster.mydomain.com. (
20050508; serial
7200; refresh
7200; retry
1814400; expire
10800; ttl
)

NS triton

/var/named/revp.10.100.32:

$TTL 10800

@ IN SOA triton.abc. hostmaster.mydomain.com. (
20050508; serial
7200; refresh
7200; retry
1814400; expire
10800; ttl
)

NS triton.abc.

1 PTR triton.abc.

Can anyone tell me what I did wrong, or what else I need to do? I can look up other domains on this server, using the caching facility, so it does seem to be a working installation...

Last edited by jimieee; 05-09-2005 at 10:54 AM.
 
Old 05-09-2005, 01:07 PM   #2
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Original Poster
Rep: Reputation: 15
Fixed it.

This is how my files read now:

zone.abc:

$ORIGIN abc.
$TTL 10800

@ IN SOA triton.abc. me@mydomain.com. (
20050508; serial
7200; refresh
7200; retry
1814400; expire
10800; ttl
)

IN NS triton

triton IN A 10.100.32.133

siara IN A 10.100.32.131

revp.10.100.32:

$ORIGIN 32.100.10.in-addr.arpa.
$TTL 10800

@ IN SOA triton.abc. me@mydomain.com. (
20050508; serial
7200; refresh
7200; retry
1814400; expire
10800; ttl
)

NS triton.abc.

1 PTR triton.abc.
2 PTR siara.abc.

and my additions to named.conf:

zone "abc" {
type master;
file "zone.abc";
allow-query { any; };
allow-update { localhost; };
};

zone "32.100.10.in-addr.arpa" {
type master;
file "revp.10.100.32";
allow-query { any; };
allow-update { localhost; };
};

Cool, now the computers on my lan are nice and easy to get to
 
  


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
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 07:20 AM
Configuring BIND to work with a domain name Immolo Linux - Networking 4 04-20-2005 07:32 AM
DNS/BIND domain 'authority' tisource Linux - Software 7 07-15-2004 07:16 AM
Setting up a domain host with bind. fur Linux - Networking 2 04-08-2004 08:45 PM
Adding a 2nd domain to Bind 9.2.2 on Linux bkesting Linux - Networking 3 04-05-2004 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:41 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
Open Source Consulting | Domain Registration