patch undefined: Updated the DNS configuration in the resolv.conf.j2 template to include both the local host and the Ansible-managed DNS server.
Added a new line to the `resolv.conf.j2` template to specify the Ansible-managed DNS server (`{{ addc_ansible_host }}`). This ensures that the system uses both the local host and the managed DNS server for DNS resolution.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
# Managed by Ansible - Samba AD DC DNS
|
||||
|
||||
{% for ns in samba_dns_nameservers %}
|
||||
nameserver {{ ns }}
|
||||
{% endfor %}
|
||||
# Managed by Ansible - Samba AD DC DNS- DO NOT EDIT MANUALLY
|
||||
search {{ addc_tld }}
|
||||
nameserver {{ addc_ansible_host }}
|
||||
Reference in New Issue
Block a user