From: Cole Robinson Date: Sun, 14 Jul 2019 23:46:15 +0000 (-0400) Subject: docs: formatnetwork: Document xmlns:dnsmasq X-Git-Tag: v5.6.0-rc1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e10b599a24205576de1d4b9f85b9b4e9968865e2;p=thirdparty%2Flibvirt.git docs: formatnetwork: Document xmlns:dnsmasq Reviewed-by: Laine Stump Signed-off-by: Cole Robinson --- diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in index 509cca9e8b..2448fb09e7 100644 --- a/docs/formatnetwork.html.in +++ b/docs/formatnetwork.html.in @@ -1096,6 +1096,28 @@ +

Network namespaces

+ +

+ 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. +

+ +

+ This example XML will pass the option strings foo=bar and + cname=*.foo.example.com,master.example.com directly to the + underlying dnsmasq instance. +

+<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>
+

+

Example configuration

NAT based network