rDNS question

4 posts / 0 new
Last post
#1 Fri, 06/24/2016 - 22:16
xdude

rDNS question

If we are going to set rDNS for vps do we have to send list of all domains in sever to provider or just the one used for nameservers ?

I mean all like this ?

mail.nameserver.com mail.domain1.com mail.domain2.com mail.domaon3.com

etc ?

Sat, 06/25/2016 - 00:33
Diabolico
Diabolico's picture

rDNS is directly connected with IP so you need to set one rDNS for each IP you have active regardless if that is IPv4 or IPv6. All domains and subdomains on same IP(s) will use same rDNS.

Example with 2 IPs:

- IP1 - xxx.xxx.xxx.xxx; Domains: domain1.tld, domain2.tld, domain3.tld
- Primary domain - domain1.tld
- rDNS (must be FQDN) - whatever-you-want.domain1.tld
- domain2.tld and domain3.tld are using "whatever-you-want.domain1.tld"

- IP2 - yyy.yyy.yyy.yyy; Domains: domain4.tld, domain5.tld
- Primary domain - domain4.tld
- rDNS (must be FQDN) - whatever-you-want.domain4.tld
- domain5.tld will use "whatever-you-want.domain4.tld"

This is a simple way how rDNS works but there are several different solution what could be used.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Sat, 06/25/2016 - 20:02
xdude

Thanks so it is find it I leave it like this for zDNS and PTR records ?

185.174.138.124.in-addr.arpa -> mail.domain.com

or should I leave it as 185.174.138.124.in-addr.arpa -> domain.com

Sat, 06/25/2016 - 20:12
andreychek

Howdy,

You can do which ever you prefer. Most people set the reverse DNS record to the same as the hostname of the server though (or at least, the name that Postfix gives when connecting to another server).

That's not a requirement though, and it really comes down to what your needs are.

-Eric

Topic locked