Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PTR zone /28 not working

19 views
Skip to first unread message

joans4nz

unread,
Nov 4, 2009, 9:24:32 PM11/4/09
to bind-...@lists.isc.org
Hi,

I use Bind-9.4.2 running on FreeBSD-7.2.

Last week my DNS was reconfigured to a new IP address pool by my ISP and by me from a /29 to /28 address range.

Using "How is my DNS" I check my domain and all is good except reverse lookup. My ISP also reconfigured the PTR zone and delegate the reverse zone like RFC-2317 and this is the change executed by my ISP.

224/28   IN   NS   ns1.mydomain.com
224/28   IN   NS   ns2.mydomain.com
225        IN   CNAME   225.224/28.CCC.BBB.AAA.in-addr.arpa.
226        IN   CNAME   226.224/28.CCC.BBB.AAA.in-addr.arpa.
227        IN   CNAME   227.224/28.CCC.BBB.AAA.in-addr.arpa.
228        IN   CNAME   228.224/28.CCC.BBB.AAA.in-addr.arpa.
229        IN   CNAME   229.224/28.CCC.BBB.AAA.in-addr.arpa.
230        IN   CNAME   230.224/28.CCC.BBB.AAA.in-addr.arpa.
231        IN   CNAME   231.224/28.CCC.BBB.AAA.in-addr.arpa.
232        IN   CNAME   232.224/28.CCC.BBB.AAA.in-addr.arpa.
233        IN   CNAME   233.224/28.CCC.BBB.AAA.in-addr.arpa.
234        IN   CNAME   234.224/28.CCC.BBB.AAA.in-addr.arpa.
235        IN   CNAME   235.224/28.CCC.BBB.AAA.in-addr.arpa.
236        IN   CNAME   236.224/28.CCC.BBB.AAA.in-addr.arpa.
237        IN   CNAME   237.224/28.CCC.BBB.AAA.in-addr.arpa.
238        IN   CNAME   238.224/28.CCC.BBB.AAA.in-addr.arpa.


I have configured my PTR zone 224/28.CCC.BBB.AAA.in-addr.arpa. but, when I test my PTR zone using "www.kloth.net/services/nslookup.php" or "network-tools.com/nslook/Default.asp" using default name server I receive "Queried domain does not exist".

If I test my zone using my name server in this web sites mentioned I receive:

server can't find 226.CCC.BBB.AAA.in-addr.arpa: REFUSED

If I use the syntax:

226.CCC.BBB.AAA.in-addr.arpa.   IN   PTR   ns1.mydomain.com.

/var/log/messages show

named[38267]: master/db.my_ptr_zone:21: ignoring out-of-zone data (226.CCC.BBB.AAA.in-addr.arpa)

If I use the syntax:

226     IN   PTR   ns1.mydomain.com.

/var/log/messages does not show any messages but when I test my DNS server from the web sites before mentioned I still receive

server can't find 226.CCC.BBB.AAA.in-addr.arpa: REFUSED

If I modify the PTR zone in named.conf and db file to 66.BBB.AAA.in-addr.arpa. /var/log/messages does not show any messages and when I test my DNS server from the web sites before mentioned I receive a good answer from my DNS server.

$ORIGIN 224/28.BBB.CCC.AAA.IN-ADDR.ARPA. does not work

$ORIGIN 6.CCC.AAA.IN-ADDR.ARPA. it work

What is wrong?

Why does not work using 224/28.BBB.CCC.AAA.IN-ADDR.ARPA. zone configuration?

Thanks for your time.

joans4nz

Mark Andrews

unread,
Nov 4, 2009, 9:51:03 PM11/4/09
to joans4nz, bind-...@lists.isc.org

