Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 12:36:46 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        cuongvt@fpt.vn
Cc:        freebsd-questions@freebsd.org
Subject:   Re: is is able to setting up DNS server reverse lookup with DynamicIP?
Message-ID:  <200707130536.l6D5akxS070187@banyan.cs.ait.ac.th>
In-Reply-To: <46970917.3030502@fpt.vn> (message from vuthecuong on Fri, 13 Jul 2007 12:09:43 %2B0700)
References:  <46970917.3030502@fpt.vn>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm using dynamicDNS, so I will able to specify the forward *AND* 
> reverse lookups?

Yes.

Forward DNS lookup: (alrw17.desktops.cs.ait.ac.th is dynamic DNS)

banyan<on>57: dig alrw17.desktops.cs.ait.ac.th

; <<>> DiG 9.3.1 <<>> alrw17.desktops.cs.ait.ac.th
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15772
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;alrw17.desktops.cs.ait.ac.th.  IN      A

;; ANSWER SECTION:
alrw17.desktops.cs.ait.ac.th. 3600 IN   A       192.41.170.214

;; AUTHORITY SECTION:
desktops.cs.ait.ac.th.  43200   IN      NS      dns.cs.ait.ac.th.

;; ADDITIONAL SECTION:
dns.cs.ait.ac.th.       43200   IN      A       192.41.170.15

;; Query time: 1 msec
;; SERVER: 192.41.170.15#53(192.41.170.15)
;; WHEN: Fri Jul 13 12:35:23 2007
;; MSG SIZE  rcvd: 96


Reverse DNS lookup:


banyan<on>58: dig -x 192.41.170.214

; <<>> DiG 9.3.1 <<>> -x 192.41.170.214
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14984
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1

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

;; ANSWER SECTION:
214.170.41.192.in-addr.arpa. 43200 IN   CNAME   214.170.41.192.rev-dns.cs.ait.ac
.th.
214.170.41.192.rev-dns.cs.ait.ac.th. 3600 IN PTR alrw17.desktops.cs.ait.ac.th.

;; AUTHORITY SECTION:
170.41.192.rev-dns.cs.ait.ac.th. 43200 IN NS    dns.cs.ait.ac.th.

;; ADDITIONAL SECTION:
dns.cs.ait.ac.th.       43200   IN      A       192.41.170.15

;; Query time: 9 msec
;; SERVER: 192.41.170.15#53(192.41.170.15)
;; WHEN: Fri Jul 13 12:35:31 2007
;; MSG SIZE  rcvd: 158




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707130536.l6D5akxS070187>