xbayDNS

  协议:New BSD License
  作者:huangdong
  团队:新浪研发中心──系统研发
  网址:http://code.google.com/p/xbaydns/

  xBayDNS是一个基于Web的BIND 9管理界面。与通常我们所知道的管理界面所不同的是,它尽可能的将DNS的管理简化,并帮助用户建立起一个容易管理、维护、扩展的DNS系统。

  一个普通的DNS服器可以提供域名的解析、代理、缓存这样的服务。我们期望DNS不但是一个服务,它更应该承担起GSLB、用户访问加速这样的任务。而在现实的环境中,应用DNS已经能够很好的完成这样的工作。所以沿着从前的经历,我们启动了xBayDNS这个项目,它的目的是让DNS服务在承担着GSLB和访问加速这样的工作时更容易管理。做为xBayDNS附加的礼物,也可以从中学到如何形成一个基于DNS的GSLB和用户访问加速的原理。

  xBayDNS的特性如下:
  • 基于Web的BIND管理
  • 非常容易的支持多种操作系统(现有我们考虑支持的就有FreeBSD、OpenBSD、MacOSX、Linux)
  • 支持ACL、View、TSIG这样的BIND高级管理功能

  什么时候使用xBayDNS?
  • 你需要简单的管理一台BIND的DNS服务器
  • 你需要多台DNS服务器来为你的用户提供解晰服务
  • 一套基于DNS的GSLB系统
  • 一套基于DNS的分布式GSLB系统
  • 你需要维护多台分布式的服务器

  安装:

  xBayDNS需要以下软件:
  • BIND (>9.4.1)
  • Django (0.96.1)
  • dnspython (1.6)
  • python(2.5)
  • setuptool

  1、安装xbaydns基础系统
  下载xbaydnsx.x.tar.gz,将它解压,执行安装脚本:
  python setup.py install
  它将会把xbaydns的基础系统安装到你的操作系统中。

  2、初始化BIND配置
  执行xbdinit,它会初始化操作系统中的BIND相关配置。对于不同操作系统,我们还需要你自己确认操作系统的BIND的启动设备:

  FreeBSD
  /etc/rc.conf中设置了 named_enable="YES"你可以使用
  /etc/rc.d/named restart
  了解是不是能正常启动bind。

  Mac OSX 10.5
  使用launchctl  load了org.isc.named的job。你可以使用
  service org.isc.named stop
  service org.isc.named start
  了解是不是能正常启动bind。

  3、启动xBayDNS WebAdmin
  在解开的包中有一个目录叫xbaydnsweb,在其中有全套的web系统,安装好Django后,到这个目录中执行:
  python manage.py runserver
  缺省的,登录管理系统的帐号为admin,它的密码也是admin。

  4、将xBayDNS的sync加入crontab中
  你希望用户增加的域名多久生效就在crontab中设置多久运行一次,运行这个sync脚本需要root权限,脚本为
  xbdsync
  它通常在/usr/local/bin中


