Re: [exim] MX record exists but exim says "HOST_NOT_FOUND"

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Toby Chamberlain
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] MX record exists but exim says "HOST_NOT_FOUND"
"Toby Chamberlain" schrieb:

> This domain is "localnet" and is configured on
> the internal DNS servers. On the machine is question, "dig -t mx localnet"
> returns the correct mailserver, but "exim -d -bt toby@localnet" fails with
> "DNS lookup of localnet (MX) gave HOST_NOT_FOUND" in the dnslookup bit


>What is the A record of that mailserver, i.e. what IP does it have?


>Is this IP in ignore_target_hosts of the dnslookup router?


>-thh>More importantly, what is the MX record, exactly? I'm guessing you
>have an IP address in >here, while MX records should always be names
>defined as A records.



The MX record is as follows:
dig -tmx localnet:
;; ANSWER SECTION:
localnet.               86400   IN      MX      10 mail.xxxxx.com.


This A record of the mailserver is as follows:
dig -ta mail.xxxxx.com.
;; ANSWER SECTION:
mail.xxxxxxx.com 65995 IN CNAME server.xxxxxx.com
server.xxxxxx.com 42508 IN A 222.333.44.55 (this is a public IP)

The ignore_target_hosts for the dnslookup router is as follows:
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
                      172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
                      255.255.255.255



The MX record for localnet is exactly the same as for xxxxx.com and about 5
other virtual domains we host - all of which are working fine. I tried
changing it to point to the A record rather than a CNAME, but same error.

Toby