Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Exclamation Creating PTR Records on a Shared IP

    Is it possible to create PTR records for different domains that are shared by the same IP?
    I know how to add them in CPanel, but the fact that more than one would point to the same IP causes an issue.

    Thanks,
    CompHouse

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    A PTR record can only point back to one hostname.

    Typically with a shared IP, you set the reverse DNS on the shared IP to the server's hostname, such that that IP reverses back to the hostname and the hostname resolves to that IP.

    IP addresss --> Hostname

    Hostname --> IP address

    This will satisfy the reverse DNS set up required by many mail servers.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Default Sorry I'm a noob at this

    In Cpanel,
    Add New Entries
    ____________ 14400 IN PTR HOSTNAME

    So I would put the Shared IP in the first line, and then my mailserver name in the hostname area?

    65.x.x.x 14400 IN PTR MAIL.DOMAINNAME.COM ?

    Thanks for your help.

    Comphouse

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Its doubtful that you have delegation access for creating a PTR record for that IP address. Generally you contact the datacenter where you are hosting the server at, or the company in charge of giving you that IP address and ask them to set up the reverse DNS entry.

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    1

    Default

    I have such delegation access and need the same question answered. Would someone be willing to post an example of getting this scenario properly working?

    Let's say my main server IP is 1.1.1.1 (server.example.com), and my main shared IP is 1.1.1.2, on which I am running example.com, example2.com, and example3.com. What would I do and how would I set up rDNS for this scenario?

    Thank you in advance for anyone who can help!

  6. #6
    Member
    Join Date
    Jun 2008
    Posts
    213

    Default

    I'm not sure if you can properly do rDNS for multiple entries on the same IP. You might need dedicated IPs to accomplish what you're trying to do.

    Just curious...do you really need rDNS for all the domains on that IP? If it's just for e-mail purposes, you might only need a PTR entry for the main hostname on the IP. For example, on one cPanel installation I gave my main hosting account (as a reseller) a dedicated IP, with a hostname that has rDNS. I set it so that all shared-IP accounts created under that account use the same IP, and that e-mail is sent from the account's IP. I don't need to set PTR for all of those domains, because the e-mail goes through the hostname and is accepted properly because of that.

    So, if the master account is myreselleraccount.com, and I create subaccount1.com, subaccount2.com and subaccount3.com, I just set PTR for the hostname host.myreselleraccount.com. Mail for the sub-accounts is routed through that host and is accepted by other mail hosts because the rDNS is set up properly on the reseller account.

    Hope that helps. If it doesn't, please ignore. ;-)

Similar Threads & Tags
Similar threads

  1. problems with reverse dns and ptr records
    By raystrach in forum E-mail Discussions
    Replies: 5
    Last Post: 02-17-2011, 03:26 AM
  2. Question about PTR Records?
    By tdd1984 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-10-2010, 02:41 PM
  3. No PTR records exist for xx.xx.xx.xx
    By AngleOfDeath in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-05-2007, 11:42 AM
  4. PTR Records
    By owine in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-11-2007, 06:01 PM
  5. How to set up PTR records?
    By paul-ukhost in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-23-2002, 06:04 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube