SPAM: Quick question about MX

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SPAM: Quick question about MX

Ronald Wiplinger
I tried to find the answer in the Bind and DNS book first.

I "think" I remember, that each MX entry must have an A record and
cannot be a CNAME record. Is that correct?

I have one machine, which will be the mail server for a couple of mail
server names:

mail.example.com
mail2.example.com
mail.another.com
mail2.another.com

What records do I need for them?
Just in case it is relevant, I will use qmail.

Thanks for an answer to my quick question.

Have a nice Sunday!

bye

Ronald

--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: SPAM: Quick question about MX

Jan Engelhardt
>
> I tried to find the answer in the Bind and DNS book first.
>
> I "think" I remember, that each MX entry must have an A record and cannot be a
> CNAME record. Is that correct?
>
> I have one machine, which will be the mail server for a couple of mail server
> names:
>
> mail.example.com
> mail2.example.com
> mail.another.com
> mail2.another.com
>
> What records do I need for them?

Depends on what you need to do. For example,

$ORIGIN com.
example IN SOA ...
        IN MX 0 mail.example.com
        IN MX 5 mail2.example.com

$ORIGIN example.com.
mail IN A 1.3.3.7
mail2 IN A 1.3.3.8



Jan Engelhardt
--

--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]