ping computer returns wrong IP

nick

Distinguished
Dec 31, 2007
994
0
18,980
Archived from groups: microsoft.public.win2000.dns (More info?)

I changed an IP of a server. When I try to ping the
computer using the computer name, it returns the old IP
address. I changed it a long time ago and it hasn't
updated the information? I know my replication is working
and it can take up to an hour for DNS to update this
information. Is there any way to do this manually? I've
tried removing the computer from active directory and
adding it back but it doesn't work.

Thanks,
Nick
 
Archived from groups: microsoft.public.win2000.dns (More info?)

It is either coming from an invalid entry in DNS, WINS or an lmhosts or a
hosts file.

--
Scott Harding
MCSE, MCSA, A+, Network+
Microsoft MVP - Windows NT Server

"Nick" <anonymous@discussions.microsoft.com> wrote in message
news:131801c48535$9a4d3ad0$a301280a@phx.gbl...
>
> I changed an IP of a server. When I try to ping the
> computer using the computer name, it returns the old IP
> address. I changed it a long time ago and it hasn't
> updated the information? I know my replication is working
> and it can take up to an hour for DNS to update this
> information. Is there any way to do this manually? I've
> tried removing the computer from active directory and
> adding it back but it doesn't work.
>
> Thanks,
> Nick
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

use dig or netdig (www.mvptool.com) or nslookup to see what server is
returning the reply. Then check that server.

--
William Stacey, MVP

"Nick" <anonymous@discussions.microsoft.com> wrote in message
news:131801c48535$9a4d3ad0$a301280a@phx.gbl...
>
> I changed an IP of a server. When I try to ping the
> computer using the computer name, it returns the old IP
> address. I changed it a long time ago and it hasn't
> updated the information? I know my replication is working
> and it can take up to an hour for DNS to update this
> information. Is there any way to do this manually? I've
> tried removing the computer from active directory and
> adding it back but it doesn't work.
>
> Thanks,
> Nick
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

On Wed, 18 Aug 2004 08:11:14 -0700, "Nick"
<anonymous@discussions.microsoft.com> wrote:

>
>I changed an IP of a server. When I try to ping the
>computer using the computer name, it returns the old IP
>address. I changed it a long time ago and it hasn't
>updated the information? I know my replication is working
>and it can take up to an hour for DNS to update this
>information. Is there any way to do this manually? I've
>tried removing the computer from active directory and
>adding it back but it doesn't work.

Have you checked the DNS to see what the IP is configured as? Hosts
file? WINS or LMHosts?

Jeff
 
Archived from groups: microsoft.public.win2000.dns (More info?)

M> When I try to ping the computer using the computer
M> name, it returns the old IP address. I changed it
M> a long time ago and it hasn't updated the information?

* _Where_ did you change the name->address information ?

* How do you know that "ping" is actually using the information that you
changed ? "ping", like other Windows applications, can use multiple
sources of information for mapping names to addresses. Did you check
that you were changing the right one ?
 
Archived from groups: microsoft.public.win2000.dns (More info?)

My domain controler is returning the wrong IP when I run
nslookup from it.


>-----Original Message-----
>use dig or netdig (www.mvptool.com) or nslookup to see
what server is
>returning the reply. Then check that server.
>
>--
>William Stacey, MVP
>
>"Nick" <anonymous@discussions.microsoft.com> wrote in
message
>news:131801c48535$9a4d3ad0$a301280a@phx.gbl...
>>
>> I changed an IP of a server. When I try to ping the
>> computer using the computer name, it returns the old IP
>> address. I changed it a long time ago and it hasn't
>> updated the information? I know my replication is
working
>> and it can take up to an hour for DNS to update this
>> information. Is there any way to do this manually?
I've
>> tried removing the computer from active directory and
>> adding it back but it doesn't work.
>>
>> Thanks,
>> Nick
>>
>
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

I changed the IP from the properties on the network card.


>-----Original Message-----
>M> When I try to ping the computer using the computer
>M> name, it returns the old IP address. I changed it
>M> a long time ago and it hasn't updated the information?
>
>* _Where_ did you change the name->address information ?
>
>* How do you know that "ping" is actually using the
information that you
>changed ? "ping", like other Windows applications, can
use multiple
>sources of information for mapping names to addresses.
Did you check
>that you were changing the right one ?
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

I believe DNS has the wrong IP address. I would like to
change it to the correct one, but I don't know how to.


