ICP提供DNS服务,肯定需要用到将DNS数据入库管理,并且能动态更改的需求.在尝试网上流传的<<bind-9.3.1 + mysql-4.1.9 + web管理详细配置全过程>>一文发现一个问题:

每增加一个域就要修改named.conf文件加入

[CODE]zone "mydomain.com" { type master; database "mysqldb dnsdb mydomain localhost root passwd"; };[/CODE]

修改后仍需重启named,没有实现真正的动态添加修改DNS的目的.

采用BIND+DLZ则做到了Dynamically Loadable Zones.

所谓DLZ (Dynamically Loadable Zones) is a patch for BIND version 9 that simplifies BIND

administration and reduces memory usage and startup time. DLZ allows you to store your zone

data in a database. Unlike using scripts, the changes in your database are immediately

reflected in BIND's response to DNS queries, so there is no need to reload or restart BIND.

You see, BIND "dynamically loads" the "zone" data it needs to answer a query from the

database.

下面是安装步骤:

more..

Posted by microsea


Trackback URL : 无法向此文章发送引用

Leave a comment
« Previous : 1 : ... 267 : 268 : 269 : 270 : 271 : 272 : 273 : 274 : 275 : ... 344 : Next »

BlogImage

Microsea,Fiona & Owen's family BLOG

- microsea

Statistics Graph

Calendar

«   Nov 2008   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

闽ICP备06003076号