Tags: , , ,
技术大类 » 其他Unix技术 | 评论(31) | 引用(0) | 阅读(29225)
代码罐头
2008-1-22 00:17
算是第一个来踩这篇文章的.
不错.半夜过来也有收获
本来也是想和公司同事写一个PHP的管理端页面
因为目前为止的BIND 9后台管理页面
还没有一个支持VIEW的.
这下好了.又省事了.呵呵.
游客2008
2008-1-22 11:46
不错~~ 有时间古倒古倒
timo Homepage
2008-1-22 16:24
Django 能不装不? 也就一个网页框架
做的跟phpmyadmin这样不是更好
iakuf Email
2008-1-24 13:20
好象很不错,能不能做电信网通分开来控制
coolzsb Email Homepage
2008-1-28 11:24
不是吧?起码webmin是支持的。
引用
因为目前为止的BIND 9后台管理页面
还没有一个支持VIEW的.
Bendy
2008-2-9 13:47
支持张老师
草根网 Homepage
2008-3-5 21:23
收藏至20ju.com
freeke Email Homepage
2008-6-12 12:28
郁闷啊,不支持redhat
zhang
2008-8-12 17:40
执行xbdssync出错,还有如何让xBayDNS WebAdmin在后台运行啊?
龙芯
2009-2-4 21:08
张哥,我的bind 9.2 能否用这个,版本比较低啊,,我看你要求 9.4 版本太高了哇
GHY
2009-2-11 16:10
在执行xbdinit的时候怎么会出现这个错误'NameError: name 'errno' is not defined"请问是什么原因啊,我的系统是centos 5.2
sery
2009-11-20 12:12
目前不支持linux
coach factory outlet Email Homepage
2012-5-17 11:20
Today, following half a century, mentor leather-bases coach factory outlet continues to be the delicate craft of leather-based master is accountable for,Would you like to meet more friends, or go with the times? If yes, coach factory online is opening welcome doors to you.in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our coach factory outlet online store to choose one.
louis vuitton sale Email Homepage
2012-5-17 11:20
Louis Vuitton belt at louis vuitton sale is one kind of fashion accessory with high cost performance among the Louis Vuitton accessories.Offering quality LV products with favorable prices, louis vuitton outlet store is at your service. Hurry up, or you can not seize the chance.in fact, louis vuitton is one of the most famous fashion design master.he opened the fist suitcase shop called after his name.
coach outlet online Email Homepage
2012-5-17 11:20
I heard of coach outlet online through the advertisement when I was shopping. And now I often brow the webpage and buy Coach bags online.It is a symbol regarding position not to mention nature.Here I would like to launch a excellent bags pertaining to business men.Which may be coach outlet store.coach outlet has always been simple,durable style features to win consumers.The products are more flexible,with easy bleaching,wear characteristics,and simply use a damp cloth.
coach outlet, Email Homepage
2012-5-17 11:20
Remember the coach outlet provide coach bags which won't be deteriorated into its overall styles by any means. It will maintain its looks, colors, and uniqueness for long time.coach outlet store online has been voted by Hour Detroit magazine readers as the Best of Detroit in their 12th annual readers'poll.Lots of women like which usually amount normally include a coach outlet online ,it provides coziness to many girls that don't even think it is a great bushel of great interest directly to them.
xujie777 Email
2012-5-18 16:29
We aim to make all our customers satisfy with our products. You will find a variety of Men's fashion louis vuitton uk, fashion Women's cheap Louis Vuitton bags in our store at affordable price.Thinking of interesting ways to cost a milestone birthday? louis vuitton online shop had one of the most distinctive distinctive celebrations.bakery along with living room operated by means of about three moment louis vuitton online Most effective Pastry Chef’s of the year Rammy Nominee Chef’s.
xujie777 Email
2012-5-18 16:29
The choices are likely to be basically countless seeing that louis vuitton outlet occurs with the help of completely new and also incredible concepts once in a while.Louis vuitton Wholesale Monogram Canvas HandbagsLouis Vuitton Collection Beach Handbags louis vuitton bags outlet Damier Canvas HandbagsLouis vuitton Mahina HandbagsLouis Vuitton Monogram Mini Lin HandbagsLouis Vuitton Monogram Multicolore HandbagsLouis vuitton Monogram Vernis HandbagsLouis Vuitton Wholesale Epi Leather HandbagsLouis Vuitton For Men HandbagsLouis Vuitton Damier Canvas WalletsLouis Vuitton Epi Leather WalletsLouis Vuitton Monogram Canvas WalletsLouis Vuitton Monogram Vernis WalleLouis Vuitton ShoesLouis Vuitton Men wallets.As the Authentic Louis Vuitton are so high-priced, so came the louis vuitton handbags outlet.
xujie777 Email
2012-5-18 16:30
coach outlet has become a popular shopping experience for consumers around the world, and a desirable distribution channel for manufacturer's and retailers.Getting your hands on coach outlet store online can be a hefty investment of hundreds of dollars.But do not despair,the Coach Outlet store could be the answer to your prayers.coach outlet online is your smart choice when you want to get the discount Coach accessory. You can find the exact Coach Bags and other accessory you want at a low price that's right for you. My dear friends, let the coach outlet online pave your way into the world of high fashion with their ultimate fashion factory.
xujie123
2012-5-21 11:15
Our online store offers you discounted Designer louis vuitton replica wallet at present. You could find them in desirable quality and price. If you don't mind high class louis vuitton uk, have a good time here.louis vuitton Store Online Handbags can also bring great accuracy as well as practical applicability and fashionable.Have you ever dreamed of being as charming as Madonna? Have you ever thought of becoming an envy of all your friends? If so, come to louis vuitton outlet.<br/>
分页: 1/2 第一页 1 2 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]