win_dns_record

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?

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.

[1] - https://docs.ansible.com/ansible/latest/modules/win_dns_record_module.html

I need to not ansible on no sleep.