Module for configuring DNS Client on Windows systems
salt.states.win_dns_client.
dns_dhcp
(name, interface='Local Area Connection')¶Configure the DNS server list from DHCP Server
salt.states.win_dns_client.
dns_exists
(name, servers=None, interface='Local Area Connection', replace=False)¶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
salt.states.win_dns_client.
primary_suffix
(name, suffix=None, updates=False)¶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
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy