-e <0/1>
-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 -p test
% Configure Set1's Profile:test
> ip lanDNSRes -i 1 -l
% Idx: 1
% State: Disable
% Profile: test
% Domain Name:
% -------- Address Mapping Table --------
% Not Set Address Mapping.
>
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>
-p <profile name>
-r
E
x
a
m
p
l
E
x
a
m
p
Vigor2832 Series User's Guide
0: disable the selected LAN DNS profile.
1: enable the selected LAN DNS profile.
Type the index number of the profile.
List the content of LAN DNS profile (including domain name, IP
address and message).
Set domain name.
Set profile name for LAN DNS.
Reset the settings for selected profile.
0:reply all 1:reply only same subnet packet
update LAN DNS config 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.
Set profile name for LAN DNS.
Reset the settings for selected profile.
e
l
e
r
d
r
d
551