libvirt/tests/networkxml2confdata
Laine Stump 0b6336c2d9 network: allow limiting a <forwarder> element to certain domains
For some unknown reason the original implementation of the <forwarder>
element only took advantage of part of the functionality in the
dnsmasq feature it exposes - it allowed specifying the ip address of a
DNS server which *all* DNS requests would be forwarded to, like this:

   <forwarder addr='192.168.123.25'/>

This is a frontend for dnsmasq's "server" option, which also allows
you to specify a domain that must be matched in order for a request to
be forwarded to a particular server. This patch adds support for
specifying the domain. For example:

   <forwarder domain='example.com' addr='192.168.1.1'/>
   <forwarder domain='www.example.com'/>
   <forwarder domain='travesty.org' addr='10.0.0.1'/>

would forward requests for bob.example.com, ftp.example.com and
joe.corp.example.com all to the DNS server at 192.168.1.1, but would
forward requests for travesty.org and www.travesty.org to
10.0.0.1. And due to the second line, requests for www.example.com,
and odd.www.example.com would be resolved by the libvirt network's own
DNS server (i.e. thery wouldn't be immediately forwarded) even though
they also match 'example.com' - the match is given to the entry with
the longest matching domain. DNS requests not matching any of the
entries would be resolved by the libvirt network's own DNS server.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1331796
2016-08-19 21:34:51 -04:00
..
dhcp6-nat-network.conf network: fix DHCPv6 on networks with prefix != 64 2016-04-21 15:06:25 -04:00
dhcp6-nat-network.xml
dhcp6-network.conf network: fix DHCPv6 on networks with prefix != 64 2016-04-21 15:06:25 -04:00
dhcp6-network.xml
dhcp6host-routed-network.conf network: fix DHCPv6 on networks with prefix != 64 2016-04-21 15:06:25 -04:00
dhcp6host-routed-network.xml
isolated-network.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
isolated-network.xml
nat-network-dns-forward-plain.conf
nat-network-dns-forward-plain.xml
nat-network-dns-forwarders.conf network: allow limiting a <forwarder> element to certain domains 2016-08-19 21:34:51 -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.conf
nat-network-dns-hosts.xml
nat-network-dns-local-domain.conf network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
nat-network-dns-local-domain.xml network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
nat-network-dns-srv-record-minimal.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
nat-network-dns-srv-record-minimal.xml
nat-network-dns-srv-record.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
nat-network-dns-srv-record.xml
nat-network-dns-txt-record.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
nat-network-dns-txt-record.xml
nat-network-name-with-quotes.conf network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
nat-network-name-with-quotes.xml network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
nat-network.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
nat-network.xml
netboot-network.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
netboot-network.xml
netboot-proxy-network.conf network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
netboot-proxy-network.xml
open-network.conf 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
routed-network-no-dns.conf 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.conf
routed-network.xml