diff --git a/resources/templates/provision/yealink/t58v/y000000000058.cfg b/resources/templates/provision/yealink/t58v/y000000000058.cfg index 318a2e728f..44ac9de06a 100644 --- a/resources/templates/provision/yealink/t58v/y000000000058.cfg +++ b/resources/templates/provision/yealink/t58v/y000000000058.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 =