I have set up two new Linux (CentOS 7) servers on the network. They received dynamic IP addresses (192.168.1.144 & 148 respectively) from Windows DHCP server. The computer names are "linux1.domain.com" and "linux2.domain.com". I can connect to these Linux servers by IP address using Putty and Remote Desktop connection program. However when I ping the hostnames, the reply shows 64.37.120.xxx which is my email/web hosting service provider.
So I assigned a static IP address to "linux2.domain.com" server, but the result is the same. The static ip information that I used was IP: 192.168.1.5, Gtway:192.168.1.1, DNS 192.168.1.9 192.168.1.3 (please see the screenshot).
We do have a production linux server called "linux.domain.com" with static IP address: 192.168.1.6.
When I ping linux, I get replies from 192.168.1.6. But when I ping "linux.domain.com", it also shows 64.37.120.xxx. I don't mind 64.37.120.xxx, but I do need to be able to ping linux1 and linux2 because I use computer name in login script.
When I checked DHCP server, I saw both "linux1.domain.com" "linux2.domain.com" with dynamic ip addreeses. But when I checked DNS server, I did not see any of them. Of course I did not see current production server "linux.domain.com" in DNS server either.
Can you help?