Re: resolves all non-existent address to my local host
Hi
> Em Wed, 21 Apr 2004 14:55:47 -0400, marcelo escreveu:
>
>> My debian box (woody) resolves all non-existent hostnames to the local
>> host.
>
> You certainly have a very strange bind9 configuration. You'll
> have to post it here.
>
>
i think there is nothig weird about my configuration: here it is:
$ cat /etc/bind/named.conf
acl bogusnets { 0.0.0.0/8; 2.0.0.0/8; 192.0.2.0/24; 224.0.0.0/3;
172.16.0.0/12;
};
acl our-nets {
127.0.0.0/8;
192.168.1.0/24;
192.168.2.0/24;
192.168.3.0/24;
192.168.10.0/24;
192.168.100.0/24;
200.87.125.192/29;
};
options {
directory "/var/cache/bind";
allow-recursion { our-nets; };
query-source address * port 53;
transfer-source * port 53;
notify-source * port 53;
blackhole { bogusnets; };
auth-nxdomain no; # conform to RFC1035
version "8.8.8";
};
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "redcetus.com" {
type slave;
file "/etc/bind/domains/redcetus.com";
masters {
200.87.125.195;
};
};
/etc/bind/db.root is the usual hint zone from Internic
$ cat /etc/bind/db.local
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
$ cat /etc/bind/db.127
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.
$ cat /etc/bind/domains/redcetus.com
$ORIGIN .
$TTL 86400 ; 1 day
redcetus.com IN SOA redcetus.com. root.localhost.redcetus.com. (
2003080213 ; serial
28800 ; refresh (8 hours)
14400 ; retry (4 hours)
3600000 ; expire (5 weeks 6 days 16 hours)
86400 ; minimum (1 day)
)
NS ns1.redcetus.com.
NS ns2.redcetus.com.
NS ns1m.redcetus.com.
NS ns4m.redcetus.com.
NS ns6m.redcetus.com.
NS ns7m.redcetus.com.
A 200.87.125.196
MX 5 mail.redcetus.com.
$ORIGIN redcetus.com.
* CNAME minerva0
jorge CNAME medusa0
kaboola A 200.87.125.198
ki A 206.107.150.238
liceomilitar CNAME medusa0
mail A 200.87.125.195
marcelo CNAME medusa0
medusa A 200.87.125.195
MX 5 mail
medusa0 A 200.87.125.195
minerva A 200.87.125.196
minerva0 A 200.87.125.196
nacionxxi CNAME medusa0
ns1 A 200.87.125.195
ns1m A 192.5.6.34
ns2 A 200.87.125.196
ns4m A 192.31.80.34
ns6m A 192.35.51.34
ns7m A 192.42.93.34
pegasso A 200.87.125.194
poanet A 200.87.117.75
router A 200.87.125.193
superhid CNAME medusa0
sys A 200.87.125.198
test CNAME medusa0
test1 CNAME medusa0
test2 CNAME medusa0
test3 CNAME medusa0
www CNAME minerva0
nonetheless, this problem should appear when i do "host"
minerva:~# host lkaj
Host lkaj not found: 3(NXDOMAIN)
minerva:~# ping -c1 lkaj
PING minerva0.redcetus.com (200.87.125.196): 56 data bytes
64 bytes from 200.87.125.196: icmp_seq=0 ttl=255 time=0.0 ms
--- minerva0.redcetus.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.0/0.0/0.0 ms
thanks in advance
------------------------------------------------------------------
NOTA DE REDCETUS S.R.L. : La información contenida en este E-mail y sus anexos, sólo puede ser utilizada por el individuo o la compañía a la cual está dirigido. Si no es el receptor autorizado, cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Si por error recibe este mensaje, favor reenviarlo y borrar el mismo
Reply to: