Syntax keywords and variables – Amer Networks WLO220T CLI User Manual

Page 27

Advertising
background image

C O M M A N D D E S C R I P T I O N S

dns

2

24

CLI Reference Guide

dns

The dns command is used to configure Domain Name System (DNS) or to display DNS
configuration information. DNS allows network devices to identify each other using domain names
instead of IP addresses. DNS makes it possible to reference locations by domain name in addition
to using the routable IP address. DNS translation is supported in all the following applications:

• Address Book entries

• Syslog

Before DNS for domain name/address resolution can be used, you must configure the addresses
for the primary and secondary DNS servers

.

Syntax

Keywords and Variables

host

get dns host { ... }

set dns host { ... }

unset dns host { ... }

host

dns1 ip_addr: Primary DNS server.

dns2 ip_addr: Backup DNS server.

name: The domain name of the host, listed in the DNS table.



Using the name option with get directs the device to look up an IP address for the

given domain name.

exec

exec dns refresh

get

get dns

{

host { report |settings } |

name dom_name

}

set

set dns

{

host

{

dns1 ip_addr |

dns2 ip_addr |

schedule time [interval number ]

}

}

unset

unset dns host { dns1 | dns2 | schedule }

Advertising
This manual is related to the following products: