Search Again:

Re: Importing secondaries

From: Men & Mice Support
Date: Sunday, February 18, 2001
Time: 3:25:41 pm

At 2:58 PM -0800 2/18/01, Aaron Lynch wrote:
>On 2/18/01 2:54 PM, The Defendant "Men & Mice Support"
><cbuxton@menandmice.com> Confessed:
>
> > At 9:57 AM -0800 2/18/01, Aaron Lynch wrote:
> >> I need to add a whole bunch of secondary domains,
> >>
> >> I thought I could just drop the zone files into the secondary data folder
> >> and go, but I guess that QDNS actually looks at the 'secondary data' file,
> >> rather than the folder contents.
> >>
> >> Is there any way to edit that file and add all these secondaries to my
> >> existing ones?
> >
> > What version of QuickDNS Pro? In 2.x, just double-click on the
> > Secondary Domains file and edit as desired. In 3.x, connect to the
> > slave server and add slave zones (from the Server menu).
> >
> > Please note that the format of the file itself hasn't changed between
> > versions (except for load balance records). So the old QuickDNS Pro
> > Admin will work just fine to edit this file to add slave zones - just
> > don't edit any load balance entries.
> > ____________________________________________________________________
> > Chris Buxton Men & Mice
> > cbuxton@menandmice.com We Make DNS Easy!
> >
>
>Yeah, but this means I still gotta manually type in 43 domains, twice (once
>for each secondary)
>
>This client is moving all of these domains to me to to secondary for him.
>There's no automated to merge his old file with my current one? Or get my
>server to re-index the folder and recreate the secondary data file?<-feature
>request??

No can do. The actual zone files in the Secondary Data folder don't
contain sufficient information. Specifically, they don't specify the
IP address of the master.

Two shortcuts:

1. If your two servers have the same list of slave zones, edit the
file once and copy to the other server.

2. If you still have the old QuickDNS Pro Admin, you can use an
AppleScript to automate the process. It works like this:

- Open all the zone files you've been given in QuickDNS Pro Admin.
- Open the Secondary Domains file.
- Open the script in Script Editor.
- Set the property at the top the specifies the IP address of the
master server.
- Execute the script.

You'll find the script here:
<http://dnsinfo.menandmice.com/applescript/display?recid=12>

It should work. If there any problems with the script, let me know so
I can fix it. The fixname function is to work around a bug in the
automatic name-shortening routine in the old Admin.
____________________________________________________________________
Chris Buxton Men & Mice
cbuxton@menandmice.com We Make DNS Easy!



Messages In This Thread:



Return to Digital Point Solutions' Home Page