fixing reverse resolution for our subnet. and one more question

Scott Gibbs sgibbs at sfmx.org
Fri Aug 15 18:52:00 UTC 2003


hello,

we are running BIND 4.9.7 in IRIX 6.5.19.

Lately email is getting bounced back to us so I decided to look into
our setup, which was done originally by someone on the other side of
the continent and dropped in my lap. Since then I have been learning
BIND the hard way.

When I discovered the online tools at dnsstuff.com I was able to get
this message:

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

Asking f.root-servers.net for 11.133.142.208.in-addr.arpa PTR record:
       f.root-servers.net says to go to arrowroot.arin.net. (zone:
208.in-addr.arpa.)
Asking arrowroot.arin.net. for 11.133.142.208.in-addr.arpa PTR record:
       arrowroot.arin.net says to go to NS3.CW.net. (zone:
142.208.in-addr.arpa.)
Asking NS3.CW.net. for 11.133.142.208.in-addr.arpa PTR record:  Got
CNAME referral to L7.NSTLD.COM. (zone 208.142.133.11.sfmx.org.)
Asking L7.NSTLD.COM. for 208.142.133.11.sfmx.org. PTR record:  
       l7.nstld.com says to go to NS.sfmx.org. (zone: sfmx.org.)
Asking NS.sfmx.org. for 208.142.133.11.sfmx.org. PTR record:  Timed
out.  Trying again.
Asking NS.sfmx.org. for 208.142.133.11.sfmx.org. PTR record:  Timed
out.  Trying again.
Asking NS.sfmx.org. for 208.142.133.11.sfmx.org. PTR record:  Reports
that no PTR records exist.

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

So after a lot more online research I found an online version of dig
which tells me that our bandwidth provider has set us up like for our
/26 subnet:

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

; <<>> DiG 8.3 <<>> @dns1.easystreet.com -x any +pfdef 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63533
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL:
5
;; QUERY SECTION:
;;	19.133.142.208.in-addr.arpa, type = ANY, class = IN

;; ANSWER SECTION:
19.133.142.208.in-addr.arpa.  1H IN CNAME  208.142.133.19.sfmx.org.

;; AUTHORITY SECTION:
142.208.in-addr.arpa.	1H IN NS	ns5.cw.net.
142.208.in-addr.arpa.	1H IN NS	ns.cw.net.
142.208.in-addr.arpa.	1H IN NS	ns2.cw.net.
142.208.in-addr.arpa.	1H IN NS	ns3.cw.net.
142.208.in-addr.arpa.	1H IN NS	ns4.cw.net.

;; ADDITIONAL SECTION:
ns.cw.net.		1H IN A		204.70.128.1
ns2.cw.net.		1H IN A		204.70.57.242
ns3.cw.net.		1H IN A		204.70.25.234
ns4.cw.net.		1H IN A		204.70.49.234
ns5.cw.net.		1H IN A		204.71.116.25

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


So I did a little bit more research and I couldn't find any examples
of the cname setup to guide me and the tech support guy at sgi was
stumped as well and said C&W should be using PTR records. But before I
contact C&W I wan't to make sure I have my ducks in a row -- based on
past experience with phone companies.

Here are our current files:

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

; ns.sfmx.org:/var/named/named.hosts

@ IN SOA ns.sfmx.org. sgibbs.ns.sfmx.org.  (
			2003012502	; Serial (yyyymmdd##)
			10800		; Refresh after 3 hours
			3600		; Retry after 1 hour
			604800		; Expire after 1 week
			3600 )		; Minimum TTL of 1 hour

		IN NS		ns.sfmx.org.
		IN NS		ns2.sfmx.org.
		IN MX		ns.sfmx.org
;define localhost
localhost	IN A		127.0.0.1
;define hosts in zone
gw		IN A		208.142.133.10
ns		IN A		208.142.133.11
		IN MX		ns.sfmx.org
mail		IN A		208.142.133.11
ns2		IN A		208.142.133.12
sfmx.org.	IN A		208.142.133.13
		IN MX		mail.sfmx.org
www		IN A		208.142.133.13
telegraph	IN A		208.142.133.17
ross		IN A		208.142.133.19

mail		IN CNAME	ns
gateway	IN CNAME	gw
ftp		IN CNAME	ns

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

; ns.sfmx.org:/var/named/named.rev

@ IN SOA ns.sfmx.org. sgibbs.ns.sfmx.org.  (
			2003012502	; Serial (yyyymmdd##)
			10800		; Refresh after 3 hours
			3600		; Retry after 1 hour
			604800		; Expire after 1 week
			3600 )		; Minimum TTL of 1 week

				IN NS	ns.sfmx.org.
				IN NS	ns2.sfmx.org.

10				IN PTR	gw.sfmx.org.
11				IN PTR	ns.sfmx.org.
12				IN PTR	ns2.sfmx.org
13				IN PTR	www.sfmx.org.
17				IN PTR	telegraph.sfmx.org 
19				IN PTR	ross.sfmx.org


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

So as long as I'm here, and as long as I have posted my files, my one
more question has to do with the proper format for a /26 subnet. The
way things are now I wonder if we are claiming authority for all of
208.142.133?

Any help greatly appreciated.

best regards
Scott Gibbs


More information about the bind-users mailing list