Parking other domains. Is this right please?

Barry Margolin barmar at genuity.net
Wed Jun 21 17:38:13 UTC 2000


In article <vlX35.156$BX5.4015 at nsw.nnrp.telstra.net>,
Robert Chalmers <robert at chalmers.com.au> wrote:
>I think this looks right - (naturally I can't try it having no domains to
>"park")
>
>I have to add this to my named.conf on the primary;
>
>.............................................
>zone "{new-domain-here}" {
> type master;
> file "db.{new-domain-here}";
>};
>............................................
>
>
>add this to the secondary named.conf
>.............................................
>zone "{new-domain-here}" {
> type secondary;
> file "db.{new-domain-here}";

You also need:
  master { {primary-addr-here}; };

>};
>............................................


>
>
>and create this db.record file;
>..........................................
>; Don't forget to increment the serial number
>; Primary zone file for barker
>;
>$TTL 86400
>@ IN SOA www.{new-domain-here}.com. root.{new-domain-here}.com. (

Instead of 'www.{new-domain-here}.com.' it should be 'what1.ever.it.is.',
i.e. the name of your primary server.  And 'root.{new-domain-here}.com.'
should probably be something like 'hostmaster@{your-domain}', i.e. the
email address of the people at the parking company.

>  {date-here}; Serial
>  10800 ; Refresh after 3 hours
>  3600 ; Retry after 1 hour
>  604800  ; Expire after 1 week
>  86400 ) ; Minimum TTL of 1 day
>;
>; Nameservers
>;
>  IN NS what1.ever.it.is.
>  IN NS what2.ever.it.is.
>; update this count for each new domain being parked?
>www  IN A 10.0.0.1

You could use the same address for all of them.  Or you could just make
them all CNAMEs pointing to a hostname in your domain.  On the web server
itself you would configure appropriate name-based virtual host settings so
that you wouldn't need unique addresses.

>;
>...............................
>
>the secondary will create its own db.records, pulled from the primary...

That's the definition of a secondary server, isn't it?

>Sounds logical to me. Except that its using dodgy numbers - 10.0.0.1, but if
>it's not being used, should that matter. It's just  a place-marker after
>all?

I'm not sure what you mean by "not being used".  Domain parking presumably
means that they all point to some common server with something like an
"under construction" page, right?  So it has to point to a routable
address.

If they're not being used at all, why do you need the www address in the
first place?

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list