summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/templates/network.xml
diff options
context:
space:
mode:
authorJaroslav Henner <jhenner@redhat.com>2015-09-30 20:51:35 +0200
committerJaroslav Henner <jhenner@redhat.com>2015-09-30 21:26:40 +0200
commit832bc1f47fce1b61f23259502c08f9253656cb38 (patch)
treec128452c4ea734495599e0bbc0e77ec848b4857d /playbooks/libvirt/openshift-cluster/templates/network.xml
parent34465b6edd45ea34b98563cd772cb28eb2265bde (diff)
downloadopenshift-832bc1f47fce1b61f23259502c08f9253656cb38.tar.gz
openshift-832bc1f47fce1b61f23259502c08f9253656cb38.tar.bz2
openshift-832bc1f47fce1b61f23259502c08f9253656cb38.tar.xz
openshift-832bc1f47fce1b61f23259502c08f9253656cb38.zip
Prevent dns resolution recursion (loop).
The dnsmasq should not be resolving the example.com recursively, because in case that we have /etc/NetworkManager/dnsmasq.d/libvirt_dnsmasq.conf: server=/example.com/192.168.55.1 the dnsmasq will be asking itself, therefore a dns resolution loop is created, which causes Maximum number of concurrent DNS queries reached (max: 150) and performance degradation of dns resolution on the whole hypervizor and guests. This patch will fix that in the domain.xml, which will cause adding local=/example.com/ to the /var/lib/libvirt/dnsmasq/openshift-ansible.conf, effectively fixing the problem.
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/templates/network.xml')
-rw-r--r--playbooks/libvirt/openshift-cluster/templates/network.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/templates/network.xml b/playbooks/libvirt/openshift-cluster/templates/network.xml
index 86dcd62bb..050bc7ab9 100644
--- a/playbooks/libvirt/openshift-cluster/templates/network.xml
+++ b/playbooks/libvirt/openshift-cluster/templates/network.xml
@@ -8,7 +8,7 @@
<!-- TODO: query for first available virbr interface available -->
<bridge name='virbr3' stp='on' delay='0'/>
<!-- TODO: make overridable -->
- <domain name='example.com'/>
+ <domain name='example.com' localOnly='yes' />
<dns>
<!-- TODO: automatically add host entries -->
</dns>