[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resolves all non-existent address to my local host



Hi

> On Fri, Apr 23, 2004 at 03:05:02PM -0400, marcelo@redcetus.com wrote:
>> 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.
>> $ cat /etc/bind/domains/redcetus.com
>>
>> *                       CNAME   minerva0
>
> This wildcard entry is the indirect cause of the problem. However, in an
> earlier post your resolv.conf did not have a "search" line, so this
> should not cause problems. Do you have LOCALDOMAIN in your environment ?
>
> Frank

the variable $LOCALDOMAIN does not seems to be part of the environment.

echo $LOCALDOMAIN                         yields nothing

and also:
cat /proc/[0-9]*/environ | grep DOMAIN    shows me nothing

There is some more information that might be usefull:

minerva:~# cat /proc/sys/kernel/hostname
minerva.redcetus.com
minerva:~# cat /proc/sys/kernel/domainname
(none)
minerva:~# hostname
minerva.redcetus.com

I'll check the wildcard again but i tested that before and i doubt its the
cause, besides, it works quite different.

For example:

minerva:~# host alskjdalsdj.redcetus.com
alskjdalsdj.redcetus.com is an alias for minerva0.redcetus.com.
minerva0.redcetus.com has address 200.87.125.196

but

minerva:~# host alskjdalsdj
Host alskjdalsdj not found: 3(NXDOMAIN)

and:

minerva:~# ping alskjdalsdj -c1
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

seems just equal to:

minerva:~# ping alskjdalsdj.redcetus.com -c1
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 a lot Frank.

MM
------------------------------------------------------------------
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: