beautypg.com

Asante Technologies 35516 User Manual

Page 104

background image

- 104 -

8.2.2 Design Limitation and Restrictions

A maximum of 3 name servers can be specified.

Each server is tried for 4 times with 5 seconds of timeout, so if you configure the router with 3 name servers and
if all three of them are not available, the DNS resolver will wait for 60 seconds before it gives up. User
interruption is not allowed during the wait.

Each of the domains mentioned in the domain-list is queried within the wait time.

8.2.3 Configuration Example

The following example enables DNS lookup on the router and specified name servers and domain names.

!

! DNS example configuration file

!
vlan 1
name Engineering VLAN
vlan 2
name Marketing VLAN
vlan 3
name Purchase VLAN
vlan 4
name Finance VLAN
ip domain-lookup
ip name-server 192.108.250.1
ip name-server 192.108.250.4
ip name-server 192.108.250.5
ip domain-name asante.com
ip domain-list stanford.edu
ip route 0.0.0.0/0 192.203.54.1
!
end

After the DNS lookup is enabled on the router, you can use the ping or traceroute command with the hostname
rather than an IP address as in this example:

Router# ping www.yahoo.com
Translating “www.yahoo.com” …
Reply from…