beautypg.com

Amer Networks WLO220T CLI User Manual

Page 28

background image

. . . . .

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

dns

CLI Reference Guide

25



Using the name option with set places an entry in the DNS table, representing a host

device with a host name and IP address. This allows you to reach a host using the host
name. For example, executing set dns host name MyHost 3.3.3.18 creates a DNS
table entry for a host at address 3.3.3.18, with a host name of MyHost. This allows
you to reach a host, as with the command ping MyHost.

report: Displays the DNS lookup table.

schedule time: Specifies the time of day to refresh DNS entries. The format of this
parameter is hh:mm. The interval number parameter specifies a 4-, 6-, 8-, or 12-hour interval
between DNS table refresh operations. The default interval is 24 hours; that is, once a day at
the scheduled DNS lookup time. Use this option to refresh the DNS table more frequently.

settings: Displays DNS settings, including IP addresses, refresh setting, and the number of
UDP sessions.

[NOTE]

The DNS table is local to the device, and functions as a proxy for the actual DNS server.

Consequently, other network nodes cannot query the listed names using the device. The main purpose of
the table is to let you create an alias for an external host and to access that host from the device.

Example 1

The following command sets up a host as the primary DNS server at address 2.2.2.47:

set dns host dns1 2.2.2.47

Example 2

The following command schedules a refresh time at 23:00 each day, and a DNS table refresh
interval of 12 hours:

set dns host schedule 23:00 interval 12

refresh

exec dns refresh

refresh

Refreshes all DNS entries. Using the option directs the software to perform a manual DNS
lookup.

This manual is related to the following products: