
Task 
About Managing IP Addresses
Using a Batch File to Make Changes to a DNS Configuration
CNR can use batch files to make large and 
To use the 
Step 1 Define the batch file by entering zone commands:
zone the.net. addRR 
zone 
The previous 
4)before adding the new “PTR” records, in place of the unused records, to the reverse zone (lines 5 and
6). See line 7 to reload the DNS server.
Step 2 | Run the script by using the  | 
  | 
  | ||||
  | nrcmd>  | 
  | 
  | 
  | |||
  | The following output appears: | 
  | 
  | 
  | |||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone the.net. addRR   | 
  | |||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | IN  | A  | 172.21.10.6  | ||||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone the.net. addRR   | 
  | |||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | IN  | A  | 172.21.10.7  | ||||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone   | ||||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | removing 6  | 
  | IN  | PTR  | |||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone   | ||||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | removing 7  | 
  | IN  | PTR  | |||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone   | ||||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | 6  | 
  | 
  | IN  | PTR  | ||
  | nrcmd>  | 
  | 
  | 
  | 
  | 
  | |
  | zone   | ||||||
  | 100  | Ok  | 
  | 
  | 
  | 
  | 
  | 
  | 7  | 
  | 
  | IN  | PTR  | ||
  | nrcmd> | 
  | 
  | 
  | 
  | 
  | |
  | server | dns reload | 
  | 
  | 
  | 
  | |
  | 100 | Ok  | 
  | 
  | 
  | 
  | 
  | 
Basic Dial NMS Implementation Guide
'#