In message <58636e100911041824i169...@mail.gmail.com>, joans4nz writes:
> Hi,
>
> I use Bind-9.4.2 running on FreeBSD-7.2.
>
> Last week my DNS was reconfigured to a new IP address pool by my ISP and by
> me from a /29 to /28 address range.
>
> Using "How is my DNS" I check my domain and all is good except reverse
> lookup. My ISP also reconfigured the PTR zone and delegate the reverse zone
> like RFC-2317 and this is the change executed by my ISP.
>
> 224/28 IN NS ns1.mydomain.com
> 224/28 IN NS ns2.mydomain.com
> 225 IN CNAME 225.224/28.CCC.BBB.AAA.in-addr.arpa.
> 226 IN CNAME 226.224/28.CCC.BBB.AAA.in-addr.arpa.
> 227 IN CNAME 227.224/28.CCC.BBB.AAA.in-addr.arpa.
> 228 IN CNAME 228.224/28.CCC.BBB.AAA.in-addr.arpa.
> 229 IN CNAME 229.224/28.CCC.BBB.AAA.in-addr.arpa.
> 230 IN CNAME 230.224/28.CCC.BBB.AAA.in-addr.arpa.
> 231 IN CNAME 231.224/28.CCC.BBB.AAA.in-addr.arpa.
> 232 IN CNAME 232.224/28.CCC.BBB.AAA.in-addr.arpa.
> 233 IN CNAME 233.224/28.CCC.BBB.AAA.in-addr.arpa.
> 234 IN CNAME 234.224/28.CCC.BBB.AAA.in-addr.arpa.
> 235 IN CNAME 235.224/28.CCC.BBB.AAA.in-addr.arpa.
> 236 IN CNAME 236.224/28.CCC.BBB.AAA.in-addr.arpa.
> 237 IN CNAME 237.224/28.CCC.BBB.AAA.in-addr.arpa.
> 238 IN CNAME 238.224/28.CCC.BBB.AAA.in-addr.arpa.

Firstly do you want help or not? If so why all the
CCC.BBB.AAA.in-addr.arpa's? It doesn't help people help you.



> I have configured my PTR zone 224/28.CCC.BBB.AAA.in-addr.arpa. but, when I
> test my PTR zone using "www.kloth.net/services/nslookup.php" or "
> network-tools.com/nslook/Default.asp" using default name server I receive
> "Queried domain does not exist".
>
> If I test my zone using my name server in this web sites mentioned I
> receive:
>
> server can't find 226.CCC.BBB.AAA.in-addr.arpa: REFUSED

Well you don't serve CCC.BBB.AAA.in-addr.arpa and you don't allow
recursion. You should make yourself a stealth slave for
CCC.BBB.AAA.in-addr.arpa. That way reverse lookups will continue
to work when your external link goes down. It will also allow
remote tools to not require recursion to be enabled to find the
CNAME records when they query your server.



> If I use the syntax:
>
> 226.CCC.BBB.AAA.in-addr.arpa. IN PTR ns1.mydomain.com.
>
> /var/log/messages show
>
> named[38267]: master/db.my_ptr_zone:21: ignoring out-of-zone data
> (226.CCC.BBB.AAA.in-addr.arpa)

The zone's name is 224/28.CCC.BBB.AAA.in-addr.arpa,
226.CCC.BBB.AAA.in-addr.arpa in not part of the zone.

> 226 IN PTR ns1.mydomain.com.
>
> /var/log/messages does not show any messages but when I test my DNS server
> from the web sites before mentioned I still receive
>
> server can't find 226.CCC.BBB.AAA.in-addr.arpa: REFUSED
>
> If I modify the PTR zone in named.conf and db file to
> 66.BBB.AAA.in-addr.arpa. /var/log/messages does not show any messages and
> when I test my DNS server from the web sites before mentioned I receive a
> good answer from my DNS server.
>
> $ORIGIN 224/28.BBB.CCC.AAA.IN-ADDR.ARPA. does not work
>
> $ORIGIN 6.CCC.AAA.IN-ADDR.ARPA. it work
>
> What is wrong?
>
> Why does not work using 224/28.BBB.CCC.AAA.IN-ADDR.ARPA. zone configuration?
>
> Thanks for your time.
>
> joans4nz

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org

joans4nz

unread,
Nov 5, 2009, 1:01:42 PM11/5/09
to bind-...@lists.isc.org
Hi,

