Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
138
DNS Commands
dns fwdadd
Add a DNS forwarding entry. The entries in the forwarding list determine which DNS server should be used for which 
PC. If an identification cannot be established within the local LAN, the request is forwarded to another DNS server, on 
another network (Internet/LAN to LAN connection). The connection is negotiated within a PPP link. 
SYNTAX:
EXAMPLE:
RELATED COMMANDS:
dns fwdadd
dns = <ip-address>
src = <ip-address>
mask = <ip-mask (dotted or cidr)>
[metric = <number{0-100}>]
[direct = <no/yes>]
dns
The IP address of the (remote) DNS server.
REQUIRED
src
The source IP address (pool) of the host(s) using this DNS server.
REQUIRED
mask
The appropriate source IP (sub)netmask.
REQUIRED
metric
A number between 0 and 100
Represents the metric (weight factor) for this DNS route.
OPTIONAL
direct
Selects whether DNS replies are sent directly back to the client versus 
being relayed by the DNS forwarder.
OPTIONAL
=>dns fwdlist
DNS
SRC
Metric Direct Permanent
10.0.0.138
10.0.0.2
1
no
yes
=>dns fwdadd dns=10.0.0.138 src=10.0.0.3 mask=24 direct=1
Dns forwarding server added.
=>dns fwdlist
DNS
SRC
Metric Direct Permanent
10.0.0.138
10.0.0.2
1
no
yes
10.0.0.138
10.0.0.3
1
yes
yes
=>
Deletes a DNS forwarding entry.
Lists all forwarding entries.