Ok. I made the changes you mentioned. The one thing I did different was put the file in /var/named and changed the line in your named.conf from:
directory "/usr/local/bind";
to
directory "/var/named";
Here is the output from /var/log/messages:
When starting named:
Jan 11 09:33:58 xac02 named[19335]: starting BIND 9.4.1-P1 -u named -n 1
Jan 11 09:33:58 xac02 named[19335]: found 2 CPUs, using 1 worker thread
Jan 11 09:33:58 xac02 named[19335]: loading configuration from '/etc/bind/named.conf'
Jan 11 09:33:58 xac02 named[19335]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: 254.169.IN-ADDR.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Jan 11 09:33:58 xac02 named[19335]: 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
Jan 11 09:33:58 xac02 named[19335]: automatic empty 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
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: D.F.IP6.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: 8.E.F.IP6.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: 9.E.F.IP6.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: A.E.F.IP6.ARPA
Jan 11 09:33:58 xac02 named[19335]: automatic empty zone: B.E.F.IP6.ARPA
Jan 11 09:33:58 xac02 named[19335]: command channel listening on 127.0.0.1#953
Jan 11 09:33:58 xac02 named[19335]: zone 127.in-addr.arpa/IN: loading from master file localhost.rev failed: file not found
Jan 11 09:33:58 xac02 named[19335]: running
After doing a the nslookup tests:
Jan 11 09:34:58 xac02 named[19335]: checkhints: b.root-servers.net/A (192.228.79.201) missing from hints
Jan 11 09:34:58 xac02 named[19335]: checkhints: b.root-servers.net/A (128.9.0.107) extra record in hints
Jan 11 09:34:58 xac02 named[19335]: checkhints: j.root-servers.net/A (192.58.128.30) missing from hints
Jan 11 09:34:58 xac02 named[19335]: checkhints: j.root-servers.net/A (198.41.0.10) extra record in hints
Jan 11 09:34:58 xac02 named[19335]: checkhints: l.root-servers.net/A (199.7.83.42) missing from hints
Jan 11 09:34:58 xac02 named[19335]: checkhints: l.root-servers.net/A (198.32.64.12) extra record in hints
It looked up
fine, but not the other private one.
Here is the output from that:
xac02 named # nslookup - 127.0.0.1
> set debug
>
Server: 127.0.0.1
Address: 127.0.0.1#53
------------
QUESTIONS:
type = A, class = IN
ANSWERS:
->
canonical name =
->
internet address = 209.191.93.52
AUTHORITY RECORDS:
-> akadns.net
nameserver = use4.akadns.net.
-> akadns.net
nameserver = zd.akadns.org.
-> akadns.net
nameserver = use3.akadns.net.
-> akadns.net
nameserver = za.akadns.org.
-> akadns.net
nameserver = zb.akadns.org.
-> akadns.net
nameserver = zc.akadns.org.
-> akadns.net
nameserver = eur1.akadns.net.
-> akadns.net
nameserver = usw2.akadns.net.
-> akadns.net
nameserver = asia9.akadns.net.
ADDITIONAL RECORDS:
------------
Non-authoritative answer:
canonical name =
Name:
Address: 209.191.93.52
> ac19.i2software.com
Server: 127.0.0.1
Address: 127.0.0.1#53
------------
QUESTIONS:
ac19.i2software.com, type = A, class = IN
ANSWERS:
AUTHORITY RECORDS:
-> i2software.com
origin = i2software.com
mail addr = dnsadmin.ezclick.net
serial = 2007100301
refresh = 10800
retry = 3600
expire = 604800
minimum = 86400
ADDITIONAL RECORDS:
------------
** server can't find ac19.i2software.com: NXDOMAIN
Server: 127.0.0.1
Address: 127.0.0.1#53
------------
QUESTIONS:
ac19.i2software.com.i2software.com, type = A, class = IN
ANSWERS:
AUTHORITY RECORDS:
-> i2software.com
origin = i2software.com
mail addr = dnsadmin.ezclick.net
serial = 2007100301
refresh = 10800
retry = 3600
expire = 604800
minimum = 86400
ADDITIONAL RECORDS:
------------
** server can't find ac19.i2software.com.i2software.com: NXDOMAIN
Why does it have i2software.com twice there?
Thanks so much for the help though, I am beginning to understand how this works.
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.