Thank you Mr Mark Andrews for your answer, and yes, I want help. I am sorry about my first message, I repeat bellow, so I change all CCC.BBB.AAA.in-addr.arpa's to my real numbers. Thank you one more time, but i don't understand very well your answers.

You said: Well you don't serve 66.6.190.in-addr.arpa and you don't allow recursion. You should make yourself a stealth slave for 66.6.190.in-addr.arpa. That way reverse lookups will continue to work when your external link goes down. It will also allow remote tools to not require recursion to be enabled to find the CNAME records when they query your server.

So do I must configure the zone 66.6.190.in-addr.arpa. as slave in my named.conf, and in the zone file do I must write the same SOA configuration of my ISP for this zone with the same serial, mail address, ..... and in NS records write this?

     IN   NS   ns1.etecsa.net   ;My ISP name server
     IN   NS   ns2.etecsa.net   ;My ISP name server
     IN   NS   ns3.etecsa.net   ;My ISP name server
     IN   NS   ns4.etecsa.net   ;My ISP name server
     IN   NS   ns1.mincex.cu   ;My name server # 1
     IN   NS   ns2.mincex.cu   ;My name server # 2

Is that correct? Because I don't know if my ISP allow transfer a copy of this zone to my DNS servers, I think is not allowed.

You said: The zone's name is 224/28.66.6.190.in-addr.arpa, 226.66.6.190.in-addr.arpa in not part of the zone.

Why not? If my new ip range address are from 190.6.66.25 to 190.6.66.238, I think 224/28.66.6.190.in-addr.arpa include 226.66.6.190.in-addr.arpa address. Please explain me more about it?

-------------------------


Hi,

I use Bind-9.4.2 running on FreeBSD-7.2.

Last week my DNS was reconfigured to a new IP address pool by my ISP and by me from a /29 to /28 address range.

Using "How is my DNS" I check my domain and all is good except reverse lookup. My ISP also reconfigured the PTR zone and delegate the reverse zone like RFC-2317 and this is the change executed by my ISP.

224/28   IN   NS   ns1.mincex.cu
224/28   IN   NS   ns2.mincex.cu
225        IN   CNAME   225.224/28.66.6.190.in-addr.arpa.
226        IN   CNAME   226.224/28.66.6.190.in-addr.arpa.
227        IN   CNAME   227.224/28.66.6.190.in-addr.arpa.
228        IN   CNAME   228.224/28.66.6.190.in-addr.arpa.
229        IN   CNAME   229.224/28.66.6.190.in-addr.arpa.
230        IN   CNAME   230.224/28.66.6.190.in-addr.arpa.
231        IN   CNAME   231.224/28.66.6.190.in-addr.arpa.
232        IN   CNAME   232.224/28.66.6.190.in-addr.arpa.
233        IN   CNAME   233.224/28.66.6.190.in-addr.arpa.
234        IN   CNAME   234.224/28.66.6.190.in-addr.arpa.
235        IN   CNAME   235.224/28.66.6.190.in-addr.arpa.
236        IN   CNAME   236.224/28.66.6.190.in-addr.arpa.
237        IN   CNAME   237.224/28.66.6.190.in-addr.arpa.
238        IN   CNAME   238.224/28.66.6.190.in-addr.arpa.

I have configured my PTR zone 224/28.66.6.190.in-addr.arpa. but, when I test my PTR zone using "www.kloth.net/services/nslookup.php" or "network-tools.com/nslook/Default.asp" using default name server I receive "Queried domain does not exist".


If I test my zone using my name server in this web sites mentioned I receive:

server can't find 226.66.6.190.in-addr.arpa: REFUSED


If I use the syntax:

226.66.6.190.in-addr.arpa. IN PTR ns1.mincex.cu.

/var/log/messages show

named[38267]: master/db.190.6.66.224:21: ignoring out-of-zone data (226.66.6.190.in-addr.arpa)

226 IN PTR ns1.mincex.cu.


/var/log/messages does not show any messages but when I test my DNS server from the web sites before mentioned I still receive

