3Com OfficeConnect Remote 812 Network Router User Manual


 
6-30 CHAPTER 6: MANUAL SETUP
Configuring DNS To enable DNS functionality on the OCR 812, use the command:
enable dns
To disable DNS functionality, use the command:
disable dns
You can configure three global DNS parameters that control the operation of the
DNS proxy.
Number of Retries: the number of retry attempts when accessing a primary or
secondary DNS server. The default is 1 retry.
Timeout: the amount of time to wait for request to be serviced. The default is 5
seconds.
Cache size: the number resolved names to cache. The default is 100 entries.
You can view the current DNS settings with the command:
show dns settings
You can alter the current DNS settings with the command:
set dns
cache_size <size>
number_retries <number>
timeout <seconds>
DNS Host Entries
To add a DNS Host entry to the DNS Static Host table, use the command:
add dns host <host name> address <ip address>
To view the contents of the Static Host table, use the command:
list dns hosts
To delete a specific Host entry, use the command:
delete dns host <host name>
Managing the DNS
Proxy
When resolving a DNS name, the OCR 812 first searches for a match in the Static
Host table. If a match is not found it will perform a proxy function. The DNS Server
table contains a list of DNS Servers for specific domains. Each domain listed in the
table can have up to two DNS Server addresses associated with it. The default
domain has the name *.
Using PPP it is possible to learn DNS server addresses when the PPP session is
established. In addition to specifying server addresses in the DNS Server table, you
can specify a VC profile name that should be used to learn the addresses.
To create a DNS Server entry when specific addresses are known, use the
command:
add dns server <domain name> primary_address <ip address>
secondary_address <ip address>
To create an entry that will learn addresses using PPP, use the command:
add dns server <domain name> vc <vc name>