LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-10-2011, 05:12 AM   #1
whit3fir3
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
BIND9 Issue


The short version of what I am trying to do is get BIND to use a MySQL database for its zone files. I have a fresh install of Fedora 15 that I am using to test this and I have installed bind-sdb-9.8.0-9.P4.fc15.x86_64.

When BIND starts up I can see it register all the drivers, specifically the MySQL DB Drivers:

Code:
10-Sep-2011 04:02:46.389 Registering DLZ postgres driver.
10-Sep-2011 04:02:46.389 Registering SDLZ driver 'postgres'
10-Sep-2011 04:02:46.389 Registering DLZ driver 'postgres'
10-Sep-2011 04:02:46.389 Registering DLZ mysql driver.
10-Sep-2011 04:02:46.389 Registering SDLZ driver 'mysql'
10-Sep-2011 04:02:46.389 Registering DLZ driver 'mysql'
10-Sep-2011 04:02:46.389 Registering DLZ filesystem driver.
10-Sep-2011 04:02:46.389 Registering SDLZ driver 'filesystem'
10-Sep-2011 04:02:46.389 Registering DLZ driver 'filesystem'
10-Sep-2011 04:02:46.389 Registering DLZ ldap driver.
10-Sep-2011 04:02:46.389 Registering SDLZ driver 'ldap'
10-Sep-2011 04:02:46.389 Registering DLZ driver 'ldap'
10-Sep-2011 04:02:46.389 SDB ldap zone database module loaded.
10-Sep-2011 04:02:46.389 SDB postgreSQL DB zone database module loaded.
10-Sep-2011 04:02:46.389 SDB sqlite3 DB zone database module loaded.
10-Sep-2011 04:02:46.389 SDB directory DB zone database module loaded.
10-Sep-2011 04:02:46.390 decrement_reference: delete from rbt: 0x7fccee647068 .
10-Sep-2011 04:02:46.393 loading configuration from '/etc/named.conf'
Once all that completes I get the following error for the one zone file that I have loaded up in my named.conf file and in the MySQL database:

Code:
10-Sep-2011 04:02:46.409 zone example.com/IN: starting load
10-Sep-2011 04:02:46.409 unsupported database type 'mysqldb'
10-Sep-2011 04:02:46.409 zone example.com/IN: loading zone: creating database: not found
What I have in my named.conf file for this zone is as follows:
Code:
zone "example.com" {
  type master;
  notify no;
  database "mysqldb DATABASE_NAME TABLE_NAME localhost MYSQL_USER_NAME MYSQL_PASSWORD";
};
I am out of ideas as to why this refuses to work and am looking for any suggestions that would assist me in making this function properly.

Thanks,

whit3fir3
 
Old 09-10-2011, 08:11 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
'yum info bind-sdb' doesn't mention mysql support and from this output:

Quote:
10-Sep-2011 04:02:46.389 SDB ldap zone database module loaded.
10-Sep-2011 04:02:46.389 SDB postgreSQL DB zone database module loaded.
10-Sep-2011 04:02:46.389 SDB sqlite3 DB zone database module loaded.
10-Sep-2011 04:02:46.389 SDB directory DB zone database module loaded.
.. I would have expected to see an equivalent mysql entry. Are you sure it's supported?

<edit> just in case you need to build it yourself: http://mysql-bind.sourceforge.net/docs.php</edit>

Last edited by kbp; 09-10-2011 at 08:25 AM.
 
Old 10-12-2012, 01:18 PM   #3
CaptTofu
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
mysql-bind status

Hi all,

How did your efforts to use mysql-bind go? I do have it working with the latest version of bind 9.8.2 but haven't done much with it yet. Is anyone here using it much?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BIND9 as caching-only issue raevin Linux - Server 6 09-02-2011 12:42 PM
bind9 config issue koszta5 Linux - Software 1 01-26-2011 05:32 PM
Bind9 DNS Issue b00gz Linux - Networking 10 07-15-2006 11:32 AM
BIND9 and W2k dhcp clients DNS suffix issue. wasp4141 Linux - Networking 1 04-06-2004 10:56 PM
Bind9 tandre Linux - Software 1 04-08-2003 09:29 AM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration