• J
    network: Let domains be restricted to local DNS · 298fa485
    Josh Stone 提交于
    This adds a new "localOnly" attribute on the domain element of the
    network xml.  With this set to "yes", DNS requests under that domain
    will only be resolved by libvirt's dnsmasq, never forwarded upstream.
    
    This was how it worked before commit f69a6b98, and I found that
    functionality useful.  For example, I have my host's NetworkManager
    dnsmasq configured to forward that domain to libvirt's dnsmasq, so I can
    easily resolve guest names from outside.  But if libvirt's dnsmasq
    doesn't know a name and forwards it to the host, I'd get an endless
    forwarding loop.  Now I can set localOnly="yes" to prevent the loop.
    Signed-off-by: NJosh Stone <jistone@redhat.com>
    298fa485
formatnetwork.html.in 58.3 KB