TR-DNS

WAN DNS

InternetGatewayDevice.WANDevice.{i}.WANConnectionDevice.{i}.WANPPPConnection.{i}.DNSEnabled

Whether or not the device SHOULD attempt to query a DNS server across this connection. 

是否禁用Router 使用DNS

InternetGatewayDevice.WANDevice.{i}.WANConnectionDevice.{i}.WANPPPConnection.{i}.DNSServers

Comma-separated list of DNS server IP addresses for this connection.  Support for more than three DNS Servers is OPTIONAL. 

指的是Router WAN 端所使用的DNS.

InternetGatewayDevice.WANDevice.{i}.WANConnectionDevice.{i}.WANPPPConnection.{i}.DNSOverrideAllowed

If DNSOverrideAllowed = False:

1. WAN DNS Configuration from WebGUI is allowed

2. WAN DNS configuration from ACS is allowed

3. If Dynamic WAN DNS is being used, automatic DNS from DHCP is allowed

4. If Static WAN DNS is configured, automatic DNS from DHCP is denied

If DNSOverrideAllowed = True:

1. WAN DNS Configuration from WebGUI is allowed 

2. WAN DNS configuration from ACS is denied

3. If Dynamic WAN DNS is being used, automatic DNS from DHCP is allowed(指的是WAN DNS 的获取方式是DHCP)

4. If Static WAN DNS is configured, DNSOverrideAllowed must change to False

LAN DNS

InternetGatewayDevice.LANDevice.{i}.LANHostConfigManagement.DNSServers

Comma-separated list of DNS server IP addresses to serve to DHCP LAN devices. Support for more than three DNS Servers is OPTIONAL.

LAN PC 获取的Router 分配的DNS.

InternetGatewayDevice.LANDevice.{i}.LANHostConfigManagement.X_<VENDOR>_DNSProxyEnabled

Specifies whether the Gateway will be proxying DNS requests to DHCP clients. If set to True, gateway must return it's LAN IP Address as the primary DNS Server (e.g. 192.168.0.1). Secondary and tertiary DNS Server may be determined by other parameters. If set to False, Gateway LAN IP Address must not automatically be returned as the primary DNS Server.

此时Router 充当的是DNSProxy

InternetGatewayDevice.LANDevice.{i}.LANHostConfigManagement.X_<vendor>_DNSUseAllocatedWAN

If Normal, the address pool is directly configured by the ACS. 

If Passthrough, and PassthroughMACAddress is empty, the configured values of the MinAddress, 

MaxAddress, SubnetMask and DNSServers parameters are ignored.  The corresponding 

address pool values are instead taken from the WAN connection specified by AssociatedConn-

Ection.

If Passthrough, and PassthroughMACAddress is non-empty, the LAN Host identified by 

PassthroughMACAddress is given a WAN IP address from the WAN connection specified by 

AssociatedConnection.  Other LAN Hosts are treated as for Normal. 

InternetGatewayDevice.LANDevice.{i}.LANHostConfigManagement.PassthroughMACAddress

Hardware address of the LAN Host that is used to passthrough a WAN IP address if UseAllocatedWAN is Passthrough. Note: An empty address indicates that no specific

应用实例:

默认情况下,客户希望使用ISPDNS Server (modem proxying DNS requests to WAN)

WAN DNS:

SPV DSNEnabled=True
SPV DNSOverrideAllowed=True
LAN DNS:
SPV X_<VENDOR>_DNSProxyEnabled=True
SPV DNSUseAllocatedWAN=Normal

此时Modem 充当的是DNS Proxy,所以LAN PC 应该获取Modem IP 作为DNS.

2  LAN 端 ,客户希望使用ISPDNS Server (without the modem proxying the DNS requests:)

WAN DNS:
SPV DNSEnabled=True
SPV DNSOverrideAllowed=True

LAN DNS:
SPV X_<VENDOR>_DNSProxyEnabled=False
SPV DNSUseAllocatedWAN=Passthrough
SPV DNSAssociatedConnection=<value from GPV IGD.Layer3Forwarding.DefaultConnectionService>
SPV PassthroughMACAddress=NULL

LAN PC 应该获取Modem WANDNS 作为 自己 的DNS Server.

在局域网中,客户希望使用自己的DSN Server (In order to host their own intranet content.)

WAN DNS:
SPV DSNEnabled=True
SPV DNSOverrideAllowed=True

LAN DNS:
SPV DNSServers=<LANIP1>[,<LANIP2>]
SPV X_<VENDOR>_DNSProxyEnabled=False
SPV DNSUseAllocatedWAN=Normal

Lan Client 会获得InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DNSServers 设置的DNS .

Modem 获取自己设置的DNS

WAN DNS:
SPV DSNEnabled=True
SPV DNSOverrideAllowed=False
SPV DNSServers=<LANIP1>[,<LANIP2>]

LAN DNS:
SPV X_<VENDOR>_DNSProxyEnabled=True
SPV DNSUseAllocatedWAN=Normal

Customer wants a certain LAN host to be assigned the same DNS Servers as the modem's WAN DNS Servers, while all other LAN hosts use the default DNS Server(s)

WAN DNS:
SPV DNSEnabled=True
SPV DNSOverrideAllowed=True

LAN DNS:
SPV X_<VENDOR>_DNSProxyEnabled=False
SPV DNSUseAllocatedWAN=Passthrough
SPV DNSAssociatedConnection=<value from GPV IGD.Layer3Forwarding.DefaultConnectionService>
SPV PassthroughMACAddress=<MAC Address of certain LAN host>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值