AIX4.3.2/BIND8.2.2p5 problem
schamrde at my-deja.com
schamrde at my-deja.com
Fri Nov 26 10:55:08 UTC 1999
Mark,
sorry if you got the impression that I'm hiding the details,
that wasn't my intention.
Maybe I should have mentioned that the same config is working
perfectly on Linux/bind8.2.2p5.
In article <199911260220.NAA29494 at bsdi.dv.isc.org>,
Mark_Andrews at iengines.com wrote:
> ...
> What is the configuration? named.conf and resolv.conf
/etc/named.conf on bbmagvb.bbmag.bbraun.com (212.0.12.219):
options {
directory "/var/named";
forward only;
forwarders { 212.0.16.7; };
// listen-on { 212.0.12.219; }; was my first try
// listen-on { 212.0.12.219; 127.0.0.1; }; was my second try
// no I use no listen-on statement at all
};
zone "." {
type hint;
file "misc/cache";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "misc/127.0.0";
};
// Forward Mapping
zone "bbraun.com" {
type slave;
file "sec/bbraun.com";
forwarders { };
masters {
212.0.12.202;
};
};
// Reverse Mapping
zone "in-addr.arpa" { // drastic, I know
type slave;
file "sec/reverse";
forwarders { };
masters {
212.0.12.202;
};
};
zone "bbmag.bbraun.com" {
type slave;
file "sec/bbmag.bbraun.com";
masters {
194.120.1.9;
};
};
zone "0.0.212.in-addr.arpa" {
type slave;
file "sec/212.0.0";
masters {
194.120.1.9;
};
};
zone "1.0.212.in-addr.arpa" {
type slave;
file "sec/212.0.1";
masters {
194.120.1.9;
};
};
/etc/resolv.conf on bbmagvb.bbmag.bbraun.com:
nameserver 212.0.12.202
domain bbmag.bbraun.com
When I use nslookup, I first enter "server bbmagvb.bbmag.bbraun.com" to
switch to the machine I'm interested in.
> Is the server behind a firewall?
bbmagvb is behind a firewall, but I'm also behind it (incl. my
workstation bbmag3507 (212.0.4.5)), so I don't think this is relevant
here.
> What is being syslogged (/var/adm/messages)?
The named statistics. Should I look for something special?
> What is logged when you turn on logging?
> ndc trace
> <directory from options>/named.run
I turned on logging on bbmagvb. Then I did
bbmagvb$ nslookup
server bbmagvb
Default Server: bbmagvb.bbmag.bbraun.com
Address: 212.0.12.219
www.bbmag.bbraun.com.
Server: bbmagvb.bbmag.bbraun.com
Address: 212.0.12.219
*** bbmagvb.bbmag.bbraun.com can't find www.bbmag.bbraun.com.: No
response from server
lserver localhost
Default Server: localhost
Address: 127.0.0.1
www.bbmag.bbraun.com.
Server: localhost
Address: 127.0.0.1
*** localhost can't find www.bbmag.bbraun.com.: No response from server
I don't see anything in named.run, i.e. no "datagram from
[212.0.12.219]" or "datagram from [127.0.0.1]"
When I do the same queries from my workstation I get the answer and see
the relevant entries in named.run:
bbmag3507$ nslookup
server bbmagvb
Default Server: bbmagvb.bbmag.bbraun.com
Address: 212.0.12.219
www.bbmag.bbraun.com.
Server: bbmagvb.bbmag.bbraun.com
Address: 212.0.12.219
Name: www.bbmag.bbraun.com
Address: 212.0.12.200
In named.run:
Debug level 1
Version = named 8.2.2-P5 Thu Nov 18 16:50:50 MEZ 1999
root at ns2:/home/root/bind/src/bin/named
conffile = /etc/named.conf
...
datagram from [212.0.4.5].3761, fd 22, len 38
req: nlookup(www.bbmag.bbraun.com) id 5 type=1 class=1
req: found 'www.bbmag.bbraun.com' as 'www.bbmag.bbraun.com' (cname=0)
ns_req: answer -> [212.0.4.5].3761 fd=22 id=5 size=146 rc=0
...
> Have you bought a copy of "DNS and BIND"?
Yes.
Hope this helps tracking down the problem.
If you need further information, please let me know.
Martin
martin dot scharpf at bbraun dot com
>
> Mark
>
> > Can't resolve names on the same machine,
> > ie installed bind8.2.2p5 on AIX4.3.2
(myserver.dom.com,234.234.234.234).
> > Queries from this machine to the nameserver running on
> > it are timing out. This happens with 8.2.2.p5 nslookup and
> > original AIX nslookup. From other machines I get everything
> > resolved. In named.conf I tried
> > listen-on { 234.234.234.234; };
> > and
> > listen-on { 127.0.0.1; };
> > and
> > no listen-on statement at all.
> >
> > any configuration hints are wellcome.
> > Martin
> > martin dot scharpf at bbraun dot com
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the bind-users
mailing list