[KLUG Members] dns
Bert
members@kalamazoolinux.org
Thu, 24 Apr 2003 11:19:53 +0200
this migth be a novice question, but I am at the point of registering my
own domain name. I need to have 2 dns servers running.
a primary and secundary of course.
I would like to be more than 100% sure that registering won't go wrong
because there is a dns flaw in my records, so if you dns-goeroes would
like to comment on the following records I would be very thankful.
reversed zone primary:
;------------------------------------
$TTL 2D
@ IN SOA ns1.belinux.nl. root.localhost. (
2003042401 ;serial
1D ;refresh
2H ;retry
1W ;expire
2D ) ;minimum
IN NS ns1.belinux.nl.
66 IN PTR ns1.belinux.nl.
68 IN PTR ns2.belinux.nl.
68 IN PTR mail.belinux.nl
68 IN PTR wwww.belinux.nl.
reversed zone secundary
;------------------------------------
$TTL 2D
@ IN SOA ns2.belinux.nl. root.localhost. (
2003042401 ;serial
1D ;refresh
2H ;retry
1W ;expire
2D ) ;minimum
IN NS ns2.belinux.nl.
66 IN PTR ns1.belinux.nl.
68 IN PTR ns2.belinux.nl.
68 IN PTR mail.belinux.nl
68 IN PTR wwww.belinux.nl.
primary zone:
;------------------------------------
$TTL 2 days
@ IN SOA ns1.belinux.nl. root.localhost. (
2003042401 ;serial
1D ;refresh
2H ;retry
1W ;expire
2D ) ;minimum
IN NS ns1.belinux.nl.
MX 100 mail
localhost IN A 127.0.0.1
ns1 IN A 213.161.202.66
ns2 IN A 213.161.202.68
mail IN A 213.161.202.68
www IN A 213.161.202.68
* IN A 213.161.202.68
secundary zone:
;------------------------------------
$TTL 2 days
@ IN SOA ns2.belinux.nl. root.localhost. (
2003042401 ;serial
1D ;refresh
2H ;retry
1W ;expire
2D ) ;minimum
IN NS ns2.belinux.nl.
MX 100 mail
localhost IN A 127.0.0.1
ns1 IN A 213.161.202.66
ns2 IN A 213.161.202.68
mail IN A 213.161.202.68
www IN A 213.161.202.68
* IN A 213.161.202.68
/etc/named.conf on primary
zone "belinux.nl" {
type master;
notify yes;
file "belinux-nl.zone";
allow-transfer { 213.161.202.68; localhost; };
};
/etc/named.conf on secundary
zone "belinux.nl" {
type slave;
file "belinux-nl.zone";
allow-transfer { localhost; };
};
thanks.
Bert.