docs: def dns_dhcp(name, interface='Local Area Connection'):
      '''
      Configure the DNS server list from DHCP Server
      '''
      ret = {'name': name,
             'result': True,
             'changes': {},
             'comment': ''}
  
      # Check the config
      config = __salt__['win_dns_client.get_dns_config'](interface)
      if config == 'dhcp':
          ret['comment'] = '{0} already configured with DNS from DHCP'.format(
                  interface)
          return ret
      else:
          ret['changes'] = {'dns': 'configured from DHCP'}
  
      if __opts__['test']:
          ret['result'] = None
          return ret
  
      # change the configuration
      ret['result'] = __salt__['win_dns_client.dns_dhcp'](interface)
      if not ret['result']:
          ret['changes'] = {}
          ret['comment'] = (
                  'Could not configure "{0}" DNS servers from DHCP'
                  ).format(interface)
  
      return ret