DNS PTR record when domain on shared IP address

Posted by Marco Demaio on Server Fault See other posts from Server Fault or by Marco Demaio
Published on 2010-05-06T10:34:08Z Indexed on 2010/05/06 10:38 UTC
Read the original article Hit count: 435

Hello,

I own a typical shared IP hosting plan and domain. I can modify the DNS of the domain from the control panel. The mailserver shares the same IP address, so my typical DNS config is:

www.mydomain.com   A -> IP
mydomain.com       A -> IP
ftp.mydomain.com   A -> IP
mail.mydomain.com  A      -> IP
mydomain.com       MX(10) -> IP

I read some Q&A on this site where they suggest to add PTR record mainly for mailserver.

I would like to add PTR record to my domain, I have got two questions:

1) can PTR record be added even if the hosting/mailserver are on a shared IP address? Or do I need a dedicated IP.

2) How do I setup PTR record, I mean does it look like A record:

mydomain.com (PTR) -> myip

© Server Fault or respective owner

Related posts about dns

Related posts about reverse-dns