Subject: Oggetto: Re: Sendmail DNS problem
To: None <itojun@iijlab.net>
From: None <Federico_Lupi@mail.datasys.it>
List: port-i386
Date: 07/31/2000 16:31:45
itojun@iijlab.net wrote:
> Federico_Lupi@mail.datasys.it wrote:
>> Although until a few days ago everything worked fine, now I can't send
>> mail with sendmail to the relay host 'mail.mclink.it'. I get the
following
>> error:
>>
>> $ sendmail -v -q -d8.7
>>
>> Running MAA00454 (sequence 1 of 1)
>> getmxrr(mail.mclink.it, droplocalhost=1)
>> getmxrr: res_search(mail.mclink.it) failed (errno=60, h_errno=2)
>> Federico_Lupi@mail.datasys.it... Deferred: Name server: mail.mclink.it:
>> host name lookup failure
>
> I think you have some reachability problem to DNS server from
> sendmail. not sure why you are okay with dnsquery. make sure
> that you put reachable DNS server into /etc/resolv.conf.
>
> itojun
/etc/resolv.conf should be ok, I checked. It has been the same for one
year and always worked. In /etc/nsswitch.conf I have the line
hosts files dns
BTW, nslookup query also works. Only sendmail gives an error.
# nslookup
Default Server: ammi.mclink.it
Address: 195.110.128.1
> server dns.mclink.it
Default Server: dns.mclink.it
Address: 195.110.128.1
> set q=mx
> mclink.it
Server: dns.mclink.it
Address: 195.110.128.1
Non-authoritative answer:
mclink.it preference = 8, mail exchanger = vmail.mclink.it
mclink.it preference = 10, mail exchanger = ns2.albacom.net
mclink.it preference = 50, mail exchanger = relay.eu.net
mclink.it preference = 2, mail exchanger = mailhub.mclink.it
mclink.it preference = 5, mail exchanger = mail.mclink.it
Authoritative answers can be found from:
vmail.mclink.it internet address = 195.110.128.11
ns2.albacom.net internet address = 212.17.192.209
relay.eu.net internet address = 134.222.91.10
mailhub.mclink.it internet address = 195.110.128.6
mail.mclink.it internet address = 195.110.128.30
>
Thanks,
Federico Lupi