Import zones to MyDNS

Discussion in 'General' started by MDW, Oct 22, 2007.

  1. MDW

    MDW New Member

    I am working on a proof of concept project to see if it will be viable to transfer all of our DNS zones from a hardcode named.conf DNS server along with all the several /etc/* dns stub files to a MySQL DNS environment then setup a MySQL database replication for the slave server environments.

    Is there a tool or something I need to do to transfer several thousand zones from our old master DNS server (running on HP-UX v11) to a MyDNS server (running CentOS 5)?

    A quick look on the master DNS server shows a named.conf file of 221k in size.


    -- Michael
  2. falko

    falko Super Moderator ISPConfig Developer

    Unfortunately I don't know of such a tool. Maybe you can write a script that parses the BIND configuration and creates the MySQL queries to insert the data into MySQL.
  3. MDW

    MDW New Member

    How does one use the mydnsimport command with the AXFR option? Is it possible just to import the entire zone information from a remote master server or am I missing something?

    -- M
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you take a look at
    man mydnsimport
    mydnsimport --help
  5. hkaiser

    hkaiser New Member


    Hi all,

    dnsimport works great, it is easy to import all information from bind to mydns.
    But there ist one problem, who to make it work with mydnsconfig?
    I changed the sysuserid in the database, but mydnsconfig still says "you have not the privileg to view this zone". What can i do? Thanks in advance!

    with best regards

    PS: Falko and Till, with mydnsconfig you have made a very good job. Gratulations!
  6. falko

    falko Super Moderator ISPConfig Developer

    Set sys_userid to 1, sys_groupid to 0, sys_perm_user and sys_perm_group to riud, and leave sys_perm_other empty for all records in the rr and soa tables.
  7. madmac007

    madmac007 New Member


    Hi hkaiser
    I am stuck trying to do the same mydnsimport from BIND.
    Can you help with some exaples please.


Share This Page