Answer the question
In order to leave comments, you need to log in
Is it possible to record CNAME and MX?
Entered entries in zone settings
* CNAME dynamic-dns.ru
www CNAME dynamic-dns.ru
@ MX yandex.ru 10
* CNAME www.sitename.ru
www CNAME dynamic-dns.ru
@ MX yandex.ru 10
Answer the question
In order to leave comments, you need to log in
yes, CNAME doesn't work with MX. that's why he and CNAME. you can drive a crutch. write an SRV record for _http._tcp. maybe it will work.
crutch number 2 - drive a "stub site" into a static ip
that will redirect to www.sitename.ru upon request sitename.ru
RFC1912 p.p. 2.4
A CNAME record is not allowed to coexist with any other data. In
other words, if suzy.podunk.xx is an alias for sue.podunk.xx, you
can't also have an MX record for suzy.podunk.edu, or an A record, or
even a TXT record. Especially do not try to combine CNAMEs and NS
records like this!:
podunk.xx. IN NS ns1
IN NS ns2
IN CNAME mary
mary IN A 1.2.3.4
This is often attempted by inexperienced administrators as an obvious
way to allow your domain name to also be a host. However, DNS
servers like BIND will see the CNAME and refuse to add any other
resources for that name. Since no other records are allowed to
coexist with a CNAME, the NS entries are ignored. Therefore all the
hosts in the podunk.xx domain are ignored as well!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question