Forum Discussion

Sekhar's avatar
Sekhar
Icon for Nimbostratus rankNimbostratus
Feb 15, 2015

Importing Zone using DNS zone runner

Hi, I came across a option in zone runner where we can import zones from a file. what should be the format of the file to import zones into DNS zone runner utility?

 

Thanks, Sekhar

 

1 Reply

  • They should be in a BIND format. Something like this:

    $ORIGIN example.com.
    @  1D  IN  SOA ns1.example.com. hostmaster.example.com. (
                      2002022401 ; serial
                      3H ; refresh
                      15 ; retry
                      1w ; expire
                      3h ; minimum
                     )
           IN  NS     ns1.example.com. ; in the domain
           IN  NS     ns2.smokeyjoe.com. ; external to domain
           IN  MX  10 mail.another.com. ; external mail provider
    ; server host definitions
    ns1    IN  A      192.168.0.1  ;name server definition     
    www    IN  A      192.168.0.2  ;web server definition
    ftp    IN  CNAME  www.example.com.  ;ftp server definition
    ; non server domain hosts
    bill   IN  A      192.168.0.3
    fred   IN  A      192.168.0.4