mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
973af2362c
Hi, this is the fifth version of my SRV record for DNSMasq patch rebased for the current codebase to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well. There are some things written a better way in comparison with version 4, mainly there's no hack in tests/networkxml2argvtest.c and also the xPath context is changed to use a simpler query using the virXPathInt() function relative to the current node. Also, the patch is also fixing the networkxml2argv test to pass both checks, i.e. both unit tests and also syntax check. Please review, Michal Signed-off-by: Michal Novotny <minovotn@redhat.com>
17 lines
510 B
Plaintext
17 lines
510 B
Plaintext
/usr/sbin/dnsmasq \
|
|
--strict-order \
|
|
--bind-interfaces \
|
|
--conf-file= \
|
|
--except-interface lo \
|
|
--srv-host=name.tcp.,,,, \
|
|
--listen-address 192.168.122.1 \
|
|
--listen-address 192.168.123.1 \
|
|
--listen-address 2001:db8:ac10:fe01::1 \
|
|
--listen-address 2001:db8:ac10:fd01::1 \
|
|
--listen-address 10.24.10.1 \
|
|
--dhcp-range 192.168.122.2,192.168.122.254 \
|
|
--dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases \
|
|
--dhcp-lease-max=253 \
|
|
--dhcp-no-override \
|
|
--dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile\
|