Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doesn't obtain the new IP when pinging the machine 1

Status
Not open for further replies.

leung

Programmer
Mar 11, 2002
9
US
Hi,

We have changed the IP addresses of our network because of a new ISP. Our mail server (mail.xxxx.com) used to have the IP address of 209.20.100.2, and we have changed to 208.30.212.2. We also changed the records in the DNS accordingly. However, whenever we ping mail.xxxx.com at the mail server machine, it keeps ping the old address 208.30.212.2. It resolves the correct IP when I do the same thing at other machines or my home or anywhere. The problem is just at the mail machine. It keeps caching the IP of mail.xxxx.com to be the old one.

Does anyone have any idea how to solve this problem? Thanks

btw, we are running windows NT 4.0.

Thank you!
 
Is the entry to the old ip address contained in the Hosts file on the server? Could be resolving it using the host file, if it is you will have to change the host file to reflect the changes of the new IP Address....

I believe its c:\winnt\system32\drivers\etc\hosts

You can edit it with notepad (there is no file extension on it).

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Ping tells you how it resolved the name. Names resolved locally by the hosts file will look like this:

C:\>ping server
Pinging server [172.16.10.21] with 32 bytes of data:
Reply from 172.16.10.21: bytes=32 time=9ms TTL=60
Reply from 172.16.10.21: bytes=32 time=18ms TTL=60
(etc.)

Names resolved via DNS will list the DNS domain, like this:

C:\>ping website
Pinging website.provider.com [10.10.20.30] with 32 bytes of data:
Reply from 10.10.20.30: bytes=32 time=56ms TTL=126
Reply from 10.10.20.30: bytes=32 time=42ms TTL=126
(etc.)

In the second example, the hostname website was found in a DNS server within domain provider.com.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top