Task 6—Managing IP Addresses by Using DNS

About Managing IP Addresses

Creating a Primary Forward Zone

To create a domain (or forward zone) and include all forward mapping (the “A” records) for the domain, follow these steps:

Step 1 Create a domain and include all forward mapping (the “A” records) by entering the zone command with the create option:

nrcmd> zone the.net create primary file=the.net.zone.txt

To create new subnets by using the CLI, import a BIND zone definition file, which can be edited by using an ASCI text editor. The following example shows an edited BIND file.

@

IN

SOA

onionring.the.net. netadmin.the.net. (

 

 

2000071600

; serial number

 

 

3600

 

; Refresh 1 hours

 

 

1800

 

; Retry 30 minutes

 

 

86400

 

; Expire 24 hours

 

 

86400

 

; TTL 24 hours

 

 

)

 

 

IN

NS

onionring.the.net.

doc-rtr58-01

IN

A

172.21.101.20

doc-rtr54-01

IN

A

172.21.101.21

doc-rtr53-01

IN

A

172.21.101.22

doc-rtr53-05

IN

A

172.21.101.23

doc-3810a-01

IN

A

172.21.10.14

doc-3810d-01

IN

A

172.21.10.15

doc-ubr7246-01

IN

A

172.21.10.16

doc-switch-02

IN

A

172.21.10.17

Step 2 Verify that the primary zone was created by entering the zone command with the listRR option:

nrcmd> zone the.net listRR

 

 

100 Ok

 

 

 

Static Resource Records

 

 

 

@

IN

SOA

onionring.the.net.

netadmin.the.net.0

 

 

 

@

IN

NS

onionring.the.net.

doc-rtr58-01

IN

A

172.21.101.20

doc-rtr54-01

IN

A

172.21.101.21

doc-rtr53-01

IN

A

172.21.101.22

doc-rtr53-05

IN

A

172.21.101.23

(Truncated for brevity)

 

 

 

Dynamic Resource Records

 

 

 

Creating an IP Tracker Web Page

An IP tracker web page:

Provides web access to the IP database that is managed by Cisco Network Registrar.

Retrieves current IP address block assignments from a DNS server.

Uses two CGI scripts to provide a web-enabled look into DNS for each zone.

Basic Dial NMS Implementation Guide

'$

Page 96
Image 96
Cisco Systems Dial NMS manual Creating a Primary Forward Zone, Creating an IP Tracker Web