Add (router) static dns host, Add (router) static dns host -12 – Carrier Access Network Device Axxius 800 User Manual

Page 112

Advertising
background image

5-12

Axxius 800 - Release 2.2

CLI Commands

add

add (router) static dns host

Use the add (router) static dns host command to add a static DNS host record for resolving a
domain name to an IP address if the DNS server cannot provide the information. The DNS
resolver will first attempt to resolve the name by querying the configured DNS servers. If this
does not yield the information, the DNS resolver will consult this list of static entries. This
command will fail if the DNS resolver is not enabled.

Syntax:

add {rtr_card-addr} static dns host

{ip-addr} {"domain-name"}

Example:

add 2 dns host 192.168.100.245 "myhost.some.net"

Example will add a static DNS host record with address 192.168.100.245 and
domain named "myhost.some.net" on the TSR in slot 2.

{rtr_card-addr}

The slot number (1-8) that contains the Router card.

{ip-addr}

The IP address of the host, in the form of xxx.xxx.xxx.xxx, where xxx is between 0-255.

{"domain-name"}

The domain name of the host. Name must be enclosed in quotes, with a maximum length
of 41 characters.

Advertising