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). |
||
---|---|---|
.. | ||
8021Qbh-net.xml | ||
bandwidth-network.xml | ||
dhcp6host-routed-network.xml | ||
direct-net.xml | ||
empty-allow-ipv6.xml | ||
host-bridge-net.xml | ||
host-bridge-no-flood.xml | ||
hostdev-pf.xml | ||
hostdev.xml | ||
isolated-network.xml | ||
metadata.xml | ||
nat-network-dns-forward-plain.xml | ||
nat-network-dns-forwarders.xml | ||
nat-network-dns-hosts.xml | ||
nat-network-dns-srv-record-minimal.xml | ||
nat-network-dns-srv-record.xml | ||
nat-network-dns-srv-records.xml | ||
nat-network-dns-txt-record.xml | ||
nat-network-explicit-flood.xml | ||
nat-network-forward-nat-address.xml | ||
nat-network-forward-nat-no-address.xml | ||
nat-network.xml | ||
netboot-network.xml | ||
netboot-proxy-network.xml | ||
open-network.xml | ||
openvswitch-net.xml | ||
passthrough-address-crash.xml | ||
passthrough-pf.xml | ||
routed-network-no-dns.xml | ||
routed-network.xml | ||
vepa-net.xml |