Re: [Exim] Need Exim to ask hosts file before asking my DNS

Pàgina inicial
Delete this message
Reply to this message
Autor: Matthew Byng-Maddick
Data:  
A: exim-users
Assumpte: Re: [Exim] Need Exim to ask hosts file before asking my DNS
On Thu, May 06, 2004 at 12:31:34PM +0200, Sherif Mohamad wrote:
> not the virtual one (behind the firewall), it used gethostbyname to get the
> MX of the domain, so it got the host name, but when trying to get the IP of


NO!

IT DIDN'T.

You can't get MX records from gethostbyname(). It is a host lookup function.

If you're doing MX lookups, you won't be using the hosts file.

I don't know how I can explain this more clearly a third time...

MBM

--
Matthew Byng-Maddick          <mbm@???>           http://colondot.net/
                      (Please use this address to reply)