Re: Zone record set up
Victor Duchovni a écrit : On Fri, Jan 23, 2009 at 08:53:21PM +0100, mouss wrote: wrong. the MX should not be a cname. see http://www.rfc-ignorant.org/policy-bogusmx.php use IN MC 10 mail2.freewayprojects.com. This requirement was relaxed in RFC 2821. It is OK (though still better not to if not necessary) to use CNAMES. my understanding is that RFC 5321 went back. at least, this is what I understand from: When a domain name associated with an MX RR is looked up and the associated data field obtained, the data field of that response MUST contain a domain name. That domain name, when queried, MUST return at least one address record (e.g., A or RR) that gives the IP address of the SMTP server to which the message should be directed. Any other response, specifically including a value that will return a CNAME record when queried, lies outside the scope of this Standard. The prohibition on labels in the data that resolve to CNAMEs is discussed in more detail in RFC 2181, Section 10.3 [38]. or am I misunderstanding this?
Re: Zone record set up
On Sat, Jan 24, 2009 at 09:15:27AM +0100, mouss wrote: IN MC 10 mail2.freewayprojects.com. This requirement was relaxed in RFC 2821. It is OK (though still better not to if not necessary) to use CNAMES. my understanding is that RFC 5321 went back. at least, this is what I understand from: When a domain name associated with an MX RR is looked up and the associated data field obtained, the data field of that response MUST contain a domain name. That domain name, when queried, MUST return at least one address record (e.g., A or RR) that gives the IP address of the SMTP server to which the message should be directed. Any other response, specifically including a value that will return a CNAME record when queried, lies outside the scope of this Standard. The prohibition on labels in the data that resolve to CNAMEs is discussed in more detail in RFC 2181, Section 10.3 [38]. or am I misunderstanding this? You appear to be right, while a CNAME in the sender or recipient domain is now allowed, CNAMEs in the MX RRset are not. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: mailto:majord...@postfix.org?body=unsubscribe%20postfix-users If my response solves your problem, the best way to thank me is to not send an it worked, thanks follow-up. If you must respond, please put It worked, thanks in the Subject so I can delete these quickly.
Re: Zone record set up
Kevin Bailey a écrit : Hi Guys, Just a question RE setting up the DNS zone record correctly for a mail server. I have a couple of setups which work but have just copied one and I'm getting the following response. j.gilb...@watercooledsurf.com: Host or domain name not found. Name service error for name=watercooledsurf.com type=A: Host found but no data record of requested type One zone I have is set up as ; Zone: grosvenorchambers.co.uk ; Generated: Fri Jan 23 14:53:53 2009 ; @ IN SOA ns0.dnsmaster.net. hostmaster.dnsmaster.net. ( 2008110301 43200 1800 604000 86400 ) IN NS ns1.dnsmaster.net. IN NS ns2.dnsmaster.net. IN NS ns3.dnsmaster.net. grosvenorchambers.co.uk. IN MX 10 mail2.freewayprojects.com. ftp IN CNAME ftp2.freewayprojects.com. mailIN CNAME mail2.freewayprojects.com. smtpIN CNAME smtp2.freewayprojects.com. webmail IN CNAME webmail2.freewayprojects.com. www IN CNAME web2.freewayprojects.com. And another is set up as ; Zone: firetecworld.com ; Generated: Fri Jan 23 14:54:29 2009 ; @ IN SOA ns0.dnsmaster.net. hostmaster.dnsmaster.net. ( 2008081001 43200 1800 604800 86400 ) IN NS ns1.dnsmaster.net. IN NS ns2.dnsmaster.net. IN NS ns3.dnsmaster.net. IN MX 10 mail.firetecworld.com. IN A 212.84.168.98 ftp IN CNAME ftp2.freewayprojects.com. mailIN CNAME mail2.freewayprojects.com. smtpIN CNAME smtp2.freewayprojects.com. webmail IN CNAME webmail2.freewayprojects.com. www IN CNAME web2.freewayprojects.com. wrong. the MX should not be a cname. see http://www.rfc-ignorant.org/policy-bogusmx.php use IN MC 10 mail2.freewayprojects.com. instead. In both cases I am trying to keep them set up so that if the main server fails I can then repoint mail2.freewayprojects.com, smtp2.freewayprojects.com, web2.freewayprojects.com etc to the secondary/backup server and the service will continue. I.e. I won't have to change all the clients DNS records - just the *2.freewayprojects.com IP addresses. I tried initially to copy the first one. What is the best/canonical way for setting up DNS reocrds? We have www happily CNAME'd to the web server address. Similarly for mail, ftp, smtp, webmail etc. The mail should just need an MX record. Does the mail need an 'A' record of some sort? yes, use A records instead of CNAME. you can generate the zone file using a script.
Re: Zone record set up
On Fri, Jan 23, 2009 at 08:53:21PM +0100, mouss wrote: wrong. the MX should not be a cname. see http://www.rfc-ignorant.org/policy-bogusmx.php use IN MC 10 mail2.freewayprojects.com. This requirement was relaxed in RFC 2821. It is OK (though still better not to if not necessary) to use CNAMES. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: mailto:majord...@postfix.org?body=unsubscribe%20postfix-users If my response solves your problem, the best way to thank me is to not send an it worked, thanks follow-up. If you must respond, please put It worked, thanks in the Subject so I can delete these quickly.