LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-15-2005, 05:14 AM   #1
carsten.engel
LQ Newbie
 
Registered: Jul 2005
Location: Stuttgart - Germany
Distribution: Suse Linux
Posts: 5

Rep: Reputation: 0
Question BIND 9 and in-addr.arpa subdomains


I try to do subdomains for my 17.172.in-addr.arpa zone.

I tried to put in my config file the following lines:
Code:
$ORIGIN .
$TTL 172800     ; 2 days
17.172.in-addr.arpa     IN SOA  lnx2.bar.foo.intern. emil.lnx2.bar.foo.intern. (
                                2005071502 ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      lnx1.bar.foo.intern.
                        NS      lnx2.bar.foo.intern.

$GENERATE 024-027 $17.172.in-addr.arpa. 86400 IN NS lnx3.goog.bar.foo.intern.
I received the following error in the syslog...
Code:
Jul 15 11:58:30 lnx2 named[4802]: $GENERATE: master/17.172:12: unknown RR type '86400'
Jul 15 11:58:30 lnx2 named[4802]: zone 17.172.in-addr.arpa/IN: loading master file master/17.172: unknown class/type
 
Old 07-18-2005, 01:37 AM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
I'm not 100% up on what all of the variables do in bind zone files, but for a PTR record in the reverse zone all you should need is:

1 PTR full.hostname.tld.

And for the NS record:

NS full.hostname.tld.
 
Old 07-18-2005, 01:43 AM   #3
carsten.engel
LQ Newbie
 
Registered: Jul 2005
Location: Stuttgart - Germany
Distribution: Suse Linux
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Noth,
If I have to delegate a whole subdomain to another Nameserver. Forward and Reverse, whats the best way to do that?

If I do like you said, I would only hint the forward zone to another nameserver. Am I wrong with these Idea?

Last edited by carsten.engel; 07-18-2005 at 01:47 AM.
 
Old 07-18-2005, 09:52 AM   #4
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
I believe you just need to setup the delegated zone as a stub zone in named.conf
 
Old 07-18-2005, 02:25 PM   #5
carsten.engel
LQ Newbie
 
Registered: Jul 2005
Location: Stuttgart - Germany
Distribution: Suse Linux
Posts: 5

Original Poster
Rep: Reputation: 0
Your sure?

Quote:
Originally posted by Noth
I believe you just need to setup the delegated zone as a stub zone in named.conf
Is there not a big difference between a stub zone and a delegation.

Stubzones only hint to other nameservers, delegation is a complete subdelegation of a subdomain.

I`m not sure, that a stub zone will help me in this case.
 
Old 07-18-2005, 02:47 PM   #6
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Honestly, I'm not sure since I've never had to deal with delegation. Check out the following URL and see if it helps at all.

http://www.hn.edu.cn/book/NetWork/Ne...ns/ch09_06.htm
 
Old 07-18-2005, 03:21 PM   #7
carsten.engel
LQ Newbie
 
Registered: Jul 2005
Location: Stuttgart - Germany
Distribution: Suse Linux
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the link. But this doesn´t help either. I have to delegate a in-addr.arpa zone of a B-Class Network.

So far, I have the impression, that there´s nobody who deals with delegated Zones with Bind.

But again thanks for your help.

Until I have another solution, I try your hint with the stub zones.

Probably anyone else has an idea, why my delegation wouldn´t work.
 
  


Reply



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
in-addr-arpa HELP!! james.farrow Linux - Networking 8 10-10-2008 02:47 AM
BIND/DNS: Some subdomains resolve, some don't natetheros Linux - Networking 0 04-22-2005 06:36 PM
Subdomains, Router, BIND? kevinmarsh Linux - Networking 5 06-24-2004 04:11 PM
How to bind 2 ip addr in 1 lan card kelper Linux - Networking 1 08-21-2003 11:47 PM
Bind and subdomains jnsc Linux - Software 2 03-01-2003 08:43 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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