jkon 738 Posting Whiz in Training Featured Poster

Hello, first of all let me clarify that I am just a programmer but I needed a dedicated server , with no many modification so I bought an unmanaged dedicated server from a hosting company (I try to avoid using their support as they stated a lot that this is an unmanaged server)

This company provides one IP for root server and a /64 IPv6 Subnet. Setting up the WHM I noticed that it has some fixed Name Servers (I want to use my own ns1.example.com ns2.example.com).

What I have done so far:
1- I added a new reverse dns entry for IP’s (IPv6) inside the subnet reversed to ns1.example.com and ns2.example.com .
2- I configured through the registration company that ns1.example.com and ns2.example.com points to that IP’s respectively.
3- I modified the NS of that domain (example.com) to ns1.example.com and ns2.example.com

The problem is what to do after that … I checked /etc/nameserverips and is empty. When I try to create an account through WHM I get only the option to use the pre fixed IP addresses , e.g. to create an account for example.com . I understand that I can modify those through “Basic cPanel and WHM setup” but I doubt that adding ns1.example.com and ns2.example.com there would make any difference . More over I want to have the option to add more name servers in the future.

Under DNS function > Nameservers IP’s is empty (and of course I can’t add something through there).

Please if anybody has knowledge and experience of how to add those nameservers in such way that I can use them through WHM & cPanel , help.

Thank you in advance.

Dani AI

Generated

Quick summary for : WHM’s “Nameserver IPs” page is a read-only report — it shows what your DNS zones and the parent (registrar) delegation advertise, it does not control DNS operation. For vanity nameservers on IPv6 the functional pieces are (1) the host glue at your registrar (child/host records that map ns1/ns2 to the IPv6 addresses), (2) matching AAAA (and/or A) records inside the domain’s DNS zone on your server, and (3) your DNS daemon and OS actually bound to those IPv6 addresses. (support.cpanel.net)

Checklist to get ns1.example.com / ns2.example.com working over IPv6:

  • Confirm the IPv6 address is present on the server:
    ip -6 addr show
  • Confirm the DNS server listens on IPv6 (BIND example): ensure either modern BIND defaults or add listen-on-v6 { any; }; then restart named. Also WHM/Basic Setup may require a bound IPv6 for some UI actions. (kb.isc.org)

What to change in WHM / registrar:

  • In WHM use DNS Functions → Edit DNS Zone (or Zone Editor in cPanel) and add an AAAA record for ns1 and for ns2 pointing to the provider IPv6 addresses. cPanel’s UI also supports adding address records for nameservers.
  • At your registrar create the host/child nameserver entries (glue records) for ns1/ns2 and enter the IPv6 addresses (some registrars label this “register nameserver” or “create host”). RFCs require glue for in‑bailiwick names. (docs.cpanel.net)

Verification and troubleshooting:

  • Verify resolution from outside:
    dig +short AAAA ns1.example.com
    dig NS example.com
    dig @ns1.example.com example.com SOA
  • Running /usr/local/cpanel/scripts/updatenameserverips refreshes WHM’s Nameserver IP report (it’s just a cache/report; it won’t change delegation at the registrar). If records aren’t visible publicly, check registrar glue, lower the parent TTL, and wait for propagation. If a registrar doesn’t expose IPv6 glue in the control panel, open a support ticket with them. (support.cpanel.net)

If those steps are followed the nameservers will function and you can add additional nsX hosts later by repeating the glue + zone AAAA/A steps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.