The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change IP address in DNS

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

  1. paulitocu

    paulitocu Registered

    Joined:
    Jun 19, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello guys

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

    Main >> DNS Functions >> Nameserver IPs

    Nameserver IP No. Zones
    ns.domain.com 10.10.10.10 31

    Best regards, Pavel
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
  3. cPanelTracey

    cPanelTracey Member
    Staff Member

    Joined:
    Mar 5, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
Loading...

Share This Page