# \#dns

**URL:** https://forum.ansible.com/tag/dns/195.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [How to specify a host variable as the SSH target](https://forum.ansible.com/t/how-to-specify-a-host-variable-as-the-ssh-target/44369)

<div class="topic-metadata">

**Author:** [@0xkevin](https://forum.ansible.com/u/0xkevin)\
**Replies:** 2\
**Last updated:** [August 25, 2025, 8:41pm UTC](https://forum.ansible.com/t/how-to-specify-a-host-variable-as-the-ssh-target/44369 "2025-08-25T20:41:59Z")

</div>

Hi all, I am having difficulty finding information on how to tell Ansible Automation Platform to use one of the host variables as the SSH target. So for example, I have a host in an inventory in Ansible Automation Platf…

---

## [Authorization error while Fetching A record from Azure DNS using Ansible](https://forum.ansible.com/t/authorization-error-while-fetching-a-record-from-azure-dns-using-ansible/10533)

<div class="topic-metadata">

**Author:** [@chirag.modi](https://forum.ansible.com/u/chirag.modi)\
**Replies:** 0\
**Last updated:** [October 28, 2024, 12:04pm UTC](https://forum.ansible.com/t/authorization-error-while-fetching-a-record-from-azure-dns-using-ansible/10533 "2024-10-28T12:04:53Z")

</div>

\*\*I am trying to fetch DNS A record from Azure using SPN(Service Principal Name). But I am receiving authorization specific error. While I try to fetch A record using AZ cli with same SPN I get the details successfully a…

---

## [Error "HTTP Error 404: Not Found" when Configuring DNS Settings on iDRAC Using Ansible](https://forum.ansible.com/t/error-http-error-404-not-found-when-configuring-dns-settings-on-idrac-using-ansible/7324)

<div class="topic-metadata">

**Author:** [@kou](https://forum.ansible.com/u/kou)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 3:35pm UTC](https://forum.ansible.com/t/error-http-error-404-not-found-when-configuring-dns-settings-on-idrac-using-ansible/7324 "2024-07-18T15:35:16Z")

</div>

Hello everyone, I am encountering an issue while trying to configure DNS settings on iDRAC using Ansible. My playbook uses the dellemc.openmanage.idrac\_attributes module to set DNS attributes. However, I’m receiving an …

---

## [Getting TSIG update error (PeerBadKey) when running Bind9 role](https://forum.ansible.com/t/getting-tsig-update-error-peerbadkey-when-running-bind9-role/2832)

<div class="topic-metadata">

**Author:** [@bobul](https://forum.ansible.com/u/bobul)\
**Replies:** 0\
**Last updated:** [December 10, 2023, 9:56am UTC](https://forum.ansible.com/t/getting-tsig-update-error-peerbadkey-when-running-bind9-role/2832 "2023-12-10T09:56:11Z")

</div>

I am getting this kind of error fatal: \[bobul-2\]: FAILED! =\> {"changed": false, "msg": "TSIG update error (PeerBadKey): The peer didn't know the key we used"} when I am trying to create A record in the Bind9 zone using n…

---

## [Nmcli changes not persistent in rhel 8.6](https://forum.ansible.com/t/nmcli-changes-not-persistent-in-rhel-8-6/1064)

<div class="topic-metadata">

**Author:** [@ErickPH](https://forum.ansible.com/u/ErickPH)\
**Replies:** 4\
**Last updated:** [October 6, 2023, 8:51am UTC](https://forum.ansible.com/t/nmcli-changes-not-persistent-in-rhel-8-6/1064 "2023-10-06T08:51:54Z")

</div>

I have a DHCP Rhel 8.6 in Azure system that runs cloud-init at each boot. I want to change the obtained DNS servers at each boot for a specific DNS. But I want to do it in ansible. My question is why the following ansibl…
