Open GoogleCodeExporter opened 9 years ago
不是所有二级域名都用一个IP就可以的
Original comment by Pluto.Ha...@gmail.com
on 27 Apr 2012 at 1:59
没说所有的用一个IP,但是也应该尽量精简代码,以达到最大
效率。尤其是DD-WRT或者Tomato上dnsmasq的配置是有大小限制的。
事实上hosts中有关google的283条只有20条没有使用203.208.45.200这��
�IP。而且以下两条共存是没有意义的:
server=/talkx.l.google.com/114.114.114.114
address=/talkx.l.google.com/203.208.46.180
Original comment by helleon
on 27 Apr 2012 at 2:14
其实在dnsmasq.conf中加入
addn-hosts=/etc/smarthosts
然后自己手动或者cron或者在拨号后的脚本里
wget https://smarthosts.googlecode.com/svn/trunk/hosts -O /etc/smarthosts
这样应该也行得通吧?
Original comment by zlo...@gmail.com
on 13 Dec 2012 at 4:43
Original issue reported on code.google.com by
helleon
on 26 Apr 2012 at 3:10