Some basic bind configuration questions
Pierre Girard
pierreg at crt.umontreal.ca
Thu Aug 30 15:16:01 UTC 2001
Hello,
we currently have 2 domains (crt.umontreal.ca and gerad.ca) and some
DNS slaves on our network. We don't have authority on those domains and
we don't really need it. What we want tought is to make our DNS servers
masters for our domain and add some information into it. Currently
those who have autority on the domains only have a few machines into it
and we'd like to keep it that way. But for our internal use, we need to
add more machines into the DNS tables, which is why we want to make our
DNS masters (or master and slaves actually).
I don't think this will cause any problem but i'd like to get the
opinion of more knowledgeable people.
Another thing is that we'd like to get all the A and CNAME that have
been added into the DNS for our domains, is there any way we can get
that information with dig or do we have to contact the DNS hostmaster?
I used the programs named-checkconf and named-checkzone to verify that
the configuration file and zone files are correct, is there a program to
check the 1reverse lookup files?
muskie[dns/master]> /opt/bind/sbin/named-checkzone 127.0.0
dns_master_load: 127.0.0:2: ignoring out-of-zone data
(0.0.127.in-addr.arpa)
dns_master_load: 127.0.0:9: ignoring out-of-zone data
(0.0.127.in-addr.arpa)
dns_master_load: 127.0.0:10: ignoring out-of-zone data
(1.0.0.127.in-addr.arpa)
dns_zone_load: zone 127.0.0/IN: could not find NS and/or SOA records
dns_zone_load: zone 127.0.0/IN: has 0 SOA records
dns_zone_load: zone 127.0.0/IN: no NS records
Since we're starting to run out of valid addresses, we decided to move
most of our machines to a private subnet (10.100.*.*), can we put those
machines in our DNS? Should we put those addresses in the 132.204.100
file or create another file or not put the reverse DNS information at
all?
Do you have any book you recommend for seting up bind? I know there's
the o'reilley book but it says on the front page "covers bind 8" or
something similar. Is it good enough to configure bind 9 correctly?
I'm including my configuration files below, since they're not too big.
I omitted the named.root file since it is standard.
Thanks for any help you can give me.
##### start named.conf #####
options {
directory "/opt/bind/etc";
auth-nxdomain no;
};
zone "." {
type hint;
file "named.root";
};
zone "localhost" {
type master;
file "localhost";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
};
zone "crt.umontreal.ca" {
type master;
file "crt.umontreal.ca";
};
zone "100.204.132.in-addr.arpa" {
type master;
file "132.204.100";
};
zone "gerad.ca" {
type master;
file "gerad.ca";
};
##### end named.conf #####
##### start localhost #####
$TTL 86400
localhost. SOA gate.crt.umontreal.ca. hostmaster.crt.umontreal.ca. (
2001082816 ; Serial number
86400 ; Refresh
7200 ; Retry
3600000 ; Expire
172800 ) ; Minimum TTL
localhost. NS gate.crt.umontreal.ca.
localhost. A 127.0.0.1
##### end localhost #####
##### start 127.0.0 #####
$TTL 86400
0.0.127.in-addr.arpa. SOA gate.crt.umontreal.ca.
hostmaster.crt.umontreal.ca. (
2001082816 ; Serial number
86400 ; Refresh
7200 ; Retry
3600000 ; Expire
172800 ) ; Minimum TTL
0.0.127.in-addr.arpa. NS gate.crt.umontreal.ca.
1.0.0.127.in-addr.arpa. PTR localhost.
##### end 127.0.0 #####
##### start crt.umontreal.ca #####
$TTL 86400
crt.umontreal.ca. SOA gate.crt.umontreal.ca.
hostmaster.crt.umontreal.ca. (
2001082816 ; Serial number
86400 ; Refresh
7200 ; Retry
3600000 ; Expire
172800 ) ; Minimum TTL
crt.umontreal.ca. NS gate.crt.umontreal.ca.
crt.umontreal.ca. NS crt0.crt.umontreal.ca.
crt.umontreal.ca. NS soft.crt.umontreal.ca.
crt.umontreal.ca. MX 10 harfang.CC.UMontreal.CA.
crt.umontreal.ca. MX 20 condor.CC.UMontreal.CA.
gate.crt.umontreal.ca. A 132.204.100.227
crt0.crt.umontreal.ca. A 132.204.100.27
mailhost.crt.umontreal.ca. CNAME crt0.CRT.UMontreal.CA.
soft.crt.umontreal.ca. A 132.204.100.127
ftp.crt.umontreal.ca. CNAME soft.CRT.UMontreal.CA.
www.crt.umontreal.ca. CNAME soft.CRT.UMontreal.CA.
muskie.crt.umontreal.ca. A 132.204.100.57
flipper.crt.umontreal.ca. A 10.100.1.5
##### end crt.umontreal.ca #####
##### start 132.204.100 #####
100.204.132.in-addr.arpa. SOA gate.crt.umontreal.ca.
hostmaster.crt.umontreal.ca. (
2001082816 ; Serial number
86400 ; Refresh
7200 ; Retry
3600000 ; Expire
172800 ) ; Minimum TTL
100.204.132.in-addr.arpa. NS gate.crt.umontreal.ca.
100.204.132.in-addr.arpa. NS crt0.crt.umontreal.ca.
100.204.132.in-addr.arpa. NS soft.crt.umontreal.ca.
227.100.204.132.in-addr.arpa. PTR gate.crt.umontreal.ca.
27.100.204.132.in-addr.arpa. PTR crt0.crt.umontreal.ca.
127.100.204.132.in-addr.arpa. PTR soft.crt.umontreal.ca.
;;
57.100.204.132.in-addr.arpa. PTR muskie.crt.umontreal.ca.
5.1.100.10.in-addr.arpa. PTR flipper.crt.umontreal.ca.
##### end 132.204.100 #####
##### start gerad.ca #####
$TTL 86400
gerad.ca. SOA gate.crt.umontreal.ca. hostmaster.crt.umontreal.ca. (
2001082816 ; Serial number
86400 ; Refresh
7200 ; Retry
3600000 ; Expire
172800 ) ; Minimum TTL
gerad.ca. NS gate.crt.umontreal.ca.
gerad.ca. NS crt0.crt.umontreal.ca.
gerad.ca. NS soft.crt.umontreal.ca.
gerad.ca. MX 0 crt0.crt.umontreal.ca.
www.gerad.ca. CNAME soft.CRT.UMontreal.ca.
##### end gerad.ca #####
More information about the bind-users
mailing list