[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.708)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 708
Commiter: yasu
Date: 2008-07-16 09:53:20 +0900 (水, 16 7月 2008)
=======================================================
Log:
DNS ttl time changed from 3600sec to 60sec when only one surrogate is available
=======================================================
Changed:
U cdn/trunk/DNS-Balance/dns_balance.rb
Modified: cdn/trunk/DNS-Balance/dns_balance.rb
===================================================================
--- cdn/trunk/DNS-Balance/dns_balance.rb 2008-07-15 16:02:47 UTC (rev 707)
+++ cdn/trunk/DNS-Balance/dns_balance.rb 2008-07-16 00:53:20 UTC (rev 708)
@@ -325,7 +325,8 @@
# TTL 選択。近い所がある事が分かっているなら TTL を長くする
if (a_array.size == 1)
- ttl = "\0\0\x0e\x10" # 1時間
+ ### ttl = "\0\0\x0e\x10" # 1時間 # out by ar@debian.org
+ ttl = "\0\0\0\x3c" # 60秒
else
ttl = "\0\0\0\x3c" # 60秒
end