diff --git a/resources/templates/provision/yealink/t56a/y000000000056.cfg b/resources/templates/provision/yealink/t56a/y000000000056.cfg index c48f0ebbcf..f1f4ef7e52 100644 --- a/resources/templates/provision/yealink/t56a/y000000000056.cfg +++ b/resources/templates/provision/yealink/t56a/y000000000056.cfg @@ -44,7 +44,8 @@ static.network.pc_port.speed_duplex = ##It enables or disables the phone to use manually configured static IPv4 DNS when Internet (WAN) port type for IPv4 is configured as DHCP. ##0-Disabled (use the IPv4 DNS obtained by DHCP) 1-Enabled ##The default value is 0.It takes effect after a reboot. -static.network.static_dns_enable = + +{if isset($dns_server_primary)}static.network.static_dns_enable = 1{else}static.network.static_dns_enable = 0{/if} static.network.ipv6_static_dns_enable = static.network.vlan.pc_port_mode =