Hello, I’m new to the forum, intermediate with Linux.
We have set up a DNS on SuSe 11.1 to provide rDNS services. We have a subclass-c address space and we’re told by our ISP (AT&T) that for delegation to pass from them to us we must configure the DNS server as a Class-Less server per RFC-2317.
AT&T said the following:
You have set up the IP block wrong. It is currently set up as:
> set type=any
> cc.bb.aa.in-addr.arpa.
Server: aa.bb.cc.231
Address: aa.bb.cc.231#53
cc.bb.aa.in-addr.arpa
origin = ns1.ourdomain.com
mail addr = root.ns1.ourdomain.com
serial = 2009061500
refresh = 3600
retry = 600
expire = 604800
minimum = 86400
cc.bb.aa.in-addr.arpa nameserver = 231.cc.bb.aa.in-addr.arpa.
>
Because you were not assigned the full c-class, it needs to be
224/28.cc.bb.aa.in-addr.arpa.
origin = ns1.ourdomain.com
mail addr = root.ns1.ourdomain.com
serial = 2009061500
refresh = 3600
retry = 600
expire = 604800
minimum = 86400
224/28.cc.bb.aa.in-addr.arpa. nameserver = 231.cc.bb.aa.in-addr.arpa.
Here is where our problems begin, the “/” (slash) is not an allowable character on the Yast autoconfigurator. So I edited the file /var/lib/named/master/224-28.cc.bb.aa.in-addr.arpa to contain the “/” character and the server stops responding to rdns requests.
Question: How can we implement the Sub-Class-C network in the named zone file for it to work? What character should we use in liew of “/”.
Thanks for your help.
Our zone file before the “/”
$TTL 1h
@ IN SOA ns1.ourdomain.com root.ns1.ourdomain.com.(
2009061501 ; serial
1h ; refresh
10m ; retry
1w ; expiry
1d ) ; minimum
IN NS 231.cc.bb.aa.in-addr.arpa.
238.cc.bb.aa.in-addr.arpa. IN PTR mx.ourdomain.com.
231.cc.bb.aa.in-addr.arpa. IN PTR ns1.ourdomain.com.
229.cc.bb.aa.in-addr.arpa. IN PTR www.ourdomain.com.
Our zone file with the “/” we used “-” dash instead.
$TTL 1h
$ORIGIN .
224-28.cc.bb.aa.in-addr.arpa IN SOA ns1.ourdomain.com root.ns1.ourdomain.com.(
2009061501 ; serial
1h ; refresh
10m ; retry
1w ; expiry
1d ) ; minimum
224-28.cc.bb.aa.in-addr.arpa. IN NS 231.cc.bb.aa.in-addr.arpa.
238.cc.bb.aa.in-addr.arpa. IN PTR mx.ourdomain.com.
231.cc.bb.aa.in-addr.arpa. IN PTR ns1.ourdomain.com.
229.cc.bb.aa.in-addr.arpa. IN PTR www.ourdomain.com.
231.cc.bb.aa.in-addr.arpa.224-28.cc.bb.aa.in-addr.arpa. IN NS 224-28.cc.bb.aa.in-addr.arpa.
Hope this helps show the confusion.
This is the recommended config from our ISP (AT&T)
/27.2.1.12.in-addr.arpa. 3600 SOA dns2.anydomain.com. administrator.anydomain.com.
1999091702 ; serial
3600 ; refresh (1 hour)
600 ; retry (10 mins)
expire = 600000 (6 days 22 hours 40 mins)
86400 ) ; minimum (1 day)
0/27.2.1.12.in-addr.arpa. 3600 NS dns2.anydomain.com.
0/27.2.1.12.in-addr.arpa. 3600 NS cbru.br.ns.els-gms.att.net.
0/27.2.1.12.in-addr.arpa. 3600 NS dbru.br.ns.els-gms.att.net.
1 3600 PTR gw.anydomain.com.
10 3600 PTR hidden4.anydomain.com.
11 3600 PTR hidden5.anydomain.com.
12 3600 PTR hidden6.anydomain.com.
13 3600 PTR www.anydomain.com.