mirror of https://gitee.com/openkylin/libvirt.git
Use --strict-order with dnsmasq
This commit is contained in:
parent
94033dd73f
commit
6a12fee135
|
@ -1,3 +1,7 @@
|
|||
Wed May 2 11:50:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* qemud/qemud.c: Use --strict-order when running dnsmasq
|
||||
|
||||
Mon Apr 30 18:33:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* src/libvirt.c, src/driver.h, src/proxy_internal.c,
|
||||
|
|
|
@ -1110,6 +1110,7 @@ qemudBuildDnsmasqArgv(struct qemud_server *server,
|
|||
len =
|
||||
1 + /* dnsmasq */
|
||||
1 + /* --keep-in-foreground */
|
||||
1 + /* --strict-order */
|
||||
1 + /* --bind-interfaces */
|
||||
2 + /* --pid-file "" */
|
||||
2 + /* --conf-file "" */
|
||||
|
@ -1133,6 +1134,11 @@ qemudBuildDnsmasqArgv(struct qemud_server *server,
|
|||
APPEND_ARG(*argv, i++, "dnsmasq");
|
||||
|
||||
APPEND_ARG(*argv, i++, "--keep-in-foreground");
|
||||
/*
|
||||
* Needed to ensure dnsmasq uses same algorithm for processing
|
||||
* multiple nameserver entries in /etc/resolv.conf as GLibC.
|
||||
*/
|
||||
APPEND_ARG(*argv, i++, "--strict-order");
|
||||
APPEND_ARG(*argv, i++, "--bind-interfaces");
|
||||
|
||||
APPEND_ARG(*argv, i++, "--pid-file");
|
||||
|
|
Loading…
Reference in New Issue