unable send email type=A: Host found but no data

3 posts / 0 new
Last post
#1 Fri, 05/29/2009 - 05:58
afmachado

unable send email type=A: Host found but no data

Hello, I guess that was after upgrading Virtualmin to 3.69, the postfix stopped to send emails The error displayed is:

<some_address@bol.com.br>: Host or domain name not found. Name service error for name=bol.com.br type=A: Host found but no data record of requested type

The machine is a Debian 4.0 Etch running inside a Virtuozzo VPS. So, it is possbile that the hosting company altered something else. I discovered that /etc/resolv.conf was rewritten by them, changed nameserves and removed 127.0.0.1. I included it again, but it did not solve the problem. Rechecked configuration using the virtualmin menu. It shows all ok. Before, at 3.68, I used the hint at http://www.virtualmin.com/forums/help-home-for-newbies/re:postfix-mailin... and it worked, but not now anymore. What could I do? Regards. Andre Felipe Machado

Fri, 05/29/2009 - 06:30
andreychek

My guess is that there's something wrong with the DNS server that it's using to perform the query for that domain name.

It may have cached a bad value for that domain name, amongst other possible issues.

One way of resolving that might be to remove the entries from /etc/resolv.conf except for 127.0.0.1 -- and then restart BIND.
-Eric

Fri, 05/29/2009 - 08:47 (Reply to #2)
afmachado

Hello,
Thanks a lot for your hint.
This pointed to the actual solution:
The hosting provider changed the resolv.conf /etc/hostname and /etc/hosts (automatically?) AND changed its name servers infrastructure <i>after</i> the files edition.
So, after asking them about for the <b>new valid nameservers</b>, I configured again /etc/resolv.conf and postfix is sending emails again.
Regards.
Andre Felipe Machado

Topic locked