PC Review Forums Newsgroups Windows XP Windows XP Embedded Problem with hosts file

Reply

Problem with hosts file

 
Thread Tools Rate Thread
Old 11-04-2006, 11:15 AM   #1
Dennis Peere
Guest
 
Posts: n/a
Default Problem with hosts file


I've got a problem with the hosts file in Windows XP (Pro & Embedded)
I need to add a the following line to the hosts file of about 500 machines
100.100.100.1 TESTHOST
When I add the line to the hosts file and do "ping TESTHOST" it doesn't work
When I do "net start dnscache" the ping works, when I stop the service it
doesn't work anymore.

Until now I've found 2 possible solutions :
Set the DNS Client service (dnscache) to automatic at boot
Add the systems's own IP address as DNS server

Can anyone explain why the hostname isn't resolved when the DNS client isn't
started ?

Regards
Dennis Peere



  Reply With Quote
Old 12-04-2006, 02:36 PM   #2
Thota Umesh
Guest
 
Posts: n/a
Default Re: Problem with hosts file

dns manages hosts file!

"Dennis Peere" <sycrontw@hotmail.com> wrote in message
news:443b8244$0$11130$ba620e4c@news.skynet.be...
> I've got a problem with the hosts file in Windows XP (Pro & Embedded)
> I need to add a the following line to the hosts file of about 500 machines
> 100.100.100.1 TESTHOST
> When I add the line to the hosts file and do "ping TESTHOST" it doesn't
> work
> When I do "net start dnscache" the ping works, when I stop the service it
> doesn't work anymore.
>
> Until now I've found 2 possible solutions :
> Set the DNS Client service (dnscache) to automatic at boot
> Add the systems's own IP address as DNS server
>
> Can anyone explain why the hostname isn't resolved when the DNS client
> isn't
> started ?
>
> Regards
> Dennis Peere
>
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off