Re: command to list a specific domain name records..

This is a discussion on Re: command to list a specific domain name records.. within the Bind Users forums, part of the DNS and Related Forums category; On Fri, Mar 04, 2005 at 09:20:27AM +0200, CihanS@garanti.com.tr <CihanS@garanti.com.tr> ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2005
Stephane Bortzmeyer
 
Posts: n/a
Default Re: command to list a specific domain name records..

On Fri, Mar 04, 2005 at 09:20:27AM +0200,
CihanS@garanti.com.tr <CihanS@garanti.com.tr> wrote
a message of 36 lines which said:

> what is command to scan a DNS to get all the records for a specific
> domain name?


Query an authoritative name server (important: do not query any name
server in the world, only one which is authoritative for the given
domain name) with a ANY query. For instance, with dig :

% dig @garanti3.garantiteknoloji.com.tr ANY garanti.com.tr.

; <<>> DiG 9.2.4 <<>> @garanti3.garantiteknoloji.com.tr ANY garanti.com.tr.
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47702
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 9, AUTHORITY: 0, ADDITIONAL: 7

;; QUESTION SECTION:
;garanti.com.tr. IN ANY

;; ANSWER SECTION:
garanti.com.tr. 7200 IN SOA garanti2.garanti.com.tr. dnsadmi n.garanti.com.tr. 2005021801 28800 7200 604800 3600
garanti.com.tr. 86400 IN NS garanti3.garantiteknoloji.com.tr .
garanti.com.tr. 86400 IN NS garanti4.garantiteknoloji.com.tr .
garanti.com.tr. 86400 IN NS garanti1.garanti.com.tr.
garanti.com.tr. 86400 IN NS garanti2.garanti.com.tr.
garanti.com.tr. 28800 IN MX 10 mailser.garanti.com.tr.
garanti.com.tr. 28800 IN MX 10 mailser4.garanti.com.tr.
garanti.com.tr. 28800 IN MX 1 mailser2.garanti.com.tr.
garanti.com.tr. 7200 IN A 194.29.211.10

;; ADDITIONAL SECTION:
garanti1.garanti.com.tr. 86400 IN A 194.29.208.124
garanti2.garanti.com.tr. 86400 IN A 194.29.209.214
garanti3.garantiteknoloji.com.tr. 86400 IN A 194.29.209.201
garanti4.garantiteknoloji.com.tr. 86400 IN A 194.29.208.202
mailser2.garanti.com.tr. 28800 IN A 194.29.208.16
mailser.garanti.com.tr. 28000 IN A 194.29.208.16
mailser4.garanti.com.tr. 28800 IN A 194.29.208.16

;; Query time: 279 msec
;; SERVER: 194.29.209.201#53(garanti3.garantiteknoloji.com.tr )
;; WHEN: Fri Mar 4 09:24:38 2005
;; MSG SIZE rcvd: 388

> This message and attachments are confidential and intended solely
> for the individual(s) stated in this message.If you received this
> message although you are not the addressee you are responsible to
> keep the message confidential .


Stupid idea. Read http://www.goldmark.org/jeff/stupid-disclaimers/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:02 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0