BIND10 : how do I import zone files stored in mysql to BIND10 ?

2013-12-16 Thread blrmaani
Is there a easy way to import zone files stored in Mysql DB to Bind10? I 
checked for all the commands available here:

http://bind10.isc.org/docs/bind10-guide.html

and didn't find anything. 

Thanks
Blr
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND10 : how do I import zone files stored in mysql to BIND10 ?

2013-12-16 Thread Alan Clegg

On Dec 16, 2013, at 5:35 PM, blrmaani blrma...@gmail.com wrote:

 Is there a easy way to import zone files stored in Mysql DB to Bind10? I 
 checked for all the commands available here:
 
 http://bind10.isc.org/docs/bind10-guide.html
 
 and didn't find anything. 

I’d recommend “extracting” them from MySQL using a “dig axfr” and then 
importing the normalized text version.

AlanC
-- 
Alan Clegg | +1-919-355-8851 | a...@clegg.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: BIND10 : how do I import zone files stored in mysql to BIND10 ?

2013-12-16 Thread blrmaani
Thanks.

ok, so, If I have mysql DNS tables converted to sqlite3 format (binary files) 
and then upload to BIND10, how do I do it?

I will also try digging code meanwhile ..

Thanks
Blr

On Monday, December 16, 2013 3:08:13 PM UTC-8, Jeremy C. Reed wrote:
 On Mon, 16 Dec 2013, blrmaani wrote:
 
 
 
  Is there a easy way to import zone files stored in Mysql DB to Bind10? 
 
  I checked for all the commands available here:
 
  
 
  http://bind10.isc.org/docs/bind10-guide.html
 
  
 
  and didn't find anything. 
 
 
 
 
 
 BIND10 currently doesn't support MySQL. (There was some experimental 
 
 research but not completed.)
 
 
 
 BIND10 does support SQLite3 and static text master files. You may need 
 
 to convert your data to other format first.
 
 
 
 Sorry we don't yet have docs on the database schema. Here is the code:
 
 
 
 http://bind10.isc.org/docs/developers/cpp/dc/d2c/sqlite3__accessor_8cc_source.html
 
 
 
   Jeremy C. Reed
 
   ISC

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND10 : how do I import zone files stored in mysql to BIND10 ?

2013-12-16 Thread Jeremy C. Reed
On Mon, 16 Dec 2013, blrmaani wrote:

 ok, so, If I have mysql DNS tables converted to sqlite3 format (binary 
 files) and then upload to BIND10, how do I do it?

Enable the auth server using the bindctl interface:

 config add Init/components b10-auth
 config set Init/components/b10-auth/special auth
 config set Init/components/b10-auth/kind needed
 config commit

The datasources should have a default configuration, like:

data_sources/classes/IN[0]/type sqlite3
data_sources/classes/IN[0]/params   {database_file: 
/home/reed/opt/bind10/var/bind10/zone.sqlite3}

Try:

config show data_sources/classes/IN[0]/params
to see where you should put your database file.

 I will also try digging code meanwhile ..

Have fun

  Jeremy C. Reed
  ISC
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users