On 05/19/2017 05:28 AM, Michael Ströder wrote:> HI!
>
> I have some virtual networks (not only bridged) in my libvirt 3.3.0
installation and
> therefore libvirt always starts dnsmasq. But I want to use my own DHCP and
DNS servers
> which are correctly working for this VM infrastructure.
>
> How to completely disable dnsmasq in libvirt?
To disable the DHCP service of dnsmasq, siply don't include a <dhcp>
element in the network's definition. To disable the DNS service of
dnsmasq, add "<dns enable='no'/> to the network definition.
If you do
both of these, there will be no dnsmasq instance for that network (since
there would be nothing for it to do).
(Disabling the DHCP server has been possible since the introduction of
libvirt virtual network. "<dns enable='no'/>" is
available since libvirt
2.2.0)