[Dnsmasq-discuss] 转发:the --addn-hosts doesn't support reload when the host file changed
Simon Kelley
simon at thekelleys.org.uk
Wed Sep 25 10:20:26 BST 2013
Are you sending SIGHUP to dnsmasq to tell it to re-read the configuration?
Cheers,
Simon.
On 25/09/13 08:52, 李乐 wrote:
> ------------------ 原始邮件 ------------------
> 发件人: "我自己的邮箱";<78369882 at qq.com>;
> 发送时间: 2013年9月25日(星期三) 中午1:50
> 收件人: "dnsmasq-discuss"<dnsmasq-discuss at lists.thekelleys.org.uk>;
>
> 主题: 转发:the --addn-hosts doesn't support reload when the host file changed
>
>
>
>
> what should i do ?
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "我自己的邮箱";<78369882 at qq.com>;
> 发送时间: 2013年9月25日(星期三) 中午1:48
> 收件人: "simon"<simon at thekelleys.org.uk>;
>
> 主题: the --addn-hosts doesn't support reload when the host file changed
>
>
>
> I use the dnamasq for loadbalance, i special the servername in the file hosts.book ,like this:
> 10.13.0.210 rr.dnsmasq.com
> 10.71.89.121 rr.dnsmasq.com
> 10.13.1.105 rr.dnsmasq.com
> then ,I start the process:
> /usr/sbin/dnsmasq -a 127.0.0.1 -c 1000 --resolv-file=/etc/resolv.dnsmasq --no-negcache --all-servers -H /etc/hosts.book --local-ttl=60 -d
>
> It works very well.but when i changed the file hosts.book,like this:
> 10.71.89.121 rr.dnsmasq.com
> 10.13.1.105 rr.dnsmasq.com
>
> the dnsmasq can't reload the hosts.book, what should i do? so the value of the domain rr.dnsmasq.com can't change.
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list