[Dnsmasq-discuss] 转发:the --addn-hosts doesn't support reload when the host file changed

李乐 78369882 at qq.com
Wed Sep 25 08:52:56 BST 2013


------------------ 原始邮件 ------------------
  发件人: "我自己的邮箱";<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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130925/ef15b7b2/attachment-0001.html>


More information about the Dnsmasq-discuss mailing list