Parking other domains. Is this right please?

Robert Chalmers robert at chalmers.com.au
Wed Jun 21 04:19:15 UTC 2000


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}";
};
............................................


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. (
  {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
;
...............................

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

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?

What does anyone think? would that work?

thanks
Robert






More information about the bind-users mailing list