Draytek Vigor 160 Series User Manual page 262

Hide thumbs Also See for Vigor 160 Series:
Table of Contents

Advertisement

-i <profile setting index
number>
-l
-n<domain name>
-p<profile name>
-r
-s<0/1>
-z
E
x
a
m
p
l
E
x
a
m
p
> ip lanDNSRes -i 1 -n ftp.drayTek.com
% Configure Set1's DomainName:ftp.drayTek.com
> ip lanDNSRes -i 1 -n ftp.drayTek.com
> ip lanDNSRes -i 1 -a 172.16.2.10 -s 1
> ip lanDNSRes -i 1 -a 172.16.3.10 -s 1
> ip lanDNSRes -i 1 -a 172.16.4.10 -s 1
>
T
e
l
n
e
t
C
o
m
m
T
e
l
n
e
t
C
o
m
m
This command is used to set LAN DNS profile for conditional DNS forwarding.
ip dnsforward [-<command> <parameter> | ... ]
S
y
n
t
a
x
S
y
n
t
a
x
Parameter
[<command>
<parameter>|...]
-a <IP Address>
-d <DNS server mapping
index number>
-e <0/1>
-i <profile setting index
number>
-l
-n <domain name>
252
It means to create LAN DNS profile with specified domain name.
profile setting index number : type the index number which
represents the profile with domain name configured.
It means to list detailed information of profile configuration.
> ip lanDNSRes -l
%
% Idx: 7
% State: Enable
% Profile: DrayTekFTP
% Domain Name: ftp.draytek.com
% -------- Address Mapping Table --------
% Idx ReplyOnlySameSubnet IP Address
% 1
% 2
% 3
It means to specify a domain name to be accessed.
It means to set name of the LAN DNS profile.
It means to clear specified domain name profile and the address
mapping setting.
It means to determine all subnet packets or only the packets with
the same subnet will be replied for address mapping profile.
0: reply all subnet packets.
1: reply only same subnet packet.
It means to update LAN DNS configuration to DNS cache.
e
l
e
a
n
d
:
i
p
d
n
s
f
o
r
w
a
a
n
d
:
i
p
d
n
s
f
o
r
w
a
D
e
s
c
r
i
p
t
i
o
n
D
e
s
c
r
i
p
t
i
o
n
Description
The available commands with parameters are listed below.
[...] means that you can type in several commands in one line.
Set forwarded DNS server IP Address.
Delete the selected LAN DNS profile.
0: disable such function.
1: enable such function.
Type the index number of the profile.
List the content of LAN DNS profile (including domain name, IP
address and message).
Set domain name.
Yes
172.16.2.10
Yes
172.16.3.10
Yes
172.16.4.10
r
d
r
d
Vigo160 Series User's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents