ZyXEL Communications 4.04 Manual De Usuario

Descargar
Página de 204
 Chapter 15 IP Commands
ZyWALL (ZyNOS) CLI Reference Guide
107
ip dns lan edit <0|1|2> <0:from 
ISP|1:user defined|2:DNS 
relay|3:none> [isp-idx|ip-
address]
Configures the DNS server settings the ZyWALL assigns to 
LAN DHCP clients. 
0|1|2
: Configures the first, second, or third DNS server 
setting.
0:from ISP|1:user defined|2:DNS relay|3:none
: If 
you set the server as from ISP (0), specify the number of the 
ISP. If you set the server as user defined (1), specify the IP 
address.
isp-idx|ip-address
: The number of the ISP (the number 
of the remote node) or the IP address of the DNS server.
R
ip dns lan edit <0|1|2> <0:from 
ISP|1:user defined|2:DNS 
relay|3:none> [isp-idx|ip-
address]
Configures the DNS server settings the ZyWALL assigns to 
LAN DHCP clients. 
0|1|2
: Configures the first, second, or third DNS server 
setting.
0:from ISP|1:user defined|2:DNS relay|3:none
: If 
you set the server as from ISP (0), specify the number of the 
ISP. If you set the server as user defined (1), specify the IP 
address.
isp-idx|ip-address
: The number of the ISP (the number 
of the remote node) or the IP address of the DNS server.
R
ip dns query address <ip-
address> [timeout]
Displays the domain name of an IP address. 
timeout:
 The maximum number of seconds to wait for a 
response.
R
ip dns query name <domain-name>
Displays the IP address of a domain name.
R
ip dns system cache disp <0~5> 
[0:increase|1:decrease]
Displays the DNS cache table. Select which criteria to sort the 
entries by. 
0
: Displays the entries by the time they were created.
1
: Sorts the entries by domain name or URL.
2
: Sorts the entries by type (positive or negative).
3
: Sorts the entries by IP address.
4
: Sorts the entries by the number of times the entry was used. 
5
: Sorts the entries by Time To Live (number of seconds left 
before the DNS resolution entry is discarded from the cache).
0:increase|1:decrease
: Specify ascending or 
descending order.
R+B
ip dns system cache flush
Clears the DNS cache.
R+B
ip dns system cache negaperiod 
<60~3600>
Sets the number of seconds negative DNS entries stay in the 
cache.
R+B
ip dns system cache negative 
<0:disable|1:enable>
Enables or disables the DNS negative cache.
R+B
ip dns system cache positive 
<0:disable|1:enable>
Enables or disables the DNS positive cache.
R+B
ip dns system cache ttl <60~3600>
Sets the positive DNS cache maximum TTL (Time To Live).
R+B
ip dns system dela <index>
Removes the specified DNS address record entry.
R+B
ip dns system delns <index>
Removes the specified DNS name server record entry.
R+B
ip dns system display
Shows the system DNS server settings.
R+B
Table 48   DNS Commands (continued)
COMMAND
DESCRIPTION
M