>-----Original Message-----
>On Wed, 18 Aug 2004 08:11:14 -0700, "Nick"
><anonymous@discussions.microsoft.com> wrote:
>
>>
>>I changed an IP of a server. When I try to ping the
>>computer using the computer name, it returns the old IP
>>address. I changed it a long time ago and it hasn't
>>updated the information? I know my replication is
working
>>and it can take up to an hour for DNS to update this
>>information. Is there any way to do this manually?
I've
>>tried removing the computer from active directory and
>>adding it back but it doesn't work.
>
>Have you checked the DNS to see what the IP is configured
as? Hosts
>file? WINS or LMHosts?
>
>Jeff
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

Thanks to all replies. I kind of figured that it was. I
just don't know a)how to check DNS, WINS, and lmhosts? and
b) how do I correct it if it is wrong in there?


>-----Original Message-----
>It is either coming from an invalid entry in DNS, WINS or
an lmhosts or a
>hosts file.
>
>--
>Scott Harding
>MCSE, MCSA, A+, Network+
>Microsoft MVP - Windows NT Server
>
>"Nick" <anonymous@discussions.microsoft.com> wrote in
message
>news:131801c48535$9a4d3ad0$a301280a@phx.gbl...
>>
>> I changed an IP of a server. When I try to ping the
>> computer using the computer name, it returns the old IP
>> address. I changed it a long time ago and it hasn't
>> updated the information? I know my replication is
working
>> and it can take up to an hour for DNS to update this
>> information. Is there any way to do this manually?
I've
>> tried removing the computer from active directory and
>> adding it back but it doesn't work.
>>
>> Thanks,
>> Nick
>>
>
>
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

Is Lmhosts related to netbios, because I'm not using
netbios. And when I look at it there isn't anything listed
in this file.


>-----Original Message-----
>It is either coming from an invalid entry in DNS, WINS or
an lmhosts or a
>hosts file.
>
>--
>Scott Harding
>MCSE, MCSA, A+, Network+
>Microsoft MVP - Windows NT Server
>
>"Nick" <anonymous@discussions.microsoft.com> wrote in
message
>news:131801c48535$9a4d3ad0$a301280a@phx.gbl...
>>
>> I changed an IP of a server. When I try to ping the
>> computer using the computer name, it returns the old IP
>> address. I changed it a long time ago and it hasn't
>> updated the information? I know my replication is
working
>> and it can take up to an hour for DNS to update this
>> information. Is there any way to do this manually?
I've
>> tried removing the computer from active directory and
>> adding it back but it doesn't work.
>>
>> Thanks,
>> Nick
>>
>
>
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

In news:131801c48535$9a4d3ad0$a301280a@phx.gbl,
Nick <anonymous@discussions.microsoft.com> wrote their comments
Then Kevin replied below:
> I changed an IP of a server. When I try to ping the
> computer using the computer name, it returns the old IP
> address. I changed it a long time ago and it hasn't
> updated the information? I know my replication is working
> and it can take up to an hour for DNS to update this
> information. Is there any way to do this manually? I've
> tried removing the computer from active directory and
> adding it back but it doesn't work.

When changing the IP address on a DC, you should not just change the IP
address on the NIC, this will cause replication errors and problems, because
until every other DCs have the new IP of the DC your changing the IP address
on they will try to replicate with the old IP
..
To change the IP address on a DC first add the new IP address to the NIC,
then go to DNS properties, on the interfaces tab select "Listen on all IP
addresses" Add the new IP to the DNS server list on all DCs

Run this command: Netdiag /fix and restart the netlogon service.

Then run netdiag /test:dns /v to verify that the new address is registered
in DNS.

Force a replication in NTDS settings in AD Sites & Services

Run dcdiag /test:replications /e /v to verify replication has taken place,
this could take up to one hour.

After replication has been verified, remove the old IP address from the DC
and all DNS server lists on all DCs and machines, run ipconfig /flushdns,
netdiag /fix, and netdiag /test:dns /v, force another replication in NTDS
settings, and verify replication with dcdiag /test:replications /e /v

Changing the IP addres on a DC should never be taken lightly, you should add
the old IP back to the DC then follow the steps I have given.


--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
================================================
--
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
================================================
http://www.lonestaramerica.com/
================================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
================================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
================================================
 
Archived from groups: microsoft.public.win2000.dns (More info?)

I didn't change the IP address of the DC. I changed the
IP address of my test server. But the name isn't
translating correctly.

>-----Original Message-----
>In news:131801c48535$9a4d3ad0$a301280a@phx.gbl,
>Nick <anonymous@discussions.microsoft.com> wrote their
comments
>Then Kevin replied below:
>> I changed an IP of a server. When I try to ping the
>> computer using the computer name, it returns the old IP
>> address. I changed it a long time ago and it hasn't
>> updated the information? I know my replication is
working
>> and it can take up to an hour for DNS to update this
>> information. Is there any way to do this manually?
I've
>> tried removing the computer from active directory and
>> adding it back but it doesn't work.
>
>When changing the IP address on a DC, you should not just
change the IP
>address on the NIC, this will cause replication errors
and problems, because
>until every other DCs have the new IP of the DC your
changing the IP address
>on they will try to replicate with the old IP
>..
>To change the IP address on a DC first add the new IP
address to the NIC,
>then go to DNS properties, on the interfaces tab
select "Listen on all IP
>addresses" Add the new IP to the DNS server list on all
DCs
>
>Run this command: Netdiag /fix and restart the netlogon
service.
>
>Then run netdiag /test:dns /v to verify that the new
address is registered
>in DNS.
>
>Force a replication in NTDS settings in AD Sites &
Services
>
>Run dcdiag /test:replications /e /v to verify replication
has taken place,
>this could take up to one hour.
>
>After replication has been verified, remove the old IP
address from the DC
>and all DNS server lists on all DCs and machines, run
ipconfig /flushdns,
>netdiag /fix, and netdiag /test:dns /v, force another
replication in NTDS
>settings, and verify replication with
dcdiag /test:replications /e /v
>
>Changing the IP addres on a DC should never be taken
lightly, you should add
>the old IP back to the DC then follow the steps I have
given.
>
>
>--
>Best regards,
>Kevin D4 Dad Goodknecht Sr. [MVP]
>Hope This Helps
>================================================
>--
>When responding to posts, please "Reply to Group"
>via your newsreader so that others may learn and
>benefit from your issue, to respond directly to
>me remove the nospam. from my email address.
>================================================
>http://www.lonestaramerica.com/
>================================================
>Use Outlook Express?... Get OE_Quotefix:
>It will strip signature out and more
>http://home.in.tum.de/~jain/software/oe-quotefix/
>================================================
>Keep a back up of your OE settings and folders
>with OEBackup:
>http://www.oehelp.com/OEBackup/Default.aspx
>================================================
>
>
>.
>
 
Archived from groups: microsoft.public.win2000.dns (More info?)

JdeBP> * _Where_ did you change the name->address information ?

a> I changed the IP from the properties on the network card.

Unless the DHCP client on that machine is configured to register an
appropriate name->address mapping in the DNS database whenever you do
that, you won't have changed what your DNS server is actually
publishing. And since you haven't changed what your DNS server is
actually publishing, at least one of the several possible sources of
name->address mapping information that "ping" may be consulting may have
out of date data.

I'm going to presume that you are going to use the DNS to store your
name->address mappings, and that you are going to leave the other
sources of information that "ping" consults empty.

If this is a statically assigned IP address, either (a) enter the
updated name->address mapping in your DNS server's database by hand, or
(b) configure the DHCP client on that machine to use Dynamic DNS updates
to attempt to do the same thing unattended.

If this is a dynamically assigned IP address, configure your DHCP server
to use Dynamic DNS updates to register the name->address mapping in your
DNS server's database when it grants the lease. (You could configure
your DHCP clients to do this, instead, but such a scheme does not scale
and is usually avoided by administrators.)
 
Archived from groups: microsoft.public.win2000.dns (More info?)

This worked. Thanks.

nick


>-----Original Message-----
>JdeBP> * _Where_ did you change the name->address
information ?
>
>a> I changed the IP from the properties on the network
card.
>
>Unless the DHCP client on that machine is configured to
register an
>appropriate name->address mapping in the DNS database
whenever you do
>that, you won't have changed what your DNS server is
actually
>publishing. And since you haven't changed what your DNS
server is
>actually publishing, at least one of the several possible
sources of
>name->address mapping information that "ping" may be
consulting may have
>out of date data.
>
>I'm going to presume that you are going to use the DNS to
store your
>name->address mappings, and that you are going to leave
the other
>sources of information that "ping" consults empty.
>
>If this is a statically assigned IP address, either (a)
enter the
>updated name->address mapping in your DNS server's
database by hand, or
>(b) configure the DHCP client on that machine to use
Dynamic DNS updates
>to attempt to do the same thing unattended.
>
>If this is a dynamically assigned IP address, configure
your DHCP server
>to use Dynamic DNS updates to register the name->address
mapping in your
>DNS server's database when it grants the lease. (You
could configure
>your DHCP clients to do this, instead, but such a scheme
does not scale
>and is usually avoided by administrators.)
>.
>