Friedrich Sinofzik
2002-07-02 17:43:24 UTC
HI EVERYONE.
My question:
Iam a small ISP, I have 5 machines in my internal network .
I setup 2 servers to work like a CACHE for my internal network .
The first server 200.xxx.xxx.195 and the second server 200.xxx.xxx.197
..
Each one have a internal chache and external cache configured and the
resolve.conf pointed first to 200.xxx.xxx.195, 200.xxx.xxx.197 and to
127.0.0.1 ( if the both external cache go down )..
The dnscachex ( the external dnscache). In both machine have under
/tinydns/root/ip all my internal machines ips to permit this machines
use this chache servers .
All is working fine.but a strange thing happens to resolv the PTR of
specifics ips ( no my ips, but the net ips)..
Almost all ips resove without problem.. maybe 90% but a lot of ips iam
receiving that cant resolv the reverse ip..
Why this happens?? In bind this ips resolve fine....
A Exemple IP, this ip is my ip from my Satelite Link. Is out from this
machines ip pools, I cant enter in this machines because the ssh try
resolve the ip, and cant do it..
200.221.182.163
this is just 1 exemple, this ips resolve in bind and Almost ns servers
in net.. but in my chache not..
***@fred:/# dnsname 200.221.182.163
dnsname: fatal: unable to find host name for 200.221.182.163: timed out
***@fred:~# tail -f /service/dnscache/log/main/current
@400000003d2182e920ceac8c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182e920cefe94 sent 3401 46
@400000003d2182f321fe916c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182f321fed3d4 sent 3402 46
@400000003d2183ca2631754c query 3457 7f000001:1012:a0d6 12
83.128.221.200.in-addr.arpa.
@400000003d2183ca2631bf84 tx 0 12 83.128.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2182ff3774e44c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182ff37752e84 sent 3403 46
@400000003d21839c1f0b420c query 3450 7f000001:9b08:5681 12
163.182.221.200.in-addr.arpa.
@400000003d2183aa229e0d8c query 3453 7f000001:8d3f:0715 12
163.182.221.200.in-addr.arpa.
@400000003d2183aa229e5bac tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d21839c1f0b902c tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183d42763d2fc query 3459 7f000001:1012:a0d6 12
83.128.221.200.in-addr.arpa.
@400000003d2183d427642504 tx 0 12 83.128.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183d8262d1434 servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2183d8262d5e6c sent 3450 46
@400000003d2183e2263322fc query 3460 7f000001:0b28:8820 12
163.182.221.200.in-addr.arpa.
@400000003d2183e22633711c tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183e629c27bac servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2183e629c2c5e4 sent 3453 46
trying resove in ns1.dns.br this ip reverse, work fine.. but in my own
cache not I receive a time out message
***@fred:/# dnsq ptr 163.182.221.200.in-addr.arpa ns1.dns.br
12 163.182.221.200.in-addr.arpa:
129 bytes, 1+0+2+2 records, response, noerror
query: 12 163.182.221.200.in-addr.arpa
authority: 182.221.200.in-addr.arpa 86400 NS eliot.uol.com.br
authority: 182.221.200.in-addr.arpa 86400 NS borges.uol.com.br
additional: eliot.uol.com.br 86400 A 200.221.11.98
additional: borges.uol.com.br 86400 A 200.221.11.105
now, in the same machine I disable the dnscache and dnscachex ( internal
and external cache ) and put up the BIND.
***@fred:/# nslookup
Default Server: localhost
Address: 127.0.0.1
Address: 127.0.0.1
Name: 200-221-182-163.uolsat.uol.com.br
Address: 200.221.182.163
Address: 127.0.0.1
Non-authoritative answer:
163.182.221.200.in-addr.arpa name = 200-221-182-163.uolsat.uol.com.br
Authoritative answers can be found from:
182.221.200.in-addr.arpa nameserver = ELIOT.uol.com.br
182.221.200.in-addr.arpa nameserver = BORGES.uol.com.br
ELIOT.uol.com.br internet address = 200.221.11.98
BORGES.uol.com.br internet address = 200.221.11.105
All resolv fine........
Why DJBDNS not do this and bind do?? What is wrong ?? in @ file under
/server I changed to be like in root.hints in bind but still not
working..
Help plese.. thanks a lot..
My question:
Iam a small ISP, I have 5 machines in my internal network .
I setup 2 servers to work like a CACHE for my internal network .
The first server 200.xxx.xxx.195 and the second server 200.xxx.xxx.197
..
Each one have a internal chache and external cache configured and the
resolve.conf pointed first to 200.xxx.xxx.195, 200.xxx.xxx.197 and to
127.0.0.1 ( if the both external cache go down )..
The dnscachex ( the external dnscache). In both machine have under
/tinydns/root/ip all my internal machines ips to permit this machines
use this chache servers .
All is working fine.but a strange thing happens to resolv the PTR of
specifics ips ( no my ips, but the net ips)..
Almost all ips resove without problem.. maybe 90% but a lot of ips iam
receiving that cant resolv the reverse ip..
Why this happens?? In bind this ips resolve fine....
A Exemple IP, this ip is my ip from my Satelite Link. Is out from this
machines ip pools, I cant enter in this machines because the ssh try
resolve the ip, and cant do it..
200.221.182.163
this is just 1 exemple, this ips resolve in bind and Almost ns servers
in net.. but in my chache not..
***@fred:/# dnsname 200.221.182.163
dnsname: fatal: unable to find host name for 200.221.182.163: timed out
***@fred:~# tail -f /service/dnscache/log/main/current
@400000003d2182e920ceac8c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182e920cefe94 sent 3401 46
@400000003d2182f321fe916c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182f321fed3d4 sent 3402 46
@400000003d2183ca2631754c query 3457 7f000001:1012:a0d6 12
83.128.221.200.in-addr.arpa.
@400000003d2183ca2631bf84 tx 0 12 83.128.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2182ff3774e44c servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2182ff37752e84 sent 3403 46
@400000003d21839c1f0b420c query 3450 7f000001:9b08:5681 12
163.182.221.200.in-addr.arpa.
@400000003d2183aa229e0d8c query 3453 7f000001:8d3f:0715 12
163.182.221.200.in-addr.arpa.
@400000003d2183aa229e5bac tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d21839c1f0b902c tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183d42763d2fc query 3459 7f000001:1012:a0d6 12
83.128.221.200.in-addr.arpa.
@400000003d2183d427642504 tx 0 12 83.128.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183d8262d1434 servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2183d8262d5e6c sent 3450 46
@400000003d2183e2263322fc query 3460 7f000001:0b28:8820 12
163.182.221.200.in-addr.arpa.
@400000003d2183e22633711c tx 0 12 163.182.221.200.in-addr.arpa.
200.in-addr.arpa. c8d8edc3
@400000003d2183e629c27bac servfail 163.182.221.200.in-addr.arpa.
input/output error
@400000003d2183e629c2c5e4 sent 3453 46
trying resove in ns1.dns.br this ip reverse, work fine.. but in my own
cache not I receive a time out message
***@fred:/# dnsq ptr 163.182.221.200.in-addr.arpa ns1.dns.br
12 163.182.221.200.in-addr.arpa:
129 bytes, 1+0+2+2 records, response, noerror
query: 12 163.182.221.200.in-addr.arpa
authority: 182.221.200.in-addr.arpa 86400 NS eliot.uol.com.br
authority: 182.221.200.in-addr.arpa 86400 NS borges.uol.com.br
additional: eliot.uol.com.br 86400 A 200.221.11.98
additional: borges.uol.com.br 86400 A 200.221.11.105
now, in the same machine I disable the dnscache and dnscachex ( internal
and external cache ) and put up the BIND.
***@fred:/# nslookup
Default Server: localhost
Address: 127.0.0.1
200.221.182.163
Server: localhostAddress: 127.0.0.1
Name: 200-221-182-163.uolsat.uol.com.br
Address: 200.221.182.163
set q=ptr
200.221.182.163
Server: localhost200.221.182.163
Address: 127.0.0.1
Non-authoritative answer:
163.182.221.200.in-addr.arpa name = 200-221-182-163.uolsat.uol.com.br
Authoritative answers can be found from:
182.221.200.in-addr.arpa nameserver = ELIOT.uol.com.br
182.221.200.in-addr.arpa nameserver = BORGES.uol.com.br
ELIOT.uol.com.br internet address = 200.221.11.98
BORGES.uol.com.br internet address = 200.221.11.105
All resolv fine........
Why DJBDNS not do this and bind do?? What is wrong ?? in @ file under
/server I changed to be like in root.hints in bind but still not
working..
Help plese.. thanks a lot..