Name based hosts and bind

James Pratt jpratt at norwich.edu
Fri Apr 25 11:23:13 UTC 2008


> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of Bob Hoffman
> Sent: Wednesday, April 23, 2008 4:32 PM
> To: 'Fr34k'; bind-users at isc.org
> Subject: RE: Name based hosts and bind
> 
> So each ip will have one ptr.
> http://www.bobhoffman.com/forums/viewtopic.php?t=55 is my list so far
> by the
> way.
> 
> So if I have exmaple.com and example2.com both on the same ip, the
arpa
> file
> will have
> 
> 1.123.123.123 IN PTR localhost.example.com ; example.com is the ip
> based one
> 
> So any site I use in that ip as a name based will use that PTR record.
> So mail.example2.com will show up when aol.com checks my mail from
> mail.example2.com and it will not look like it came from
> mail.example.com?
> 
> As a side note. I did not see anything in the books that dealt with
> this. If
> the answer to this is above, then I guess it sort of makes sense and I
> guess
> that is why they skipped even mentioning it...but it just seems 'odd'
> that
> it would work to resolve ip to name without really mentioning the
other
> sites...
> 
> At least that means I do not have to do a reverse for each website,
> less
> typing!!!
> 
> How would you test if your ptr is really working the way it is
supposed
> too?
> 
> 

Hi Bob. I thought you had cleared this one up?  To check rev dns, use
dig like so:

$ dig -x 192.149.109.19

; <<>> DiG 9.3.3rc2 <<>> -x 192.149.109.19
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58698
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;19.109.149.192.in-addr.arpa.   IN      PTR

;; ANSWER SECTION:
19.109.149.192.in-addr.arpa. 38400 IN   PTR     mail.norwich.edu.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

;; Query time: 112 msec
;; SERVER: 209.51.143.76#53(209.51.143.76)
;; WHEN: Fri Apr 25 07:21:05 2008
;; MSG SIZE  rcvd: 75

Regards,
jamie


More information about the bind-users mailing list