strange resolver behavour

Eugene Grosbein egrosbein at rdtc.ru
Wed Oct 13 07:05:41 UTC 2010


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


More information about the freebsd-net mailing list