How do I link the PTR records from a dev account to the main account to the using DNS records in order to link the droplet to a subdomain. I followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-and-test-dns-subdomains-with-digitalocean-s-dns-panel . But cannot see anything on my PTR records. Do I need to transfer the droplet from the dev to the other account? If so how?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
When you visit Control Panel -> Networking -> PTR Records, the only records that will show are those that link the public IPv4 IP address to a Droplet.
You can’t modify your PTR records directly as these are setup when each Droplet is created. You can setup multiple Droplets to gain PTR records for each one though.
For example, using domain.com as the domain.
If I setup 4x Droplets:
d01.domain.com d02.domain.com d03.domain.com d04.domain.com
The above will have a single PTR each. We could change that up a bit as well as use something such as:
d01.web.domain.com d02.web.domain.com d03.web.domain.com d04.web.domain.com
And as above, the PTR records will reflect that.
You would need to make sure you have proper WildCard entries setup for the second example though and that would be something such as:
A * DROPLET_IP
A *.web DROPLET_IP
A @ DROPLET_IP
The first entry enables *.domain.com while the second enables *.web.domain.com.
To handle the requests for those DNS records, you’d need to make sure your web server is setup to handle the WildCard.
For example, with NGINX, we’d use something like:
server_name domain.com *.domain.com;
and
server_name web.domain.com *.web.domain.com;
On Apache, we’d use something such as:
ServerName domain.com
ServerAlias *.domain.com
and
ServerName web.domain.com
ServerAlias *.web.domain.com
It really depends on what you’re actually trying to do.
If you need to make changes to the DNS Zone for a domain, and you’re using DigitalOcean’s DNS, thus managing the DNS from the Networking page of the control panel, then yes, you would make all DNS changes on the account that has the domain.
The PTR record really isn’t important unless there’s something specific you’re trying to do that I’m not understanding. If you’re simply trying to manage pointing a domain to an IP, a CNAME to a domain, etc, then the PTR doesn’t really matter.
If you’ll provide a more concrete example of what you need to do, I’d be more than happy to help. I’m just not too sure of what you’re trying to do from the first post.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.