LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   BIND 9 and in-addr.arpa subdomains (https://www.linuxquestions.org/questions/linux-enterprise-47/bind-9-and-in-addr-arpa-subdomains-343390/)

carsten.engel 07-15-2005 05:14 AM

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


Noth 07-18-2005 01:37 AM

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.

carsten.engel 07-18-2005 01:43 AM

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?

Noth 07-18-2005 09:52 AM

I believe you just need to setup the delegated zone as a stub zone in named.conf

carsten.engel 07-18-2005 02:25 PM

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.

Noth 07-18-2005 02:47 PM

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

carsten.engel 07-18-2005 03:21 PM

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.


All times are GMT -5. The time now is 10:13 AM.