Unsupported Bind9 with mariadb on CentOS 7?

Issues related to applications and software problems
User avatar
isayos
Posts: 35
Joined: 2015/04/27 07:48:46
Location: MC.DC.
Contact:

Unsupported Bind9 with mariadb on CentOS 7?

Post by isayos » 2015/08/14 16:35:48

System: CentOS 7

yum installed bind 9.9 version,its look like include DLZ.

After named -V indeed show the --with-dlz-mysql = yes

It indicates that the BIND 9.9.4-RedHat-9.9.4 should be to support the ah bind dlz mysql

follow the format set up the database and table for RR, and insert into this table zone data:

So I just wrote inside named.conf or named.rfc1912.zones:

dlz "mysql zone" {

database "mysql {host = hostname dbname = binddb user = username pass = password}

Some other well-known select statement {statements}

";

};

Then systemctl restart named.service. Tip Job for named.service faild.

A look at status: unsupported DLZ database driver 'mysql'. .
Image

What is the reason?

Then try mysqldb mariadb ...... also downloaded bind-sdb, using postgresql database backend tried:
--with-dlz-pgsql = yes
but the are still unable to start named.service,
and status tips "unsupported DLZ database driver 'mysql' "
"unsupported DLZ database driver 'mysql' "
"unsupported DLZ database driver 'mysqldb' "
"unsupported DLZ database driver 'mariadb' "
"unsupported DLZ database driver 'pgsql' "
"unsupported DLZ database driver 'postgresql' "
...

am I missing something?
please help me, I just want to working bind, MySQL/Mariadb on CentOS7.
:D
I like CentOS very much.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by aks » 2015/08/14 19:35:15

What version of Maria? 5.5.x is MySQL compatible 10.x has issues.
If you do an ldd on your named binary is the mysqlclient linked against?

User avatar
isayos
Posts: 35
Joined: 2015/04/27 07:48:46
Location: MC.DC.
Contact:

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by isayos » 2015/08/15 02:48:44

aks wrote:What version of Maria? 5.5.x is MySQL compatible 10.x has issues.
If you do an ldd on your named binary is the mysqlclient linked against?
MariaDB version is 5.5.x
and I was followd bind-dlz sourceforge net/mysql_driver html to configurat my named server
I like CentOS very much.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by aks » 2015/08/15 15:02:56

sourceforge.net/mysql_driver html gives me a 404 (not found) error.
What is the output of ldd <your_named_binary>?

User avatar
isayos
Posts: 35
Joined: 2015/04/27 07:48:46
Location: MC.DC.
Contact:

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by isayos » 2015/08/16 12:26:45

aks wrote:sourceforge.net/mysql_driver html gives me a 404 (not found) error.
What is the output of ldd <your_named_binary>?
MySQL_driver is 404 error to me too. I think project bind-MySQL is now dead.

and I am using bind, bind-dyndb-ldap, openldap on CentOS 7, tring to set up a ldap based dynamic zone for bind.
for database zone, CentOS 7 is so bad and hard to use.

aks, would you give me some ideas for bind, bind-dyndb-ldap, openldap on CentOS 7 ?
thanks a lot!
I like CentOS very much.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by aks » 2015/08/16 15:06:25

MySQL_driver is 404 error to me too. I think project bind-MySQL is now dead.
Hmmm, there's been some "issues" with sourceforge of late.
would you give me some ideas for bind, bind-dyndb-ldap, openldap on CentOS 7 ?
What ideas are you after? To install? To configure? What do you want to do?

User avatar
isayos
Posts: 35
Joined: 2015/04/27 07:48:46
Location: MC.DC.
Contact:

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by isayos » 2015/08/17 01:42:42

aks wrote:
MySQL_driver is 404 error to me too. I think project bind-MySQL is now dead.
Hmmm, there's been some "issues" with sourceforge of late.
would you give me some ideas for bind, bind-dyndb-ldap, openldap on CentOS 7 ?
What ideas are you after? To install? To configure? What do you want to do?
aks, Thanks for your patience.

I have done install bind, bind-dyndb-ldap, openldap.
I am trying to set up ldap-based name server, so I want to configure.

my goal is set up a database-based name server working.
ps: I use a website to maintain this name server records.

thanks a lot.
I like CentOS very much.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by aks » 2015/08/17 20:27:52

I am trying to set up ldap-based name server, so I want to configure.
Seems silly given DNS has been around for (a sh*t load) longer than LDAP.
my goal is set up a database-based name server working
.

If you have DNS in your LDAP and your clients are looking up DNS records via LDAP (nsswitch et al) then you effecivley have a database-based name server.

rgmhtt
Posts: 2
Joined: 2005/01/05 15:12:19
Contact:

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by rgmhtt » 2015/08/27 20:49:32

You want DLZ support for a Samba4 AD.

But this is interesting. I have the Centos7-arm alpha build and I when I do a bind -V, I do not get anything about dlz.

Since I am working on a Samba4 AD on an arm platform, this is all very important to me....

rgmhtt
Posts: 2
Joined: 2005/01/05 15:12:19
Contact:

Re: Unsupported Bind9 with mariadb on CentOS 7?

Post by rgmhtt » 2015/08/28 00:06:03

Ooops.

I did 'bind -V', not 'named -V'

It is there. Now to figure out how to use it.

Post Reply