Block changing Hostname in server
Hi,
Every 4 hours my server in Oracle Cloud is changing hostname.
Default hostname: nameserver.domain.tld
But every 4 hours the server change hostname to: 'nameserver'
This make cPanel license is down and block all access to WHM.
How I can block the hostname change for avoid this?
-
Can you share the output for the following command: # cat /etc/oci-hostname.conf | grep "PRESERVER_HOSTINFO"
0 -
Can you share the output for the following command:
# cat /etc/oci-hostname.conf | grep "PRESERVER_HOSTINFO"
PRESERVE_HOSTINFO=00 -
PRESERVE_HOSTINFO=0
you should change this to 2 edit file /etc/oci-hostname.conf find PRESERVE_HOSTINFO=0 try change to PRESERVE_HOSTINFO=2 and rename hostname again0 -
Thanks for reply, I only changed PRESERVE_HOSTINFO to value 3 0 -
Thanks for the replies everyone! It's good that you jumped in, because I don't have any experience with the Oracle platform, so I wouldn't have known about this one! 0
Please sign in to leave a comment.
Comments
6 comments