Troubleshooting Bind

Keith Smith techlists at phpcoderusa.com
Sat Dec 13 10:52:36 MST 2014



Hi,

I'm running CentOS 7 and trying to get Bind configured.

I've configured /etc/named.conf and have configured one zone.

Status:

systemctl status named.service
named.service - Berkeley Internet Name Domain (DNS)
    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled)
    Active: active (running) since Sat 2014-12-13 10:21:44 MST; 51s ago
   Process: 2167 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 
|| /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
   Process: 2179 ExecStart=/usr/sbin/named -u named $OPTIONS 
(code=exited, status=0/SUCCESS)
   Process: 2177 ExecStartPre=/usr/sbin/named-checkconf -z 
/etc/named.conf (code=exited, status=0/SUCCESS)
  Main PID: 2181 (named)
    CGroup: /system.slice/named.service
            └─2181 /usr/sbin/named -u named

Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone 0.in-addr.arpa/IN: loaded serial 0
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone localhost.localdomain/IN: loaded serial 0
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone localhost/IN: loaded serial 0
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone keithsmithinternetmarketing.com/IN: loaded serial 1336774136
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
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: 
loaded serial 0
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: all 
zones loaded
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
running
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com named[2181]: 
zone keithsmithinternetmarketing.com/IN: sending notifies (serial 
1336774136)
Dec 13 10:21:44 freedom.keithsmithinternetmarketing.com systemd[1]: 
Started Berkeley Internet Name Domain (DNS).


Messages contains these lines:

Dec 13 10:21:44 freedom named[2181]: 
----------------------------------------------------
Dec 13 10:21:44 freedom named[2181]: BIND 9 is maintained by Internet 
Systems Consortium,
Dec 13 10:21:44 freedom named[2181]: Inc. (ISC), a non-profit 501(c)(3) 
public-benefit
Dec 13 10:21:44 freedom named[2181]: corporation.  Support and training 
for BIND 9 are
Dec 13 10:21:44 freedom named[2181]: available at 
https://www.isc.org/support
Dec 13 10:21:44 freedom named[2181]: 
----------------------------------------------------
Dec 13 10:21:44 freedom named[2181]: adjusted limit on open files from 
4096 to 1048576
Dec 13 10:21:44 freedom named[2181]: found 4 CPUs, using 4 worker 
threads
Dec 13 10:21:44 freedom named[2181]: using 4 UDP listeners per interface
Dec 13 10:21:44 freedom named[2181]: using up to 4096 sockets
Dec 13 10:21:44 freedom named[2181]: loading configuration from 
'/etc/named.conf'
Dec 13 10:21:44 freedom named[2181]: reading built-in trusted keys from 
file '/etc/named.iscdlv.key'
Dec 13 10:21:44 freedom named[2181]: using default UDP/IPv4 port range: 
[1024, 65535]
Dec 13 10:21:44 freedom named[2181]: using default UDP/IPv6 port range: 
[1024, 65535]
Dec 13 10:21:44 freedom named[2181]: listening on IPv4 interface lo, 
127.0.0.1#53
Dec 13 10:21:44 freedom named[2181]: listening on IPv4 interface p3p1, 
192.168.20.2#53
Dec 13 10:21:44 freedom named[2181]: listening on IPv6 interface lo, 
::1#53
Dec 13 10:21:44 freedom named[2181]: generating session key for dynamic 
DNS
Dec 13 10:21:44 freedom named[2181]: sizing zone task pool based on 7 
zones
Dec 13 10:21:44 freedom named[2181]: using built-in DLV key for view 
_default
Dec 13 10:21:44 freedom named[2181]: set up managed keys zone for view 
_default, file '/var/named/dynamic/managed-keys.bind'
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
10.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
16.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
17.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
18.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
19.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
20.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
21.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
22.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
23.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
24.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
25.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
26.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
27.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
28.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
29.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
30.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
31.172.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
168.192.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
64.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
65.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
66.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
67.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
68.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
69.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
70.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
71.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
72.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
73.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
74.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
75.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
76.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
77.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
78.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
79.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
80.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
81.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
82.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
83.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
84.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
85.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
86.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
87.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
88.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
89.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
90.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
91.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
92.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
93.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
94.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
95.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
96.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
97.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
98.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
99.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
100.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
101.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
102.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
103.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
104.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
105.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
106.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
107.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
108.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
109.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
110.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
111.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
112.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
113.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
114.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
115.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
116.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
117.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
118.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
119.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
120.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
121.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
122.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
123.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
124.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
125.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
126.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
127.100.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
127.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
254.169.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
2.0.192.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
100.51.198.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
113.0.203.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
255.255.255.255.IN-ADDR.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
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.0.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: D.F.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
8.E.F.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
9.E.F.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
A.E.F.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
B.E.F.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: automatic empty zone: 
8.B.D.0.1.0.0.2.IP6.ARPA
Dec 13 10:21:44 freedom named[2181]: command channel listening on 
127.0.0.1#953
Dec 13 10:21:44 freedom named[2181]: command channel listening on 
::1#953
Dec 13 10:21:44 freedom named[2181]: managed-keys-zone: loaded serial 55
Dec 13 10:21:44 freedom named[2181]: zone 0.in-addr.arpa/IN: loaded 
serial 0
Dec 13 10:21:44 freedom named[2181]: zone localhost.localdomain/IN: 
loaded serial 0
Dec 13 10:21:44 freedom named[2181]: zone localhost/IN: loaded serial 0
Dec 13 10:21:44 freedom named[2181]: zone 1.0.0.127.in-addr.arpa/IN: 
loaded serial 0
Dec 13 10:21:44 freedom named[2181]: zone 
keithsmithinternetmarketing.com/IN: loaded serial 1336774136
Dec 13 10:21:44 freedom named[2181]: 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: 
loaded serial 0
Dec 13 10:21:44 freedom named[2181]: all zones loaded
Dec 13 10:21:44 freedom named[2181]: running
Dec 13 10:21:44 freedom named[2181]: zone 
keithsmithinternetmarketing.com/IN: sending notifies (serial 1336774136)
Dec 13 10:21:44 freedom systemd: Started Berkeley Internet Name Domain 
(DNS).


I've search the internet and one guy said the date/time was wrong on his 
box.  Another said it was ipv6 and said to add OPTIONS="-4" to the 
named.conf file - I tried it however Bind would not start.

I can view the site in my browser using the private and public IP's.

I can telnet using the private and public IP's.

I've created custom name servers at my registrar.

However I cannot use the domain name to view the site.

Any thoughts?

Thanks a bunch!!
Keith


-- 
Keith Smith


More information about the PLUG-discuss mailing list