How to refresh host-ip table

Score
0
Vote Up
August 20, 2003 at 21:13:13 Pacific
Specs: t1, t1

I just changed a host's ip addr from x.x.x.10 to x.x.x.20, and update it in win2k dns sv. All hosts / workstations are on domain.com. (same name suffix). There are no WINS settings.
However on my sun host, `ping host` still goes to x.x.x.10, of course failed. `ping host.domain.com` is ok going to x.x.x.20.
Q1: how to refresh sun T1's host-ip tables? I don't want to wait hours for them refreshing themselves, or maybe never unless reboot.
Q2: on my sun T1, I `ping test-host`, it says alive, but how to find test-host's ip addr?
arp does not help on both Q1 and Q2.
Thanks for help from gping


Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
August 21, 2003 at 04:23:39 Pacific

To find out the IP and where it is getting the answer

nslookup -debug test-host

Look at /etc/hosts to see if it contains the old values


Reply ↓  Report •

#2
Vote Down
Score
0
Vote Up
August 21, 2003 at 19:45:00 Pacific

No entry in /etc/hosts at all.
Is there any similar command in unix which equivant to WIN2k's
ipconfig /flushdns or
ipconfig /diaplaydns?

Reply ↓  Report •

Reply to Message Icon Start New Discussion
Related Posts

« Netra: Reset root passwor... How i can mount share dir... »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC