Overriding MX records to internal gateways

Kevin Darcy kcd at chrysler.com
Fri May 2 19:56:07 UTC 2008


Pedro Espinoza wrote:
> Gurus:
>
> is it possible with BIND to replace authoritative MX records with
> internal gateways, so that the MTA can route the email to internal
> gateways? Of course, sendmail/postfix provides a solution to do that.
> But I am looking at DNS level, as follows:
>
>
>
> ;; QUESTION SECTION:
> ;gmail.com.                     IN      MX
>
> ;; ANSWER SECTION:
> gmail.com.              870     IN      MX      10 localrelay1.example.com.
> gmail.com.              870     IN      MX      50 localrelay2.example.com
>
>   
You'd have to have a "private" version of the whole gmail.com zone.

                                                                         
-Kevin



More information about the bind-users mailing list