Operation Manual
Vigor2133 Series User’s Guide 
525
-i <profile setting index 
number> 
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. 
-l  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  Yes  172.16.2.10 
% 2  Yes  172.16.3.10 
% 3  Yes  172.16.4.10 
-n<domain name>  It means to specify a domain name to be accessed. 
-p<profile name>  It means to set name of the LAN DNS profile. 
-r  It means to clear specified domain name profile and the address 
mapping setting. 
-s<0/1>  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. 
-z  It means to update LAN DNS configuration to DNS cache. 
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> 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
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
i
i
p
p
d
d
n
n
s
s
f
f
o
o
r
r
w
w
a
a
r
r
d
d
This command is used to set LAN DNS profile for conditional DNS forwarding. 
ip dnsforward [-<command> <parameter> | ... ] 
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description 
[<command> 
<parameter>|…] 
The available commands with parameters are listed below. 
[…] means that you can type in several commands in one line. 
-a <IP Address>  Set forwarded DNS server IP Address. 
-d <DNS server mapping 
index number> 
Delete the selected LAN DNS profile. 
-e <0/1>  0: disable such function. 
1: enable such function. 
-i <profile setting index 
number> 
Type the index number of the profile. 
-l  List the content of LAN DNS profile (including domain name, IP 
address and message). 
-n <domain name>  Set domain name. 










