K. Clair on 16 Jun 2009 19:21:24 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] sendmail, multiple IPs, and virtual nics


Hi,

I think that you are blurring multiple issues.

Why do you need to provide DNS on all three IPs to keep them separate?
 That  seems a little extreme.  If they were all using the same DNS
server, that would mean that they only share NS records, which does
not really indicate much.  Thousands and thousands of domains which
have nothing to do with each other save DNS service share NS records.
The same goes for PTR records.

The hostname that sendmail, or any MTA I've ever worked with, returns
has nothing to do with the nameserver running on the host, but rather
the defined hostname either on the host or specifically defined in the
MTA.  For that matter, in my experience most MTAs only allow you to
define one hostname.

It sounds like you want to have three different servers for three
different IPs, but you want to do that with only one server.   As
someone else suggested, vps would be the way to go.  Even in this
case, I don't understand the need for individual nameservers!

-K

On Tue, Jun 16, 2009 at 12:10 PM, <mdecheser@comcast.net> wrote:
> I recently discovered Linode.  What a wondrous gift to humanity.  The admins
> were kind enough to grant me 2 additional IP addresses on my Linode, for a
> total of 3.  I'm running the latest CentOS (5.3).
>
> To be brief, I would like to configure sendmail to return a different
> hostname depending on which IP address is listening.  Currently, sendmail is
> returning the primary hostname of the system when you telnet to port 25 @
> any IP.
>
> The purpose for the multiple IP addresses is to provide multiple nameserver
> hosts.  I have 2 sites which I do not want associated with my hostname,
> domain or primary IP address.  Essentially, I'd like to provide DNS on all 3
> IP addresses, but for different domains, each with its own distinct smtp
> hostname.
>
> Do I need to run separate instances of sendmail or named to accomplish
> this?  I'm not certain that using virtual interfaces puts any bearing on the
> solution, but that's part of the configuration.
>
> Cheers,
>
> mark
>
>
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug