mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
docs: formatnetwork: Document xmlns:dnsmasq
Reviewed-by: Laine Stump <laine@laine.org> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
fb9f6ce625
commit
e10b599a24
@ -1096,6 +1096,28 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
<h3><a id="elementsNamespaces">Network namespaces</a></h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
A special XML namespace is available for passing options directly to the
|
||||||
|
underlying dnsmasq configuration file. Usage of XML namespaces comes with no
|
||||||
|
support guarantees, so use at your own risk.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This example XML will pass the option strings <code>foo=bar</code> and
|
||||||
|
<code>cname=*.foo.example.com,master.example.com</code> directly to the
|
||||||
|
underlying dnsmasq instance.
|
||||||
|
<pre>
|
||||||
|
<network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'>
|
||||||
|
...
|
||||||
|
<dnsmasq:options>
|
||||||
|
<dnsmasq:option value="foo=bar"/>
|
||||||
|
<dnsmasq:option value="cname=*.foo.example.com,master.example.com"/>
|
||||||
|
</dnsmasq:options>
|
||||||
|
</network></pre>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2><a id="examples">Example configuration</a></h2>
|
<h2><a id="examples">Example configuration</a></h2>
|
||||||
|
|
||||||
<h3><a id="examplesNAT">NAT based network</a></h3>
|
<h3><a id="examplesNAT">NAT based network</a></h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user