server can't find 226.66.6.190.in-addr.arpa: REFUSED

If I modify the PTR zone in named.conf and db file to 66.6.190.in-addr.arpa. /var/log/messages does not show any messages and when I test my DNS server from the web sites before mentioned I receive a good answer from my DNS server.

$ORIGIN 224/28.6.66.190.IN-ADDR.ARPA. does not work

$ORIGIN 6.66.190.IN-ADDR.ARPA. it work

What is wrong?

Why does not work using 224/28.66.6.190.IN-ADDR.ARPA. zone configuration?

Kevin Darcy

unread,
Nov 5, 2009, 1:32:45 PM11/5/09
to bind-...@lists.isc.org
joans4nz wrote:
> Hi,
>
> Thank you Mr Mark Andrews for your answer, and yes, I want help. I am
> sorry about my first message, I repeat bellow, so I change all
> CCC.BBB.AAA.in-addr.arpa's to my real numbers. Thank you one more
> time, but i don't understand very well your answers.
>
> You said: Well you don't serve 66.6.190.in-addr.arpa and you don't
> allow recursion. You should make yourself a stealth slave for
> 66.6.190.in-addr.arpa. That way reverse lookups will continue to work
> when your external link goes down. It will also allow remote tools to
> not require recursion to be enabled to find the CNAME records when
> they query your server.

>
> So do I must configure the zone 66.6.190.in-addr.arpa. as slave in my
> named.conf, and in the zone file do I must write the same SOA
> configuration of my ISP for this zone with the same serial, mail
> address, ..... and in NS records write this?
>

> IN NS ns1.etecsa.net <http://ns1.etecsa.net> ;My ISP name
> server
> IN NS ns2.etecsa.net <http://ns2.etecsa.net> ;My ISP name
> server
> IN NS ns3.etecsa.net <http://ns3.etecsa.net> ;My ISP name
> server
> IN NS ns4.etecsa.net <http://ns4.etecsa.net> ;My ISP name
> server
> IN NS ns1.mincex.cu <http://ns1.mincex.cu> ;My name server # 1
> IN NS ns2.mincex.cu <http://ns2.mincex.cu> ;My name server # 2
You don't write records manually into a slave zone. You replicate the
entire contents of the zone from the master server(s).


>
> Is that correct? Because I don't know if my ISP allow transfer a copy
> of this zone to my DNS servers, I think is not allowed.

Mark was making a suggestion, it's not strictly necessary to get your
reverse lookups working. But it is highly recommended, for redundancy
and performance. Your ISP should open up zone transfers. You have, after
all, been assigned part of that address range for your use. You are a
legitimate "stakeholder", and should already have a business and trust
relationship with your ISP. Get them to do it.

Unless you slave 66.6.190.in-addr.arpa or otherwise make a specific
exception for it in your config, then queries for those names will fall
into your default "deny" rule and you'll continue to get REFUSED responses.


>
> You said: The zone's name is 224/28.66.6.190.in-addr.arpa,
> 226.66.6.190.in-addr.arpa in not part of the zone.
>
> Why not? If my new ip range address are from 190.6.66.25 to
> 190.6.66.238, I think 224/28.66.6.190.in-addr.arpa include
> 226.66.6.190.in-addr.arpa address. Please explain me more about it?

Here's the key insight: BIND and DNS aren't treating those
label-concatenations as addresses, only as names.

As a *name*, 226.66.6.190.in-addr.arpa is *not* contained within the
224/28.66.6.190.in-addr.arpa subdomain any more than
now.is.the.time.for.all.good.men is contained in
heed/well.the.time.for.all.good.men. They share a common point in the
hierarchy, but neither one contains the other.

Understand? They're *names*. There is no "address intelligence" or "CIDR
intelligence" by DNS with respect to the in-addr.arpa tree. It's treated
just a sequence of labels that happens to follow a particular naming
convention.

You don't even need to use CIDR ("slash") notation as the convention, by
the way. Read RFC 2317. Some folks even opt -- in co-operation with
their ISP -- to point those CNAMEs to PTRs residing in their "forward" zone:

