On Sun, Aug 16, 2015 at 12:23 PM, Viktor Dukhovni
<postfix-us...@dukhovni.org> wrote:
> On Sun, Aug 16, 2015 at 11:44:03AM -0500, Tom Browder wrote:
>> Okay, then I guess I should pick one of the virtual hosts as the domain
>> name and add some arbitrary host then. Does that mean it is then a "real"
>> server and should not be treated as a virtual domain?
>
> Nothing of the sort.  Just give the machine a sensible hostname
> that will be used as its smtp_helo_name and is the sole name in
> its PTR record.

Okay, now assuming my server IP address is 1.2.3.4, do the following
DNS records appear reasonable?

# begin DNS records for IP 1.2.3.4

A.tld. IN A 1.2.3.4
B.tld. IN A 1.2.3.4

www.A.tld.  IN CNAME A.tld.
www.B.tld.  IN CNAME B.tld.
mail.B.tld.   IN CNAME B.tld.

4.3.2.1.in-addr.arpa. IN PTR A.tld.
4.3.2.1.in-addr.arpa. IN PTR B.tld.

A.tld. IN MX 10 mail.B.tld.
B.tld. IN MX 10 mail.B.tld

# end DNS records for IP 1.2.3.4

Thanks.

-Tom

Reply via email to