getgsm
By:
getgsm

Reverse dns should follow hostname or domain name? Plus is A record required?

April 23, 2015 781 views
DNS Getting Started Configuration Management

Droplet hostname = mail.company.com whereby
company.com = landing biz page and
abc.company.com = for [client abc] and xyz.company.com = for [client xyz] etc.

Q1) Should my reverse dns be company.com OR mail.company.com?

Q2) Do i need to create a => A record : [mail] [droplet IP] if my reverse dns is mail.company.com ?
e.g. reverse dns=hello.company.com : A record : [hello] [droplet IP]
even if hello.company.com is not serving any webpages

Thanks in advance.

1 Answer

Hello,

You should set your hostname to mail.company.com or whatever hostname you use for sending mail. This is what's important for the PTR as it's mainly only used for mail purposes.

For your second questions, yes, you will want a mail.company.com A record pointing to the IP address of your droplet so that it resolves.

Have another answer? Share your knowledge.