In 3.2.1.in-addr.arpa;
4.3.2.1.in-addr.arpa. cname 4.3.2.1.rev.example.com.

In example.com:
4.3.2.1.rev.example.com. ptr foo.example.com.

which is perfectly legal.

They're just names. You can put them anywhere, the CNAMEs just need to
point to the right place. Since your ISP maintains the CNAMEs they get
the final say on where they point, but you can make suggestions.


- Kevin

>
> -------------------------
>
> Hi,
>
> I use Bind-9.4.2 running on FreeBSD-7.2.
>
> Last week my DNS was reconfigured to a new IP address pool by my ISP
> and by me from a /29 to /28 address range.
>
> Using "How is my DNS" I check my domain and all is good except reverse
> lookup. My ISP also reconfigured the PTR zone and delegate the reverse
> zone like RFC-2317 and this is the change executed by my ISP.
>

> 224/28 IN NS ns1.mincex.cu <http://ns1.mincex.cu>
> 224/28 IN NS ns2.mincex.cu <http://ns2.mincex.cu>


> 225 IN CNAME 225.224/28.66.6.190.in-addr.arpa.
> 226 IN CNAME 226.224/28.66.6.190.in-addr.arpa.
> 227 IN CNAME 227.224/28.66.6.190.in-addr.arpa.
> 228 IN CNAME 228.224/28.66.6.190.in-addr.arpa.
> 229 IN CNAME 229.224/28.66.6.190.in-addr.arpa.
> 230 IN CNAME 230.224/28.66.6.190.in-addr.arpa.
> 231 IN CNAME 231.224/28.66.6.190.in-addr.arpa.
> 232 IN CNAME 232.224/28.66.6.190.in-addr.arpa.
> 233 IN CNAME 233.224/28.66.6.190.in-addr.arpa.
> 234 IN CNAME 234.224/28.66.6.190.in-addr.arpa.
> 235 IN CNAME 235.224/28.66.6.190.in-addr.arpa.
> 236 IN CNAME 236.224/28.66.6.190.in-addr.arpa.
> 237 IN CNAME 237.224/28.66.6.190.in-addr.arpa.
> 238 IN CNAME 238.224/28.66.6.190.in-addr.arpa.
>
> I have configured my PTR zone 224/28.66.6.190.in-addr.arpa. but, when
> I test my PTR zone using "www.kloth.net/services/nslookup.php

> <http://www.kloth.net/services/nslookup.php>" or
> "network-tools.com/nslook/Default.asp
> <http://network-tools.com/nslook/Default.asp>" using default name

> server I receive "Queried domain does not exist".
>
> If I test my zone using my name server in this web sites mentioned I
> receive:
>
> server can't find 226.66.6.190.in-addr.arpa: REFUSED
>
> If I use the syntax:
>

> 226.66.6.190.in-addr.arpa. IN PTR ns1.mincex.cu <http://ns1.mincex.cu>.


>
> /var/log/messages show
>
> named[38267]: master/db.190.6.66.224:21: ignoring out-of-zone data
> (226.66.6.190.in-addr.arpa)
>

> 226 IN PTR ns1.mincex.cu <http://ns1.mincex.cu>.


>
> /var/log/messages does not show any messages but when I test my DNS
> server from the web sites before mentioned I still receive
>
> server can't find 226.66.6.190.in-addr.arpa: REFUSED
>
> If I modify the PTR zone in named.conf and db file to
> 66.6.190.in-addr.arpa. /var/log/messages does not show any messages
> and when I test my DNS server from the web sites before mentioned I
> receive a good answer from my DNS server.
>
> $ORIGIN 224/28.6.66.190.IN-ADDR.ARPA. does not work
>
> $ORIGIN 6.66.190.IN-ADDR.ARPA. it work
>
> What is wrong?
>
> Why does not work using 224/28.66.6.190.IN-ADDR.ARPA. zone configuration?
>
> Thanks for your time.
>
> joans4nz

> ------------------------------------------------------------------------
>
> _______________________________________________
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

Chris Thompson

unread,
Nov 5, 2009, 2:47:29 PM11/5/09
to joans4nz, bind-...@lists.isc.org
On Nov 5 2009, joans4nz wrote:

>Hi,
>
>Thank you Mr Mark Andrews for your answer, and yes, I want help. I am sorry
>about my first message, I repeat bellow, so I change all
>CCC.BBB.AAA.in-addr.arpa's to my real numbers.

That certainly helps. Look at this:

$ dig +trace soa 224/28.66.6.190.in-addr.arpa.

; <<>> DiG 9.7.0b1 <<>> +trace soa 224/28.66.6.190.in-addr.arpa.
;; global options: +cmd
. 318331 IN NS F.ROOT-SERVERS.NET.
. 318331 IN NS M.ROOT-SERVERS.NET.
. 318331 IN NS J.ROOT-SERVERS.NET.
. 318331 IN NS E.ROOT-SERVERS.NET.
. 318331 IN NS B.ROOT-SERVERS.NET.
. 318331 IN NS A.ROOT-SERVERS.NET.
. 318331 IN NS K.ROOT-SERVERS.NET.
. 318331 IN NS D.ROOT-SERVERS.NET.
. 318331 IN NS G.ROOT-SERVERS.NET.
. 318331 IN NS C.ROOT-SERVERS.NET.
. 318331 IN NS H.ROOT-SERVERS.NET.
. 318331 IN NS L.ROOT-SERVERS.NET.
. 318331 IN NS I.ROOT-SERVERS.NET.
;; Received 376 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms

190.in-addr.arpa. 86400 IN NS SEC3.APNIC.NET.
190.in-addr.arpa. 86400 IN NS NS3.AFRINIC.NET.
190.in-addr.arpa. 86400 IN NS NS2.LACNIC.NET.
190.in-addr.arpa. 86400 IN NS NS-SEC.RIPE.NET.
190.in-addr.arpa. 86400 IN NS NS2.DNS.BR.
190.in-addr.arpa. 86400 IN NS NS.LACNIC.NET.
190.in-addr.arpa. 86400 IN NS TINNIE.ARIN.NET.
;; Received 218 bytes from 192.228.79.201#53(B.ROOT-SERVERS.NET) in 175 ms

66.6.190.in-addr.arpa. 86400 IN NS ns1.etecsa.net.
66.6.190.in-addr.arpa. 86400 IN NS ns2.etecsa.net.
;; Received 92 bytes from 2001:dc0:1:0:4777::140#53(SEC3.APNIC.NET) in 312 ms

224/28.66.6.190.in-addr.arpa. 2000 IN NS ns1.mincex.cu.66.6.190.in-addr.arpa.
224/28.66.6.190.in-addr.arpa. 2000 IN NS ns2.mincex.cu.66.6.190.in-addr.arpa.
;; Received 92 bytes from 200.55.128.4#53(ns2.etecsa.net) in 676 ms

;; connection timed out; no servers could be reached

The delegation of 224/28.66.6.190.in-addr.arpa from 66.6.190.in-addr.arpa
has been mangled. It reports the authoritative nameservers for the subzone
as

ns1.mincex.cu.66.6.190.in-addr.arpa.
ns2.mincex.cu.66.6.190.in-addr.arpa.

(and of course they do not exist) whereas they are almost certainly
meant to be

ns1.mincex.cu.
ns2.mincex.cu.

Classic case of "leaving out the trailing dot".

But even if that were corrected, it turns out that ns1.mincex.cu and
ns2.mincex.cu have never heard of 224/28.66.6.190.in-addr.arpa. and
also have an entirely different version of 66.6.190.in-addr.arpa than
ns1.etecsa.net and ns2.etecsa.net do. You have a lot of errors to
correct.

--
Chris Thompson
Email: ce...@cam.ac.uk

Mark Andrews

unread,
Nov 5, 2009, 6:15:21 PM11/5/09
to joans4nz, bind-...@lists.isc.org

