LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Query regarding DNS (https://www.linuxquestions.org/questions/linux-software-2/query-regarding-dns-549344/)

saini_mw 04-26-2007 08:50 PM

Query regarding DNS
 
hey Guys..

Today i have a Query regarding DNS, if someone dont publish their MX records and they do have a CNAME record published for it..will the mail coming to that CNAME domain be forwarded to the Orignal domain or what will happen??

for example..i have a domain abc.def.com for which i dont want to publish MX records but i do have a CNAME record published for it let us suppose abc.com...then if someone is mailing us on abc.com will that mail be forwarded to abc.def.com???

any ideas ???

Regards,

--Inder Saini.

fukawi2 04-26-2007 11:17 PM

1) They would be 2 totally different domains. Do you mean abc.com and def.abc.com ?
2) Why don't you want to publish MX records?

ntrcessor 06-17-2009 05:20 PM

If there is no MX record, the mailer will attempt to establish contact with the machine whose ip is returned through the cname lookup. If there is no matching mail account on that machine, the mail will bounce as there is no published route to the domain in question.

If you have MX records setup, then mail will go to the first available server based on priority level of the MX record. That being said, if there is no MX record for CNAME.domain.name then the mail will still bounce if no mail server resides on said box, or if no equivalent mail account exists on that box.

(if user@CNAME.domain.name doesn't exist, the mail will bounce, unless there is a catchall address set up on that server.)

Many times, the default mail handling has a catchall the redirects catchall mail to /dev/null, effectively making it dissappear into the subetha.

fukawi2 06-17-2009 05:24 PM

Wow, necro-posting ftl. This thread is well over 2 years old... I don't think the OP cares anymore.

saini_mw 09-14-2009 12:29 PM

hey people...thanks a lot that you looked at it. Yeah its too old and i started using my 'linuxquestions' account after a long time today again :-)


All times are GMT -5. The time now is 01:38 AM.