Thread: Dns records

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0

    Dns records


    Hi guys,

    Is there a way to query a name server for all dns records within a zone. for example get all dns records for test.com and its subdomains

    thanks
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Location
    United States
    Posts
    24
    Rep Power
    0
    From Windows, open a command prompt, type NSLOOKUP and hit [enter]. At the prompt, type "ls -d domainname".

    This will display all of the records in the zone, including subdomains, if the subdomain records are hosted in the same zone file. If there is a delegation to the subdomain, the records will not be in the zone. You would have to do this same procedure for the subdomain.

    For you to pull the records from NSLOOKUP in this manner, your DNS zone has to be configured to allow for zone transfers.

IMN logo majestic logo threadwatch logo seochat tools logo