Environment
Novell NetWare 6
Novell NetWare 5.1
Novell DNS
Situation
How to recreate DNS zone information
in case of accidental deletion.
Resolution
There are three options to pull this zone data. Use DIG, NSLOOKUP, or HOST utility.
Where dns-server-name is the name (or ip address) of the server responsible for the deleted zone and zone.name is the deleted zone.
With DIG:
dig @dns-serverzone.name axfr > zone.file
or
dig @dns-sever -t axfr zone.name> zone.file
This outputs all records for the deleted zone.name piped into the
file named zone.file.
With NSLOOKUP
use interactive mode:
>
nslookup
>Serverdns-server
>set q=any
>ls zone.name > FILE
This outputs all records for the deleted zone.name piped into the
file named FILE.
With HOST:
host -lv -t axfr zone.name dns-server > zone.file
This outputs all records for the deleted zone.name piped into the file named zone.file.
Now you can usezone.fileto recreate zone with DNS-DHCP management console manually, or in creating a dns tool import file.
In the case where the zone has been deleted and NAMED was reloaded or the cache has already refreshed then you will need to use NDS backup to restore missing zone info.
Additional Information
Formerly known as TID# 10092445