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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Change hostname, but restart dns server still show old server name

Discussion in 'Bind / DNS / Nameserver Issues' started by sodapopinski, Oct 29, 2017.

  1. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    90
    Likes Received:
    2
    Trophy Points:
    308
    I just noticed, when I changed the hostname to new server name. Let's say NEW.SERVERHOSTNAME.

    And then through WHM I restarted the DNS server, the WHM show result below, where its still mentioned the OLD.SERVERNAME :

    Any idea to make it show the new hostname?

    Waiting for “named” to start ……waiting for “named” to initialize ………finished.

    Service Status
    named (/usr/sbin/named -u named -c /etc/named.conf) is running as named with PID 11003 (systemd+/proc check method).

    Startup Log
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: D.F.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: 8.E.F.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: 9.E.F.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: A.E.F.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: B.E.F.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: automatic empty zone: view internal: 8.B.D.0.1.0.0.2.IP6.ARPA
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: set up managed keys zone for view external, file '3c4623849a49a53911c4a3e48d8cead8a1858960bccdea7a1b978d73ec2f06d7.mkeys'
    Oct 29 21:07:11 OLD.SERVERNAME named[11003]: command channel listening on 127.0.0.1#953

    Thank you.
     
  2. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    40
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    When you change your server hostname, the system preserves the old hostname so that currently-running services can function in a consistent environment until you reboot the server.

    Please check once again after rebooting your server. :) Let me know if that helps.;)
     
  3. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    90
    Likes Received:
    2
    Trophy Points:
    308
    Wow amazing, it works. Thank you @Muhammed Fasal . Now I know who I should hire when I need emergency technical help. Thank you very much.
     
    Muhammed Fasal likes this.
  4. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    40
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi, :)

    Glad to hear that it's working out for you! ;)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,502
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see the issue is now solved.

    Thanks!
     
Loading...

Share This Page