help with adding domains
RYAN vAN GINNEKEN
rmvg at shaw.ca
Fri Nov 14 20:21:36 UTC 2003
If hosting dns master for more than one domian at a single ip what is
the best way to achive this the more I think about it the more confused
I become. The first way that comes to mind goes something like this.
Create a entery in named.conf like below
zone "computerking.ca" {
type master;
file "pz/db.computerking.ca.external";
};
zone "102.206.205.in-addr.arpa" {
type master;
file "pz/db.205.206.102.computerking";
};
zone "sculpturaldesign.ca" {
type master;
file "db.sculpturaldesign.external";
};
zone "102.206.205.in-addr.arpa" {
type master;
file "pz/db.205.206.102.sculpturaldesign";
};
I used to just have db.205.206.102 that looked like this
;==========================================================
; usr/local/etc/namedb/pz/db.205.206.102 @v20
;==========================================================
$TTL 3h
;
;Origin added to names not ending in a dot 192.168.0in-addr
;
@ IN SOA computerking.ca. root.computerking.ca. (
2003111301 ; serial
3h ; refresh after 1 hour
1h ; retry after 1 hour
1w ; expire ofter one week
;
------------------------------------------------------------------
; NAME SERVERS
;------------------------------------------------------------------------------
IN NS ns1.computerking.ca.
IN NS ns1.higcoup.ca.
;------------------------------------------------------------------------------
; ADDRESSES POINT TO CANONICAL NAME
;------------------------------------------------------------------------------
146 IN PTR v20.computerking.ca.
; end of file
;==============================================================================
now i have created one file for each domain db.205.206.102.computerking
and db.205.206.102.sculpturaldesign the only difference is the IN PTR
records one is
146 IN PTR v20.computerking.ca
and one is this
146 IN PTR v21.sculpturaldesign.ca
would it be easier to add both PTR records to one file db.205.206.102??
then do I just add another A record to my db.computerking.ca.external
file or a cname what is the most etiquette way to do this. do cnames
even use PTR records I don’t think so the more i think the worse it gets
help Will either of these methods work. The one with separate files
seems to make more sense in my head I think. Then I need a
db.sculputrladesign.ca.external file too right?????? please someone
point me in the right direction my head is spinning then adding the
slave files on my other server would make more sense mabey if the files
were seperate help.
More information about the bind-users
mailing list