First you should ask your ISP to fix the names of the nameservers
in the delegation of 224/28.66.6.190.in-addr.arpa. It looks like
they left the final period off the names. This is a relatively
common stuff up.

225.66.6.190.in-addr.arpa. 2000 IN CNAME 225.224/28.66.6.190.in-addr.arpa.


224/28.66.6.190.in-addr.arpa. 2000 IN NS ns2.mincex.cu.66.6.190.in-addr.arpa.
224/28.66.6.190.in-addr.arpa. 2000 IN NS ns1.mincex.cu.66.6.190.in-addr.arpa.

;; Received 114 bytes from 200.55.128.3#53(ns1.etecsa.net) in 1536 ms

[Note: I only found this because you have now given me the real domain names
involved.]

Next you should configure your nameservers to be stealth slaves for
66.6.190.in-addr.arpa. If your ISP blocks this, find another ISP
as they don't know what they are doing. You *need* this to allow
internal reverse lookups to succeed when the external link is down.

zone "66.6.190.in-addr.arpa" {
type slave;
notify no; // don't send notify messages to the offical servers
masters { 200.55.128.3; 200.55.128.4; 200.55.128.10; 200.55.128.11; };
file "66.6.190.in-addr.arpa.db";
allow-transfer { none; };
};

The PTR records go in the 224/28.66.6.190.in-addr.arpa zone for which one
of you machines will be master and the other slave.

On ns1.mincex.cu:

zone "224/28.66.6.190.in-addr.arpa" {
type master;
file "224-28.66.6.190.in-addr.arpa.db";
};

224-28.66.6.190.in-addr.arpa.db:
$TTL 38400
@ SOA ns1.mincex.cu. chismoso.mincex.cu. 2009110401 10800 3600 604800 38400
@ NS ns1.mincex.cu.
@ NS ns2.mincex.cu.
226 PTR ns1.mincex.cu.
227 PTR ns2.mincex.cu.

On ns2.mincex.cu:

zone "224/28.66.6.190.in-addr.arpa" {
type slave;
master { 190.6.66.226; };
file "224-28.66.6.190.in-addr.arpa.db";
};


In message <58636e100911051001u195...@mail.gmail.com>, joans
4nz writes:
> --===============4159216347487687440==
> Content-Type: multipart/alternative; boundary=0015175defdc1141090477a385b9
>
> --0015175defdc1141090477a385b9
> Content-Type: text/plain; charset=ISO-8859-1


>
> Hi,
>
> Thank you Mr Mark Andrews for your answer, and yes, I want help. I am sorry
> about my first message, I repeat bellow, so I change all

> CCC.BBB.AAA.in-addr.arpa's to my real numbers. Thank you one more time, but
> i don't understand very well your answers.
>
> You said: Well you don't serve 66.6.190.in-addr.arpa and you don't allow
> recursion. You should make yourself a stealth slave for
> 66.6.190.in-addr.arpa. That way reverse lookups will continue to work when
> your external link goes down. It will also allow remote tools to not require
> recursion to be enabled to find the CNAME records when they query your
> server.
>
> So do I must configure the zone 66.6.190.in-addr.arpa. as slave in my
> named.conf, and in the zone file do I must write the same SOA configuration
> of my ISP for this zone with the same serial, mail address, ..... and in NS
> records write this?
>

> IN NS ns1.etecsa.net ;My ISP name server
> IN NS ns2.etecsa.net ;My ISP name server
> IN NS ns3.etecsa.net ;My ISP name server
> IN NS ns4.etecsa.net ;My ISP name server
> IN NS ns1.mincex.cu ;My name server # 1
> IN NS ns2.mincex.cu ;My name server # 2


>
> Is that correct? Because I don't know if my ISP allow transfer a copy of
> this zone to my DNS servers, I think is not allowed.
>

