beautypg.com

Allied Telesis AT-WA7400/EU User Manual

Page 301

background image

AT-WA7400 Management Software User’s Guide

301

Set DNS Nameservers to Use Static IP Addresses (Dynamic to Manual
Mode)

This example shows how to reconfigure

DNS

Nameservers from Dynamic

mode (where name server IP addresses are assigned through

DHCP

) to

Manual mode, and specify static IP addresses for them.

1. Check to see which mode the DNS Name Service is running in. (In our

example, DNS naming is running in DHCP mode when we start
because the following command returns up for the mode.)

AT-WA7400# get host dns-via-dhcp

up

2. Turn off Dynamic DNS Nameservers and re-check the settings:

AT-WA7400# set host dns-via-dhcp down

AT-WA7400# get host dns-via-dhcp

down

3. Get the current IP addresses for the DNS Nameservers:

AT-WA7400# get host static-dns-1

10.10.3.9

AT-WA7400# get host static-dns-2

10.10.3.11

4. Re-set the IP addresses for the DNS Nameservers as desired:

AT-WA7400# set host static-dns-1 10.10.3.10

AT-WA7400# get host static-dns-1

10.10.3.10

AT-WA7400# set host static-dns-2 10.10.3.12

AT-WA7400# get host static-dns-2

10.10.3.12

Set DNS Nameservers to Use DHCP IP Addressing (Manual to
Dynamic Mode)

To switch

DNS

Nameservers from Manual (static IP addresses) to

Dynamic mode (nameserver addresses assigned by

DHCP

), use the

reverse command and check to see the new configuration:

AT-WA7400# set host dns-via-dhcp up