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技术 中,目前已经被浏览 4158 次,评论 0 次;

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

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

简介:

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

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

作者添加了以下标签: 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技术 中,目前已经被浏览 4690 次,评论 0 次;

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

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