summaryrefslogtreecommitdiff
path: root/tests/networkxml2confdata/nat-network-dns-srv-record.conf
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.de>2016-09-21 10:49:41 +0200
committerLaine Stump <laine@laine.org>2016-10-10 15:15:11 -0400
commit4ac20b3ae4ab732c59e2db2338d7c00330451a80 (patch)
tree0e70f9136fbdfada6eba88320b41b84da365f309 /tests/networkxml2confdata/nat-network-dns-srv-record.conf
parent77d24de674d252a92fd44b8a131b2d101be37da8 (diff)
downloadlibvirt-4ac20b3ae4ab732c59e2db2338d7c00330451a80.tar.gz
network: add dnsmasq option 'dhcp-authoritative'
The dnsmasq man page recommends that dhcp-authoritative "should be set when dnsmasq is definitely the only DHCP server on a network". This is the case for libvirt-managed virtual networks. The effect of this is that VMs that fail to renew their DHCP lease in time (e.g. if the VM or host is suspended) will be able to re-acquire the lease even if it's expired, unless the IP address has been taken by some other host. This avoids various annoyances caused by changing VM IP addresses.
Diffstat (limited to 'tests/networkxml2confdata/nat-network-dns-srv-record.conf')
-rw-r--r--tests/networkxml2confdata/nat-network-dns-srv-record.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/networkxml2confdata/nat-network-dns-srv-record.conf b/tests/networkxml2confdata/nat-network-dns-srv-record.conf
index d7de422c71..af1ed70758 100644
--- a/tests/networkxml2confdata/nat-network-dns-srv-record.conf
+++ b/tests/networkxml2confdata/nat-network-dns-srv-record.conf
@@ -17,6 +17,7 @@ srv-host=_name6._tcp.test6.com,test6.example.com,6666,0,666
srv-host=_name7._tcp.test7.com,test7.example.com,1,0,777
dhcp-range=192.168.122.2,192.168.122.254
dhcp-no-override
+dhcp-authoritative
dhcp-lease-max=253
dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile
addn-hosts=/var/lib/libvirt/dnsmasq/default.addnhosts