From e1c2897a10582142829fc0da73ec6e153369d551 Mon Sep 17 00:00:00 2001 From: Alex Krzos Date: Mon, 5 Jan 2026 16:55:55 -0500 Subject: [PATCH] Adjust default dns from dnsmasq to coredns --- ansible/roles/bastion-network/tasks/main.yml | 2 +- ansible/roles/create-inventory/defaults/main/dns.yml | 2 +- ansible/vars/hv.sample.yml | 2 +- docs/deploy-vmno.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/bastion-network/tasks/main.yml b/ansible/roles/bastion-network/tasks/main.yml index 09e11bb4..cc8d4450 100644 --- a/ansible/roles/bastion-network/tasks/main.yml +++ b/ansible/roles/bastion-network/tasks/main.yml @@ -38,7 +38,7 @@ value: "0" when: controlplane_network | length > 1 or controlplane_network[0] | ansible.utils.ipv6 -- name: Increase the size of the arp-cache for dnsmasq +- name: Increase the size of the arp-cache for dns sysctl: name: "{{ item.name }}" value: "{{ item.value }}" diff --git a/ansible/roles/create-inventory/defaults/main/dns.yml b/ansible/roles/create-inventory/defaults/main/dns.yml index ce3d49d1..0aca31bb 100644 --- a/ansible/roles/create-inventory/defaults/main/dns.yml +++ b/ansible/roles/create-inventory/defaults/main/dns.yml @@ -4,7 +4,7 @@ cluster_name: mno base_dns_name: example.com # Setup and use coredns instead of dnsmasq -setup_coredns: false +setup_coredns: true # Appends each entry to /etc/hosts of bastion machine during cluster install to # allow sshuttle easy resolution when proxying into cluster diff --git a/ansible/vars/hv.sample.yml b/ansible/vars/hv.sample.yml index b50b2551..b69e307e 100644 --- a/ansible/vars/hv.sample.yml +++ b/ansible/vars/hv.sample.yml @@ -9,7 +9,7 @@ ssh_public_key_file: ~/.ssh/id_rsa.pub install_tc: true # Setup and use coredns instead of dnsmasq -setup_coredns: false +setup_coredns: true # Enables using DHCP instead of relying on static network configuration for VMs setup_hv_vm_dhcp: false diff --git a/docs/deploy-vmno.md b/docs/deploy-vmno.md index 109a0a1f..d10cb789 100644 --- a/docs/deploy-vmno.md +++ b/docs/deploy-vmno.md @@ -246,7 +246,7 @@ ssh_public_key_file: ~/.ssh/id_rsa.pub install_tc: true # Setup and use coredns instead of dnsmasq -setup_coredns: false +setup_coredns: true # Enables using DHCP instead of relying on static network configuration for VMs setup_hv_vm_dhcp: false