> You said: The zone's name is 224/28.66.6.190.in-addr.arpa,
> 226.66.6.190.in-addr.arpa in not part of the zone.
>
> Why not? If my new ip range address are from 190.6.66.25 to 190.6.66.238, I
> think 224/28.66.6.190.in-addr.arpa include 226.66.6.190.in-addr.arpa
> address. Please explain me more about it?

"226.66.6.190.in-addr.arpa" does not end in "224/28.66.6.190.in-addr.arpa"
so it is not part of the "224/28.66.6.190.in-addr.arpa" zone. This
has nothing to do with which IP addresses you are using. It is
related to which DNS namespaces are in use.

Mark

> -------------------------
>
> Hi,
>
> I use Bind-9.4.2 running on FreeBSD-7.2.
>
> Last week my DNS was reconfigured to a new IP address pool by my ISP and by
> me from a /29 to /28 address range.
>
> Using "How is my DNS" I check my domain and all is good except reverse
> lookup. My ISP also reconfigured the PTR zone and delegate the reverse zone
> like RFC-2317 and this is the change executed by my ISP.
>
> 224/28 IN NS ns1.mincex.cu

> 224/28 IN NS ns2.mincex.cu


> 225 IN CNAME 225.224/28.66.6.190.in-addr.arpa.
> 226 IN CNAME 226.224/28.66.6.190.in-addr.arpa.
> 227 IN CNAME 227.224/28.66.6.190.in-addr.arpa.
> 228 IN CNAME 228.224/28.66.6.190.in-addr.arpa.
> 229 IN CNAME 229.224/28.66.6.190.in-addr.arpa.
> 230 IN CNAME 230.224/28.66.6.190.in-addr.arpa.
> 231 IN CNAME 231.224/28.66.6.190.in-addr.arpa.
> 232 IN CNAME 232.224/28.66.6.190.in-addr.arpa.
> 233 IN CNAME 233.224/28.66.6.190.in-addr.arpa.
> 234 IN CNAME 234.224/28.66.6.190.in-addr.arpa.
> 235 IN CNAME 235.224/28.66.6.190.in-addr.arpa.
> 236 IN CNAME 236.224/28.66.6.190.in-addr.arpa.
> 237 IN CNAME 237.224/28.66.6.190.in-addr.arpa.
> 238 IN CNAME 238.224/28.66.6.190.in-addr.arpa.
>
> I have configured my PTR zone 224/28.66.6.190.in-addr.arpa. but, when I test

> my PTR zone using "www.kloth.net/services/nslookup.php" or "
> network-tools.com/nslook/Default.asp" using default name server I receive


> "Queried domain does not exist".
>
> If I test my zone using my name server in this web sites mentioned I
> receive:
>
> server can't find 226.66.6.190.in-addr.arpa: REFUSED
>
> If I use the syntax:
>

> 226.66.6.190.in-addr.arpa. IN PTR ns1.mincex.cu.


>
> /var/log/messages show
>
> named[38267]: master/db.190.6.66.224:21: ignoring out-of-zone data
> (226.66.6.190.in-addr.arpa)
>

> 226 IN PTR ns1.mincex.cu.


>
> /var/log/messages does not show any messages but when I test my DNS server
> from the web sites before mentioned I still receive
>
> server can't find 226.66.6.190.in-addr.arpa: REFUSED
>
> If I modify the PTR zone in named.conf and db file to 66.6.190.in-addr.arpa.
> /var/log/messages does not show any messages and when I test my DNS server
> from the web sites before mentioned I receive a good answer from my DNS
> server.
>
> $ORIGIN 224/28.6.66.190.IN-ADDR.ARPA. does not work
>
> $ORIGIN 6.66.190.IN-ADDR.ARPA. it work
>
> What is wrong?
>
> Why does not work using 224/28.66.6.190.IN-ADDR.ARPA. zone configuration?
>
Thanks for your time.
>
> joans4nz
>

joans4nz

unread,
Nov 5, 2009, 7:07:17 PM11/5/09
to bind-...@lists.isc.org
Thank you very much Kevin, Chris and Mark for your answers, you all has given to me a good lesson about DNS and Bind.

Thank you very much one more time.

joans4nz.

0 new messages