Skip to main content

External DNS for root domain

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! I think I understand what you're trying to set up, so I'll answer things in order to make sure I don't miss anything.
    We are not sure of the minimum set of DNS records required for cPanel operation.

    This depends on how your users access their services. If you go to WHM >> Edit Zone Templates and check the standardvirtualftp template, you'll see all the records that are created by default on a cPanel machine. If your users use the subdomains like webmail.domain.com or cpanel.domain.com to access server resources, you'll want to make sure those are in place.
    We do not know if cPanel requires root domain DNS control for normal operation

    Even if the DNS isn't served from the local system, you'll want to keep the DNS zones around. They don't take up much space, and cPanel expects them to exist.
    - We are not sure the DNS cluster will continue to operate as expected.

    This, as well as the rest of the questions in your post, comes down to "are there changes with the public IPs that could break things." If not, I would expect everything to work normally. As long as the servers can speak to each other, and your MX records are setup to point to the correct machine, everything else should fall into place. We don't do much testing on our end with systems behind firewalls, but as long as the traffic is being routed properly to the system, you and users shouldn't notice any difference in the server's behavior. If you have a way to do it, I'd recommend testing this out with one system and one domain before implementing it for all users just to see how it does end up working in your particular environment.
    0
  • kgikiji
    Alright, all that sound promising. We are planning on having the website and portal (WHMCS) served from a VM separate from cPanel/WHM. Then we want to control WHM from the external WHMCS. Essentially, want the following things on the external WHMCS portal: - website - purchasing - client portal - support - billing and we want the following to stay cPanel/WHM: - client DNS - client mail - client web hosting Root domain mail will also be external to cPanel. Previously, we've had some issue with internal mail routing ignoring public DNS MX records and it might be an issue for the root domain given the defunct DNS zone will remain on cPanel. I'm not sure cPanel will poll public DNS for a zone it thinks it has control over. We want to avoid the situation where we cannot answer any support tickets because mail is routed internally to the incorrect place. Not sure if there is a setting we can enforce globally to address this. From what I've read and understood from the above, I think this is all possible. I've checked the client templates and they do indeed avoid subdomaining the root domain, so no issues there. I did want to ask how we should go about testing this. Currently, in my head I think it's kind of impossible given we have to somehow test for the root domain, but can't move it elsewhere beforehand. Maybe I'm missing something. Any ideas?
    0
  • cPRex Jurassic Moderator
    When I mentioned testing this out earlier, I envisioned a separate server that was built specifically for this test to see if it behaves how you were thinking.
    0

Please sign in to leave a comment.