Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change IP address in DNS

Discussion in 'Bind/DNS/Nameserver' started by paulitocu, Oct 31, 2011.

  1. paulitocu

    paulitocu Member

    Jun 19, 2010
    Likes Received:
    Trophy Points:
    Hello guys

    How i can change this IP address in Networking Setup >> Nameserver IPs

    Main >> DNS Functions >> Nameserver IPs

    Nameserver IP No. Zones 31

    Best regards, Pavel
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could edit /var/cpanel/nameserverips.yaml file, but that area is for display purposes only and doesn't actually configure the nameserver IPs. That is instead done in WHM > Basic cPanel & WHM Setup area and at your domain registrar.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTracey

    cPanelTracey Member Staff Member

    Mar 5, 2010
    Likes Received:
    Trophy Points:
    Houston, TX
    We had received clarification on this feature, and the nameserverips.yaml file from our developers. I wanted to share this to clarify the intended behavior.

    The functionality of the "Nameserver IPs" page was changed in 11.30. It is now a report, and not a page meant to configure any aspect of DNS. It reports the nameservers used by zones on the server, as well as a count of the the number of zones that use a given nameserver.

    The nameserverips.yaml file is automatically updated, and not meant to be altered by hand. Neither is the /etc/nameserverips file. The script /usr/local/cpanel/scripts/updatenameserverips populates the yaml file automatically. This script retrieves the information it populates the yaml file with by scanning the zones on the server for NS records, then using /usr/local/cpanel/scripts/quickdnslookup to get the IP.

    The correct way of updating the information on Nameserver IPs is through the "Basic cPanel & WHM Setup" page, and to ensure a proper DNS configuration. If the Nameserver IPs page is presenting incorrect information when DNS is set up correctly, this is a bug and should be reported via a support ticket.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice