NicTool export to Bind DNS servers.

Started by brundle, April 25, 2007, 08:09:15 PM

Previous topic - Next topic

brundle

Has anyone built code to allow NicTool to export to Bind DNS servers?  I would like ot use the NicTool system, but need to use it with Bind servers.

-b

jfdesir

Hi everbody

I wrote that script to export data from nictool to Bind

Il find the right place to put it and export data on create/modi/delete records.
But il can't find the good one on domain création

jfdesir

jfdesir

Hi,

If someone want the complete scripts modification for exporting to bind
let me know and i'll post them on the news.

zones.cgi (batched zone creation) with export to bind

zone.cgi (DEL/AD/MODIF)  with export to bind

group_zones.cgi (create single new zone)  with export to bind

regards

brundle

I would be interested in getting ahold of the scripts!  Thanks!

jfdesir

These are the scripts

jfdesir

SagoDj

Is anyone out there using these scripts to export to Bind? I am a little confused as to how these actually handle the export.

jfdesir

You must edit the scripts to define your export directory.
When you make some change the zone file is create

patwoo

jfdesir,
Can you be more specify on how to install and use the scripts.
Thanks

patwoo

Getting the following perl error everytime I bring up a zone

Variable "$ns0id" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1689.
Variable "$ns1id" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1690.
Variable "$ns2id" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1691.
Variable "$ns0" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1723.
Variable "$ns1" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1723.
Variable "$ns2" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1723.
Variable "$dbh" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1743.
Variable "$zoneid" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1743.
Variable "$domain" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1746.
Variable "$domain" will not stay shared at /usr/local/www/NicToolClient/htdocs/zone.cgi line 1763.

milandred

I'm getting the same type of errors


where you able to find a solution for you problem?

can you share,


thanks.


jfdesir


I 've already correct thes warnings.
The scripts are attaches.
You must disable some functions if you have only one platform.

I use nictool two manage two bind platforms  so i  export zones two a couple off 3 dns servers and another  with 4 servers.


regards,

jfdesir

milandred

Thanks, man for sharing..

however I wasn't able to make them work..

I will keep trying. It is really hard when you only got one master and one slave.




: (


technicidat

Hi,

I just posted about a script to export to BIND, maybe this is still of some use to you.

Andy.

jfdesir

Hi!

I have made some change to satisfy Florian's need.
You have to modify some parameters (on the 3 scripts) to make export to bind OK
        mysql (host/db/usrname/password)
        $work_dir
        $server="PRIMARYIPSERVER";
        $chemin = "PATH";
        $ns0="PRIMAYFQDNSERVER.";
        $ns1="SECONDARYFQDNSERVER.";
        $ns2="THIRFQDNSERVER.";


regards,