Use --strict-order with dnsmasq

This commit is contained in:
Daniel P. Berrange 2007-05-02 15:51:14 +00:00
parent 94033dd73f
commit 6a12fee135
2 changed files with 10 additions and 0 deletions

View File

@ -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,

View File

@ -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");