mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
4ac20b3ae4
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.
24 lines
939 B
Plaintext
24 lines
939 B
Plaintext
##WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
|
|
##OVERWRITTEN AND LOST. Changes to this configuration should be made using:
|
|
## virsh net-edit default
|
|
## or other application using the libvirt API.
|
|
##
|
|
## dnsmasq conf file created by libvirt
|
|
strict-order
|
|
except-interface=lo
|
|
bind-dynamic
|
|
interface=virbr0
|
|
srv-host=_name._tcp.test-domain-name.com,test.example.com,1111,11,111
|
|
srv-host=_name2._udp,test2.example.com,2222,22,222
|
|
srv-host=_name3._tcp.test3.com,test3.example.com,3333,33
|
|
srv-host=_name4._tcp.test4.com,test4.example.com,4444
|
|
srv-host=_name5._udp,test5.example.com,1,55,555
|
|
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
|