Domain Name System (Dns) - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Domain Name System (DNS)

The Domain Name System allows you to access remote systems by entering human-readable
device host names rather than IP addresses. DNS works by creating a mapping between a
device name, such as "www.alliedtelesis.com", and its IP address. These mappings are held on
DNS servers. The benefits of DNS are that domain names:
Domain
Domain names are made up of a hierarchy of two or more name segments. Each segment is
name parts
separated by a period. The format of domain names is the same as the host portion of a URL
(Uniform Resource Locator). The first segment from the left is unique to the host, with each
following segment mapping the host in the domain name hierarchy. The segment on the far
right is a top-level domain name shared by many hosts.
Server hierarchy
A network of domain name servers maintains the mappings between domain names and their
IP addresses. This network operates in a hierarchy that is similar to the structure of the domain
names. When a local DNS server cannot resolve your request it sends the request to a higher
level DNS server.
For example, to access the site "alliedtelesis.com", your PC sends a DNS enquiry to its local
DNS server asking for the IP address matching alliedtelesis.com. If this address is already locally
cached (following its recent use), the DNS server returns the IP address that matches
alliedtelesis.com. If the DNS server does not have this address cached, it forwards the request
upwards through the hierarchy of DNS servers until a DNS server can resolve the mapping.
This means an often-used domain name is resolved quickly, while an uncommon or nonexistent
domain may take longer to resolve or fail.
As well as the hierarchy of domain name servers accessible through the Internet, you can
operate your own DNS server to map to private IP addresses within your network.
DNS client
Your AlliedWare Plus device has a DNS client that is enabled automatically when you add a
DNS server to your device. This client allows you to use domain names instead of IP addresses
when using commands on your device.
To add a DNS server to the list of servers that the device sends DNS queries to, use the
command:
To check the list of servers that the device sends DNS queries to, use the command:
To add a default domain name used to append to DNS requests, use the command:
For example, to use DNS to match hostnames to your internal network "example.net", use the
command:
C613-50007-01 REV B
can map to a new IP address if the host's IP address changes
are easier to remember than an IP address
allow organizations to use a domain name hierarchy that is independent of any IP address
assignment
awplus(config)#
awplus#
awplus(config)#
awplus(config)#
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
ip name-server <ip-address>
show ip name-server
ip domain-name <domain_name>
ip domain-name example.net
Internet Protocol (IP) Addressing and Protocols
22.7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents