Can't start Bind after 9.6 to 9.8 update
Shawn Bakhtiar
shashaness at hotmail.com
Tue Aug 2 15:41:51 UTC 2011
Downloaded and complied Bind 9.8.x on an FC8 box. copied it over to the web server and ran install. I did have to copy the named* executable from /user/local/sbin to /user/sbin for the init script in FC8 to use the correct one.
However, when I run the init script I get the following error:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 323
zone localhost/IN: loaded serial 323
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: NS '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa' has no address records (A or AAAA)
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: not loaded due to errors.
_default/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: bad zone
zone 1.0.0.127.in-addr.arpa/IN: NS '1.0.0.127.in-addr.arpa' has no address records (A or AAAA)
zone 1.0.0.127.in-addr.arpa/IN: not loaded due to errors.
_default/1.0.0.127.in-addr.arpa/IN: bad zone
zone 0.in-addr.arpa/IN: NS '0.in-addr.arpa' has no address records (A or AAAA)
zone 0.in-addr.arpa/IN: not loaded due to errors.
_default/0.in-addr.arpa/IN: bad zone
zone inksystemsinc.com/IN: loaded serial 878746
zone inksystems.com/IN: loaded serial 758746
zone 10.IN-ADDR.ARPA/IN: loaded serial 1
zone 16.172.IN-ADDR.ARPA/IN: loaded serial 1
zone 31.172.IN-ADDR.ARPA/IN: loaded serial 1
zone 168.192.IN-ADDR.ARPA/IN: loaded serial 1
Here are the relevant config/zone files:
[root at www sbin]# more /var/named/chroot/etc/named.conf
options
{
/* 03182009 Security changes only allow queries from local nets*/
allow-query { 12.238.189.0/24; 192.168.200.0/24; 10.10.10.0/24; localhost; };
allow-recursion { 12.238.189.0/24; 192.168.200.0/24; 10.10.10.0/24; localhost; };
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
# query-source port 53;
# query-source-v6 port 53;
// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
};
logging
{
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "inksystemsinc.com" {
type master;
file "inksystemsinc.com.db";
allow-query{ any; };
};
zone "inksystems.com" {
type master;
file "inksystems.com.db";
allow-query{ any; };
};
zone "189.238.12.in-addr.arpa" in {
type slave;
file "reverse/189.238.12.in-addr.arpa";
masters { 12.238.189.39; 12.238.189.40; };
allow-query{ any; };
};
## RFC 1918 COMPLIANCE MUST BE HERE!!!!!
## SHAWN 07272010
zone "10.IN-ADDR.ARPA" {
type master;
file "empty";
};
zone "16.172.IN-ADDR.ARPA" {
type master;
file "empty";
};
zone "31.172.IN-ADDR.ARPA" {
type master;
file "empty";
};
zone "168.192.IN-ADDR.ARPA" {
type master;
file "empty";
};
more /var/named/chroot/var/named/inksystems.com.db
$TTL 3H
@ IN SOA ns1.inksystems.com. hostmaster.inksystems.com. (
758746 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
;
NS ns1 ; Primary Domain Name Server
NS ns2 ; Secondary Domain Name Server
MX 10 smtp.inksystems.com. ; New Mail
; TXT "google-site-verification=************************************"
_xmpp-server._tcp.inksystems.com. 86400 IN SRV 5 0 5269 postoffice.inksystems.com.
_xmpp-client._tcp.inksystems.com. 86400 IN SRV 5 0 5222 postoffice.inksystems.com.
; NEW Forward
remote A 12.86.68.214
postoffice A 12.238.189.20
webmail A 12.238.189.20
mail A 12.238.189.20
ns2 A 12.238.189.21
smtp A 12.238.189.21
ns1 A 12.238.189.22
www A 12.238.189.22
kitty A 12.238.189.76
wikink A 12.238.189.44
more /var/named/chroot/var/named/inksystemsinc.com.db
$TTL 3H
@ IN SOA ns1.inksystemsinc.com. hostmaster.inksystemsinc.com. (
878746 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
;
NS ns1 ; Primary Domain Name Server
NS ns2 ; Secondary Domain Name Server
MX 10 smtp.inksystemsinc.com. ; New Mail
TXT "google-site-verification=************************************"
_xmpp-server._tcp.inksystemsinc.com. 86400 IN SRV 5 0 5269 postoffice.inksystemsinc.com.
_xmpp-client._tcp.inksystemsinc.com. 86400 IN SRV 5 0 5222 postoffice.inksystemsinc.com.
_imap._tcp.inksystemsinc.com. 86400 IN SRV 5 0 993 postoffice.inksystemsinc.com.
; NEW Forward
remote A 12.86.68.214
postoffice A 12.238.189.20
ns2 A 12.238.189.21
smtp A 12.238.189.21
ns1 A 12.238.189.22
www A 12.238.189.22
kitty A 12.238.189.76
wikink A 12.238.189.44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110802/0e6351a9/attachment.html>
More information about the bind-users
mailing list