- 授权协议: 未知
- 开发语言: Ruby
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/ruby-pdns/
软件介绍
ruby-pdns 是一个简单的Ruby库用来开发动态基于 PowerDNS的DNS记录应用,它将复杂的DNS操作过程封装起来并提供简单易用的方法,示例代码如下所示:
module Pdns
newrecord("www.your.net") do |query, answer|
case country(query[:remoteip])
when "US", "CA"
answer.content "64.xx.xx.245"
when "ZA", "ZW"
answer.content "196.xx.xx.10"
else
answer.content "78.xx.xx.140"
end
end
end
Pro Django
Marty Alchin / Apress / 2008-11-24 / USD 49.99
Django is the leading Python web application development framework. Learn how to leverage the Django web framework to its full potential in this advanced tutorial and reference. Endorsed by Django, Pr......一起来看看 《Pro Django》 这本书的介绍吧!
