One of the common complaints we've received over the years about BIND 9 is that large authoritative servers, particularly those with a very large number of small zones, are slow to launch. I've met some DNS operators who expressed a powerful aversion to upgrading their systems, because a shutdown and restart can literally take all day.

If that describes you, I have some good news. There is a simple optimization for BIND 9 that can dramatically improve your startup performance. New versions of BIND are being released soon to take advantage of it.

本日志由 flyinweb 于 2011-09-06 09:03:52 发表到 DNS技术 中,目前已经被浏览 604 次,评论 0 次;

作者添加了以下标签: isc_taskpool_createStartup Performance

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

需要的文件:

BIND的源码http://ftp.isc.org/isc/bind9/9.6.1-P2/bind-9.6.1-P2.tar.gz

目录列表:

/opt/bind 保存编译安装以后的bind
/opt/chroot bind
chroot运行环境根目录

目录结构如下:

bind
|-- bin
|-- etc
|-- include
| |-- bind9
| |-- dns
| |-- dst
| |-- isc
| |-- isccc
| |-- isccfg
| `-- lwres
|-- lib
|-- sbin
|-- share
| `-- man
| |-- man1
| |-- man3
| |-- man5
| `-- man8
`-- var
`-- run

chroot
|-- dev
|-- etc
`-- var
|-- log
|-- named
| |-- slaves
| `-- zones
`-- run

本日志由 flyinweb 于 2011-07-29 09:38:12 发表到 DNS技术 中,目前已经被浏览 834 次,评论 0 次;

作者添加了以下标签: bind9-chrootbindchroot

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

 bind dlz(mysql)运行过程时出现如下错误:

Nov 24 10:35:01 lbbackup named[4155]: starting BIND 9.7.1-P2 -u named -c /usr/local/bind/etc/named.conf.mysql
Nov 24 10:35:01 lbbackup named[4155]: built with '--prefix=/usr/local/bind' '--with-dlz-mysql=/usr/local/mysql' '--enable-threads=no
' '--enable-largefile'
Nov 24 10:35:01 lbbackup named[4155]: using up to 4096 sockets
Nov 24 10:35:01 lbbackup named[4155]: loading configuration from '/usr/local/bind/etc/named.conf.mysql'
Nov 24 10:35:01 lbbackup named[4155]: reading built-in trusted keys from file '/usr/local/bind/etc/bind.keys'
Nov 24 10:35:01 lbbackup named[4155]: using default UDP/IPv4 port range: [1024, 65535]
Nov 24 10:35:01 lbbackup named[4155]: using default UDP/IPv6 port range: [1024, 65535]
Nov 24 10:35:01 lbbackup named[4155]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 24 10:35:01 lbbackup named[4155]: listening on IPv4 interface eth0, 192.168.146.155#53
Nov 24 10:35:01 lbbackup named[4155]: listening on IPv4 interface eth1, 10.0.0.155#53
Nov 24 10:35:01 lbbackup named[4155]: Required root permissions to open '/usr/local/bind/var/run/named.pid'.
Nov 24 10:35:01 lbbackup named[4155]: Please check file and directory permissions or reconfigure the filename.
Nov 24 10:35:01 lbbackup named[4155]: generating session key for dynamic DNS
Nov 24 10:35:01 lbbackup named[4155]: Loading 'Mysql zone' using driver mysql
Nov 24 10:35:01 lbbackup named[4155]: Required token $zone$ not found.
Nov 24 10:35:01 lbbackup named[4155]: Could not build all nodes query list
Nov 24 10:35:01 lbbackup named[4155]: mysql driver could not create database instanceobject.
段错误 (core dumped) #加-g -d 1时出现

本日志由 flyinweb 于 2010-11-24 10:50:03 发表到 DNS技术 中,目前已经被浏览 3936 次,评论 0 次;

作者添加了以下标签: bind dlz

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

简介:

本文介绍使用Bind+Berkerley DB驱动(BDBHPT)实现DNS的动态更新。

本日志由 flyinweb 于 2010-09-28 08:29:23 发表到 DNS技术 中,目前已经被浏览 4491 次,评论 0 次;

作者添加了以下标签: Berkeley DBbind dlz

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Bind-DLZ with MySQL

DNS management with Bind has traditionally been flat files and slave/master configurations. Bind also has a feature/extension called DLZ — dynamically loaded zones. This feature can be very useful when designing applications that use databases or directories for storage rather than having to design your application to address a filesystem to create resource records or zone files.

In this article, I will explain how to set this up for a configuration where there are thousands of name-based virtual hosts hosted on the same VIP/email infrastructure using the same resource record on a CentOS 5.X system using MySQL to store records. The Bind version is 9.6.0-P1.

本日志由 flyinweb 于 2010-09-02 08:43:53 发表到 DNS技术 中,目前已经被浏览 4409 次,评论 0 次;

作者添加了以下标签: bind dlz

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

BIND查询日志格式分析

本日志由 flyinweb 于 2010-04-23 16:09:26 发表到 DNS技术 中,目前已经被浏览 4081 次,评论 0 次;

作者添加了以下标签: bind logfile format

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

High Performance caching-only (recursive) BIND9 Setup

本日志由 flyinweb 于 2009-09-27 15:04:21 发表到 DNS技术 中,目前已经被浏览 4230 次,评论 0 次;

作者添加了以下标签: BINDcaching-only

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

支持海量域名的dns架构

环境 操作系统: Redhat 5.2 64位

dns服务器:bind9.5.0-p1

数据库: mysql5.1

本日志由 flyinweb 于 2009-09-25 15:54:48 发表到 DNS技术 中,目前已经被浏览 3897 次,评论 0 次;

作者添加了以下标签: DNS架构

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

251/4