? HMMM in.addr.arpa
Marco Kammerer
m.kammerer_SL at gmx.at
Thu Jan 25 17:21:58 UTC 2001
While executing nslookup at my bind mashine I experince ....
local:~ # nslookup
Default Server: l27.0.0.1.0.0.127.in-addr.arpa
Address: 127.0.0.1
> devel.marco.test
Server: l27.0.0.1.0.0.127.in-addr.arpa
Address: 127.0.0.1
Name: devel.marco.test
Address: 192.168.66.3
>
Bind is answering! ok but I think there is a error in the in-addr.arpa file.
Right?
I think there is something wrong here ...
there is also a message in /var/log/messages
... named[2785]: sysquery: findns error (NXDOMAIN) on 0.0.127.in-addr.arpa?
Can you help me?
Marco
--------------------------------------------
here is my /etc/named.conf
options {
directory "/var/named";
forward first;
forwarders {
111.22.33.11;
111.22.33.12;
};
};
zone "." {
type hint;
file "root.hints";
};
zone "marco.test" {
notify no;
type master;
file "pz/local_marco.test";
};
zone "66.168.192.in-addr.arpa" {
notify no;
type master;
file "pz/192.168.66";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};
--------------
the /var/named/pz/192.168.66 file
$TTL 3D
@ IN SOA ns1local.marco.test. root.marco.test. (
2001010202 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D ) ; Minimum TTL
NS ns1local.marco.test.
20 PTR ws1.local.marco.test.
21 PTR ws2.local.marco.test.
22 PTR ws3.local.marco.test.
3 PTR ns1local.marco.test.
3 PTR local.marco.test.
3 PTR devel.marco.test.
3 PTR deploy.marco.test.
---------------
the /var/named/pz/127.0.0 file
$TTL 3D
@ IN SOA @ root.marco.test. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D ) ; Minimum TTL
IN NS @
1 PTR l27.0.0.1
and here is the file /var/named/pz/local_marco.test
$TTL 1D
@ IN SOA ns1local.marco.test. root.marco.test. (
2001010400
8H
2H
4W
1D)
IN NS ns1local.marco.test.
IN MX 5 pop
www IN A 192.168.66.3
pop IN A 192.168.66.3
local IN A 192.168.66.3
devel IN A 192.168.66.3
deploy IN A 192.168.66.3
ns1local IN A 192.168.66.3
ws1.local IN A 192.168.66.20
ws2.local IN A 192.168.66.21
More information about the bind-users
mailing list