Module for configuring DNS Client on Windows systems
Configure the DNS server list from DHCP Server
Configure the DNS server list in the specified interface
Example:
config_dns_servers:
win_dns_client.dns_exists:
- replace: True #remove any servers not in the "servers" list, default is False
- servers:
- 8.8.8.8
- 8.8.8.9
New in version 2014.7.0.
Configure the global primary DNS suffix of a DHCP client.
The suffix which is advertised for this client when acquiring a DHCP lease When none is set, the explicitly configured DNS suffix will be removed.
Allow syncing the DNS suffix with the AD domain when the client's AD domain membership changes
primary_dns_suffix:
win_dns_client.primary_suffix:
- suffix: sub.domain.tld
- updates: True