Skip to main content

Create account where DNS records exist

Comments

9 comments

  • cPanelLauren
    Hi @kimsondergaard It really sounds like you need to implement DNS clustering. That way when your user updates their zone record on the web server the changes are pushed to the nameservers. The documentation here may be helpful: DNS Cluster - Version 74 Documentation - cPanel Documentation Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation
    0
  • kimsondergaard
    Hi @cPanelLauren I allready have a Cluster, my problem is that we have imported alot of zones from our old name servers. And they are served fine, but does not have any account attached, so we can only change in the DNS using DNS editor. But would like it to be able to customers to change in their DNS, even though they have no website on the cPanel server. So how can i create a new user, for an domain that exist in DNS ?
    0
  • cPanelLauren
    Hi @kimsondergaard I see, in this case the only way to do this would be to mv the DNS zone file or rename it temporarily, create the account then readd the zone file/or add the contents of it to the existing one
    0
  • kimsondergaard
    Hi @cPanelLauren Ho do i readd, i tried using mv, from temp to existing file, but that did not work ?
    0
  • cPanelLauren
    what do you mean it didn't work? What happened specifically? Also you can just add the contents to the newly created zone file as well which might be easier.
    0
  • kimsondergaard
    @cPanelLauren i renamed a zone file, created a new account with that name, and renamed it back. But the renamed file did not get read.
    0
  • kimsondergaard
    @cPanelLauren Hi Lauren Any updates ?
    0
  • cPanelLauren
    HI @kimsondergaard Were you unable to update the Zone file to reflect the new information?
    0
  • kimsondergaard
    Hi @cPanelLauren I figured it out.. My way of doing it is following.
    • SSH to server, vi to zone file, copy records to Notepad.
    • delete zone from cpanel
    • create new customer, with a specific DNS package
    • edit the zone file again, paste all records below SOA and Nameservers, save and exit.
    • Verify the zone in DNS editor.
    That's the way i made it, and it seems to work. Could you maybe add it to a wish list, to be able to create a new user, that allready has a zonefile, and then just adopting it to the user when creating. Also make it possible to add an existing zone, to a existing user. ? :)
    0

Please sign in to leave a comment.