Skip to main content

Edit Zonefile for cPanel

Comments

8 comments

  • cPanelMichael
    Hello, Assuming this is the DNS zone for "example.com", then you'd need to add an an "A" record for "s1" pointing to the IP address of your cPanel server. If the DNS is handled by the cPanel server (see
    0
  • zalocus
    Thank you Michael, I use the standard Nameservers of my Host where my Domain is registred to, and the same Nameservers i enter in the "Basic WebHost Manager Setup" page, so i expact this means my Domain example.com is Handelt by my host and i need to add the 'A' Entry there and not in WHM, is this the right way? My second question is how this will work with the Ports: 2087 and 2083, do i need to set anything for this to in the zonefile? Ps. is this correct?
    $TTL 86400 @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. ( 2017050500 ; serial 86400 ; refresh 10800 ; retry 3600000 ; expire 86400 ) ; minimum @ IN NS ns1.first-ns.de. @ IN NS robotns2.second-ns.de. @ IN NS robotns3.second-ns.com. @ IN A 88.99.174.102 mail IN A 88.99.174.102 www IN A 88.99.174.102 s1 IN A 88.99.174.102 @ IN MX 10 mail
    Tank you?
    0
  • cPanelMichael
    Hello, Yes, you'd add the DNS entry through the provider where the DNS is hosted. As far as the ports, they will work automatically after you add the "A" record. No additional DNS records are required for them to work. Thank you.
    0
  • zalocus
    Thank you very much, that work now! How it will work when i want to use this Domain for more Cpanel/WHM Servers? Do i write in the same zonefile more hostnames for difrent servers? s1 IN A 28.94.123.456 s2 IN A 95.44.123.456 s3 IN A 77.69.123.456 Or for every server a new zonefile with the same domain? Thank you
    0
  • cPanelMichael
    You'd add the "A" records to the same zone file like the example you referenced. Thank you.
    0
  • zalocus
    Thank you. :)
    0
  • zalocus
    Hello, I have again a little question about the Entries when the domain "example.com" i only use to Link the hostnames for my servers s1 IN A 29.66.199.5 s3 IN A 94.96.424.7 s3 IN A 63.78.329.6 Do i need the other Entries for Mail, www, and @, or only the "A" Entries for the hostnames like the Example i show you? Thank you.
    0
  • cPanelMichael
    Do i need the other Entries for Mail, www, and @, or only the "A" Entries for the hostnames like the Example i show you?

    Hello, You'd only need the "A" entries to ensure the hostname resolves to the correct IP address. Thank you.
    0

Please sign in to leave a comment.