
22nd October 2007, 23:45
|
|
Junior Member
|
|
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Import zones to MyDNS
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/named.data/* 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.
Thanks.
-- Michael
|

23rd October 2007, 20:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

24th October 2007, 15:33
|
|
Junior Member
|
|
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

25th October 2007, 17:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Did you take a look at or ?
|

24th March 2008, 01:33
|
|
Member
|
|
Join Date: Aug 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
dnsimport
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
hkaiser
PS: Falko and Till, with mydnsconfig you have made a very good job. Gratulations!
|

24th March 2008, 14:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

2nd June 2009, 20:38
|
|
Junior Member
|
|
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
mydnsimport
Hi hkaiser
I am stuck trying to do the same mydnsimport from BIND.
Can you help with some exaples please.
madmac
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:32.
|
Recent comments
1 day 4 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 17 hours ago