win_dns_record

67 views
Skip to first unread message

Jesse Lyon

unread,
Feb 19, 2020, 4:11:39 PM2/19/20
to Ansible Project
OK,

Am I missing something? or is this module requiring you to run it against the DNS server directly?

I know I though powershell normally can define the DNS server I wish to execute against, but this module doesn't look like I can tweak that any, without adding the feature manually.

How difficult would this be to get a feature added?
Looking through the .ps1 files, it doesn't look like it would be difficult, and that honestly, most of it is there already, namely by commenting out the variable below and hard setting it to my preferred whipp--... DNS server.

$dns_computer_name = "1.1.1.1"
#$dnscomputer_name = $module.Params.computer_name


Ideas?

Jordan Borean

unread,
Feb 19, 2020, 5:46:11 PM2/19/20
to Ansible Project
Going by that snippet you should be setting the module option 'computer_name', it's even documented in it's docs that computer_name is [1]

Specifies a DNS server.
You can specify an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.


Jesse Lyon

unread,
Feb 19, 2020, 7:38:43 PM2/19/20
to Ansible Project
I need to not ansible on no sleep.
Reply all
Reply to author
Forward
0 new messages