Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd October 2007, 23:45
MDW MDW is offline
Junior Member
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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
Reply With Quote
  #2  
Old 23rd October 2007, 20:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 24th October 2007, 15:33
MDW MDW is offline
Junior Member
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 25th October 2007, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Did you take a look at
Code:
man mydnsimport
or
Code:
mydnsimport --help
?
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 24th March 2008, 01:33
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!
Reply With Quote
  #6  
Old 24th March 2008, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #7  
Old 2nd June 2009, 20:38
madmac007 madmac007 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default mydnsimport

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

madmac
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyDNS (Master) -> Bind (Slave) Support todgerme General 4 4th September 2007 15:45
Where do MyDNS logs go? voipfc General 3 28th November 2006 17:03
cant import mysql databse nowe warrior Installation/Configuration 1 7th September 2006 21:42
MyDNS rude awaking kaptk2 HOWTO-Related Questions 16 19th May 2006 22:29
adding users and zones zackg General 0 22nd March 2006 23:58


All times are GMT +2. The time now is 13:32.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th