Re: [Exim] $interface_host ?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: patl
CC: exim-users
Subject: Re: [Exim] $interface_host ?
On Thu, 9 Mar 2000 patl@??? wrote:

> Is there any easy way to get the (reverse DNS) canonical hostname
> associated with $interface_address ? It would make it much easier
> for me to set up certain aspects of IP-based virtual domains.


There is an item on the Wish List that might be relevant:

------------------------------------------------------------------------------
(132) 01-Mar-2000 S Lookup host name from outgoing interface
Vadim Vygonets <vadik@???>

Instead of primary_hostname, look up the name for the interface that is being 
used for sending. Suggested patch supplied, but this should be an option of the
smtp transport.                                                            
------------------------------------------------------------------------------


> If there is no easy built-in method at this time, I'd like to
> propose either:
>
>     1)    Add an $interface_host variable that would be set to the
>    reverse DNS lookup of $interface_address.  (When that
>    variable is valid.)

>
> Or
>     2)  Add a general DNS lookup capability that would take a key
>    and a record type.  (With some magic to recognize and convert
>    IP address keys into the in-addr.arpa form when PTR records
>    are requested.)


Suggestions noted.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.