Network Management

Test DNS Zone Transfer via CMD prompt [Windows DNS Server]

This article describes how to test DNS Zone Transfer via a command prompt.

First published date

11/29/2018 10:39 PM

Last published date

7/14/2021 8:23 PM

Overview

This article describes how to test DNS Zone Transfer via a command prompt.

Product section

IP Address Manager

Resolution

  1. Open an Admin CMD prompt on the IPAM server.
  2. Run the following commands:
    nslookup
    
    server <DNS Server Name OR ip address of DNS server>
    
    set type=any
    
    ls -d <DNS Zone Name> > dnstest.txt
    
    exit

     

  3. This will create a file, dnstest.txt, containing a list of the DNS records for this zone. (Default output folder C:\Users\Administrator )

    If this works without error, we will need to investigate why zone transfers are not working in IPAM.