NETS header NETS Homepage UCAR Homepage NCAR Homepage SCD Homepage NETS Homepage About NETS Work requests & support
  Browse NETS topics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

DNS and Network Naming Procedures


This document provides guidelines and procedures for creating DNS names and network names. Having a consistent scheme for NETS to follow will ease troubleshooting and general network management.

The sheer number of different roles which 'networks' play will invariably lead to situations where these rules cannot be applied or lead to silly conclusions. Engineers should use their best judgement in applying them. The rules incorporate the terms 'must' and 'should' in a similar manner to the definitions found in RFC 2119.

Network Names

The term "network name" refers to the value in the "Name" column of the master subnet list. It's purpose is to provide a short and distinct name for a particular subnet or VLAN. It needs to adhere to the following rules.

DNS Names

Routers invariably have multiple IP addresses which require DNS names. To keep things sane, the following rules should be used to create the DNS entries.

Examples

Here are some examples to help clarify.

The DNS entry for the loopback interface on mlra. One 'mlra' is dropped from the DNS entry because it would be redundant.
IP AddressDNS NameNetwork Name
128.117.243.49mlra_lo0mlra-lo0

A point to point link between ML and CG.
IP AddressDNS NameNetwork Name
128.117.243.225mlra_ml-cg-netml-cg-net
128.117.243.226cgra_ml-cg-netml-cg-net

The DNS entry for a standard client subnet
IP AddressDNS NameNetwork Name
128.117.8.253mlra_scdnetscdnet

The historical DNS entry for a client subnet.
IP AddressDNS NameNetwork Name
128.117.64.253mlra-n64ucarnet

Entries for the FRGP Level3 Router
IP AddressDNS NameNetwork Name
192.43.217.81l3-gw-1_nlranlra
192.43.217.113l3-gw-1_nlrbnlrb
192.43.217.134l3-gw-1_frgp-level3-netfrgp-level3-net
192.43.217.137l3-gw-1_level3-nlr-netlevel3-nlr-net
192.43.217.141l3-gw-1_lo0l3-gw-1-lo0
192.43.217.145l3-gw-1_level3-ucb-netlevel3-ucb-net
192.43.217.150l3-gw-1_level3-ucdhsc-netlevel3-ucdhsc-net
192.43.217.153l3-gw-1_level3-csm-netlevel3-csm-net
192.43.217.158l3-gw-1_level3-utah-netlevel3-utah-net

DNS zones

Here's an email message from Greg Woods responding to a question about which DNS zone a NETS device belongs in - atd.ucar.edu or ucar.edu. The IP address of the device was 128.117.81.240.

Subject: Re: ATD DNS
From: Greg Woods <woods@ucar.edu>
To: Pete Siemsen
Cc: brandon@ucar.edu
Date: Tue, 26 Sep 2006 12:45:53 -0600

Only the administrators of the name server(s) that have authoritative data for a zone can make changes to that zone. What confuses the issue is that the forward and reverse zones are completely different. In most cases, we try to delegate the forward and reverse zones to the same servers, so we don't have this confusion. But there are a few cases such as the 81 subnet, the fully exposed subnets at each campus, the guest networks, etc. where the zone is shared by multiple groups. In those situations, it's not possible to avoid the case where the forward and reverse zone are managed by different people.

All I want is a working name for 128.117.81.240. Do you handle forward resolutions for some 81 addresses as "ucar.edu", and does ATD handle the others as "atd.ucar.edu"?
Yes, that is exactly how it is. If you are talking about a DNS record that is within the atd.ucar.edu zone, only ATD/EOL can do that. If you are talking about a record that falls within the 81.117.128.in-addr.arpa zone (i.e. a reverse resolution), then SCD handles it. In this case, the reverse record for 128.117.81.240 is present and correct, so it is the forward record that has to be added. ATD/EOL must do this, I cannot, as I do not have access to the name servers for the atd.ucar.edu zone.

As an additional aside: the assignment of IP addresses is the responsibility of those who manage the reverse zone (SCD in the case of the 81 subnet and most other shared subnets (fully exposed, guest, etc.), but the forward entries must still be made by whoever administers the zone containing that name (atd.ucar.edu -> ATD/EOL).

To determine who manages a zone, issue an NS query like "host -t ns zone-name" (reverse zones have the horrible in-addr.arpa syntax). If you get a list of delegated name servers, then you know who you have to talk to for records in that zone. If you get something like "there is no NS record", or a blank response, then that subzone is not delegated and is managed by the parent zone.

Examples:

$ host -t ns 81.117.in-addr.arpa.
81.117.128.in-addr.arpa has no NS record
This means that this subzone is not delegated, so it is managed by those who manage the 117.128.in-addr.arpa zone:
$ host -t ns 117.128.in-addr.arpa.
117.128.in-addr.arpa name server dns2.itd.umich.edu.
117.128.in-addr.arpa name server dns.ucar.edu.
Those are our top-level servers. You could find out further by issuing an SOA query:
$ host -t soa 117.128.in-addr.arpa.
117.128.in-addr.arpa SOA dns.ucar.edu. postmaster.ucar.edu. 20060926428800 14400 110 10
That would tell you that postmaster@ucar.edu is the responsible party (don't blame me for the syntax on this stuff, I didn't invent it).

On the other hand:

$ host -t ns atd.ucar.edu.
atd.ucar.edu name server chandon.eol.ucar.edu.
atd.ucar.edu name server merlot.eol.ucar.edu.
This tells you that this zone has been delegated to EOL servers.
$ host -t soa atd.ucar.edu.
atd.ucar.edu has SOA record chandon.eol.ucar.edu. newbery.ucar.edu. 200613155 10800 3600 604800 600
This tells you that newbery@ucar.edu is the responsible party.

Sorry to go on at such length about this, but it is always confusing and there is clearly some confusion in this case. The bottom line is that the missing A record is within the atd.ucar.edu zone, so EOL staff must add it, I cannot.

--Greg


Address comments or questions about this Web page to the Network Engineering & Telecommunications Section (NETS) at nets-www@ncar.ucar.edu. The NETS is part of the Computational & Information Systems Laboratory (CISL) of the National Center for Atmospheric Research (NCAR), which is sponsored by the National Science Foundation (NSF) and managed by the University Corporation for Atmospheric Research (UCAR). This website follows the UCAR General Privacy Policy and the NCAR/UCAR/UCP Terms of Use.