code: def rm_dns(ip, interface='Local Area Connection'):
      '''
      Remove the DNS server from the network interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_dns_client.rm_dns <ip> <interface>
      '''
      cmd = ['netsh', 'interface', 'ip', 'delete', 'dns', interface, ip, 'validate=no']
      return __salt__['cmd.retcode'](cmd, python_shell=False) == f rm_dns(ip, interface='Local Area Connection'):
      '''
      Remove the DNS server from the network interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_dns_client.rm_dns <ip> <interface>
      '''
      cmd = ['netsh', 'interface', 'ip', 'delete', 'dns', interface, ip, 'validate=no']
      return __salt__['cmd.retcode'](cmd, python_shell=False) == 0
docs: Remove the DNS server from the network interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_dns_client.rm_dns <ip> <interface>