libvirt/tests/networkxml2xmlin
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
..
8021Qbh-net.xml conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
bandwidth-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
dhcp6host-routed-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
direct-net.xml conf: support abstracted interface info in network XML 2011-07-21 14:46:53 -04:00
empty-allow-ipv6.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
host-bridge-net.xml conf: support abstracted interface info in network XML 2011-07-21 14:46:53 -04:00
host-bridge-no-flood.xml conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
hostdev-duplicate.xml network: prevent duplicate entries in network device pools 2016-04-19 12:39:13 -04:00
hostdev-pf.xml network: support <driver name='vfio'/> in network definitions 2013-04-26 21:51:12 -04:00
hostdev.xml conf: parser/formatter/rng for <forward mode='hostdev'> 2012-08-17 15:43:26 -04:00
isolated-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
metadata.xml Allow custom metadata in network configuration XML 2016-07-01 13:05:25 -04:00
nat-network-dns-forward-plain.xml network: permit upstream forwarding of unqualified DNS names 2013-08-14 09:46:22 -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.xml network: allow limiting a <forwarder> element to certain domains 2016-08-19 21:34:51 -04:00
nat-network-dns-hosts.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-record-minimal.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-record.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-records.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-dns-txt-record.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-explicit-flood.xml conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
nat-network-forward-nat-address.xml Add '<nat>' element to '<forward>' network schemas 2013-09-05 13:45:49 +02:00
nat-network-forward-nat-no-address.xml conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
nat-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
netboot-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
netboot-proxy-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
open-network-with-forward-dev.xml network: new network forward mode 'open' 2016-08-19 21:05:15 -04:00
open-network.xml network: new network forward mode 'open' 2016-08-19 21:05:15 -04:00
openvswitch-net.xml Configure native vlan modes on Open vSwitch ports 2013-06-25 00:22:36 -04:00
passthrough-address-crash.xml conf: net: Correctly switch how to format address fields 2014-08-21 15:55:07 +02:00
passthrough-duplicate.xml network: prevent duplicate entries in network device pools 2016-04-19 12:39:13 -04:00
passthrough-pf.xml conf: parser/formatter/rng for <forward mode='hostdev'> 2012-08-17 15:43:26 -04:00
routed-network-no-dns-extra-elements.xml network: allow disabling dnsmasq's DNS server 2016-08-19 21:10:34 -04:00
routed-network-no-dns.xml network: allow disabling dnsmasq's DNS server 2016-08-19 21:10:34 -04:00
routed-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
set-mtu.xml conf: support configuring mtu size in a virtual network 2017-02-07 13:52:06 -05:00
vepa-net.xml conf: add trustGuestRxFilters attribute to network and domain interface 2014-10-06 11:49:10 -04:00