Draytek Vigor2926L User Manual page 746

Vigor2926 series dual-wan security router
Table of Contents

Advertisement

-i <profile setting index
number>
-l
-n<domain name>
-p<profile name>
-r
-s<0/1>
-z
E
E
x
x
a
a
m
m
p
p
l
> 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
>
ip lanDNSRes -l
%
% Idx: 7
% State: Enable
% Profile: DrayTekFTP
% Domain Name: ftp.draytek.com
% -------- Address Mapping Table --------
% Idx ReplyOnlySameSubnet IP Address
% 1
% 2
% 3
Yes
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>
730
0: disable
1: enable
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.
l
e
e
Yes
Yes
172.16.4.10
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.
Yes
172.16.2.10
Yes
172.16.3.10
Yes
172.16.4.10
172.16.2.10
172.16.3.10
r
d
r
d
Vigor2926 Series User's Guide

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Vigor2926L and is the answer not in the manual?

Questions and answers

Table of Contents