I have two VMs in a private cloud. Lets call them A(22.214.171.124) and B (126.96.36.199) (not actual ips). I used one of them(A) as a template and cloned the second one(B) only changing the ips (static ips).
From my local machine on the network, I am able to ping both 90 & 91.
ip a on both machines give the correct Ip addresses.
I even checked
/etc/hosts and the info is correct.
However, when i run
hostname -i or
hostname -f on the machine with Ip as 91, I get the result as
I suspect this has something to do with the cloning process.
My question is however, How do i fix the issue on machine 2(188.8.131.52)?