On Mon, May 15, 2000 at 05:31:34PM -0700, James wrote:
> I've created a few virtual domains on my system (Linux Mandrake 7.02), and
> they are all working well. Now I wish to redirect mail sent to any one of
> the virtual domains to the correct place.
>
> I have only one question at this point that I'd like to clear up. I can't
> find any reference in the O'Reilly "DNS and BIND" book that explains
> exactly how to do this. Anyway, my only question at this point is.. in
> the MX part of the DNS record of a virtual domain, I don't quite
> understand "what" the mail server is.. is it my server? Or do I have some
> special name for the mail server?? So, if it's just my server, and I have
> a virtual domain user that I want to have mail sent to, which one of these
> MX setups is correct?
>
> virtualdomain.com. IN MX 10 server.com.
> or
> virtualdomain.com. IN MX 10 virtualdomain.com.
Either will work, so long as server.com or virtualdomain.com resolves to
whatever the address of the server is. There's no reason that
virtualdomain.com's mail exchanger has to be called virtualdomain.com though.
(There are actually reasons why you'd want an "in-zone" server, but I wouldn't
worry about it at this point.)
Chris