mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
9065cfaa88
If you define a libvirt virtual network with one or more IP addresses, it starts up an instance of dnsmasq. It's always been possible to avoid dnsmasq's dhcp server (simply don't include a <dhcp> element), but until now it wasn't possible to avoid having the DNS server listening; even if the network has no <dns> element, it is started using default settings. This patch adds a new attribute to <dns>: enable='yes|no'. For backward compatibility, it defaults to 'yes', but if you don't want a DNS server created for the network, you can simply add: <dns enable='no'/> to the network configuration, and next time the network is started there will be no dns server created (if there is dhcp configuration, dnsmasq will be started with "port=0" which disables the DNS server; if there is no dhcp configuration, dnsmasq won't be started at all). |
||
---|---|---|
.. | ||
dhcp6-nat-network.conf | ||
dhcp6-nat-network.xml | ||
dhcp6-network.conf | ||
dhcp6-network.xml | ||
dhcp6host-routed-network.conf | ||
dhcp6host-routed-network.xml | ||
isolated-network.conf | ||
isolated-network.xml | ||
nat-network-dns-forward-plain.conf | ||
nat-network-dns-forward-plain.xml | ||
nat-network-dns-forwarders.conf | ||
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 | ||
nat-network-dns-srv-record-minimal.xml | ||
nat-network-dns-srv-record.conf | ||
nat-network-dns-srv-record.xml | ||
nat-network-dns-txt-record.conf | ||
nat-network-dns-txt-record.xml | ||
nat-network-name-with-quotes.conf | ||
nat-network-name-with-quotes.xml | ||
nat-network.conf | ||
nat-network.xml | ||
netboot-network.conf | ||
netboot-network.xml | ||
netboot-proxy-network.conf | ||
netboot-proxy-network.xml | ||
open-network.conf | ||
open-network.xml | ||
routed-network-no-dns.conf | ||
routed-network-no-dns.xml | ||
routed-network.conf | ||
routed-network.xml |