提交 6a12fee1 编写于 作者: D Daniel P. Berrange

Use --strict-order with dnsmasq

上级 94033dd7
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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册