Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 14:05:37 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: strange resolver behavour
Message-ID:  <4CB55A41.6000507@rdtc.ru>
In-Reply-To: <4CB4AB48.2050307@FreeBSD.org>
References:  <4CB2AF28.30309@rdtc.ru> <ygemxqlrnuz.wl%ume@mahoroba.org>	<4CB3D6B6.9060001@rdtc.ru> <4CB409DA.1060705@FreeBSD.org> <4CB455D5.1080902@rdtc.ru> <4CB4AB48.2050307@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13.10.2010 01:39, Doug Barton wrote:

>> I care about my resolver behavior.
> 
> Ok, well, that's working as advertised, so no problems then.

That's fine. And how about host(1)?
It looks for MX record for synthetic domain names
using suffixes from /etc/resolv.conf

Hopefully it does not find but what if such names would exist
and have MX records? host(1) would lie to me.
Is it normal?

$ host -v .koin-nkz.com.
[skip]

Trying "koin-nkz.com"
Received 30 bytes from 127.0.0.1#53 in 149 ms
Trying "koin-nkz.com.first.suffix.ru"
Trying "koin-nkz.com.second.suffix.ru"
Trying "koin-nkz.com.third.suffix.ru"
Trying "koin-nkz.com.fourth.suffix.local"
Host koin-nkz.com not found: 3(NXDOMAIN)
Received 99 bytes from 127.0.0.1#53 in 0 ms



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB55A41.6000507>