cc/td/doc/product/rtrmgmt/ciscoasu/nr/nr3.0
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring a Loopback Zone

Configuring a Loopback Zone

A loopback zone is a reverse zone that enables a host to resolve the loopback address (127.0.0.1) to the name localhost. The loopback address is used by the host to enable it to direct network traffic to itself. You can configure a loopback zone manually or you can import it from an existing BIND zone file.

Normally you do not have to configure a loopback zone, because Network Registrar automatically creates one for you. If, however, you accidently delete the loopback zone, you can use the following instructions to create a new one.

Manually Configuring a Loopback Zone

Step 1 Use the zone command create to create a loopback zone.

The following example adds the zone 127.in-addr.arpa, specifying that it is a primary zone, the name server is localhost, and the hostmaster is loopback.

    nrcmd> zone 127.in-addr.arpa create primary localhost loopback
     
    

Step 2 Use the zone command addRR to add the Pointer (PTR) Reource Record.

Although the zone command automatically creates the NS and SOA record for you, you need to use the addRR command to create a PTR record for the name server named in the ns field. The following example adds the name 1.0.0, the type PTR, and the data localhost.

    nrcmd> zone 127.in-addr.arpa addRR 1.0.0 PTR localhost
     
    

Step 3 Use the zone command addRR to add the Address (A) Reource Record.

The A record provides the name-to-address mapping for the zone. The following example adds the name localhost, the type A, and the data 127.0.0.1.

    nrcmd> zone 127.in-addr.arpa addRR localhost A 127.0.0.1
     
    

Network Registrar automatically appends the zone name to the ns, person, and data fields, that is localhost.127.in-addr.arpa and loopback.127.in-addr.arpa.

Importing a Loopback Zone from BIND

The easiest and quickest way to create a primary zone is to import an existing BIND format zone file.

Use the zone command create to create a primary zone by importing an existing file that is in BIND format. The following example adds the zone 127.in-addr.arpa, specifying that it is a primary zone and to import the BIND file, hosts.local.

nrcmd> zone 127.in-addr.arpa create primary file=hosts.local

Reloading the DNS Server

After you have configured the DNS server, you need to reload it to write the configuration information to Network Registrar's database.

Step 1 Use the save command to save your changes to Network Registrar's configuration database.

    nrcmd> save
     
    

Step 2 Use the server command to reload the servers.

    nrcmd> server DNS reload
    


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Nov 18 12:29:57 PST 1999
Copyright 1989-1999©Cisco Systems Inc.