libvirt/tests/networkxml2confdata
Laine Stump 15b5902db9 network: don't add "no-resolv" if we still need DNS servers from resolv.conf
It was pointed out here:

  https://bugzilla.redhat.com/show_bug.cgi?id=1331796#c4

that we shouldn't be adding a "no-resolv" to the dnsmasq.conf file for
a network if there isn't any <forwarder> element that specifies an IP
address but no qualifying domain. If there is such an element, it will
handle all DNS requests that weren't otherwise handled by one of the
forwarder entries with a matching domain attribute. If not, then DNS
requests that don't match the domain of any <forwarder> would not be
resolved if we added no-resolv.

So, only add "no-resolv" when there is at least one <forwarder>
element that specifies an IP address but no qualifying domain.
2017-03-21 11:25:59 -04:00
..
dhcp6-nat-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
dhcp6-nat-network.xml schema: Let elements in /network/ip be specified in any order 2016-12-14 16:20:23 +01:00
dhcp6-network.conf
dhcp6-network.xml
dhcp6host-routed-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
dhcp6host-routed-network.xml
isolated-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
isolated-network.xml
nat-network-dns-forward-plain.conf
nat-network-dns-forward-plain.xml
nat-network-dns-forwarder-no-resolv.conf network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
nat-network-dns-forwarder-no-resolv.xml network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
nat-network-dns-forwarders.conf network: don't add "no-resolv" if we still need DNS servers from resolv.conf 2017-03-21 11:25:59 -04:00
nat-network-dns-forwarders.xml
nat-network-dns-hosts.conf
nat-network-dns-hosts.xml
nat-network-dns-local-domain.conf
nat-network-dns-local-domain.xml
nat-network-dns-srv-record-minimal.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
nat-network-dns-srv-record-minimal.xml
nat-network-dns-srv-record.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
nat-network-dns-srv-record.xml
nat-network-dns-txt-record.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
nat-network-dns-txt-record.xml
nat-network-name-with-quotes.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
nat-network-name-with-quotes.xml
nat-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
nat-network.xml
netboot-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
netboot-network.xml schema: Let elements in /network/ip be specified in any order 2016-12-14 16:20:23 +01:00
netboot-proxy-network.conf network: add dnsmasq option 'dhcp-authoritative' 2016-10-10 15:15:11 -04:00
netboot-proxy-network.xml
open-network.conf
open-network.xml
ptr-domains-auto.conf network: Add support for local PTR domains 2016-12-19 09:03:29 +01:00
ptr-domains-auto.xml network: Add support for local PTR domains 2016-12-19 09:03:29 +01:00
routed-network-no-dns.conf
routed-network-no-dns.xml
routed-network.conf
routed-network.xml