James

Distinguished
Dec 31, 2007
1,388
0
19,280
Archived from groups: microsoft.public.windowsxp.general (More info?)

i've some entries in the hosts file. However IE cannot resolve it and
indicate it is a "dns error". However using ip address works as it can goes
to the site

On other similar machines, however it can resolves to the site using dns
name in host file.

What went wrong ?
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

From: "James" <jkklim@hotmail.com>

| i've some entries in the hosts file. However IE cannot resolve it and
| indicate it is a "dns error". However using ip address works as it can goes
| to the site
|
| On other similar machines, however it can resolves to the site using dns
| name in host file.
|
| What went wrong ?
|

You don't need a etc/hosts file !

Remove it.

%SystemRoot%\System32\drivers\etc\hosts

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

Think you may have something wrong or its old cache
cmd window
ipconfig /flushdns

my host has stuff like this in it;
127.0.0.1 www.vibrantmedia.com #double underline pops go away
216.109.126.22 www.yahoo.com #goto my.yahoo````akadns,net

so i type in vibrantmedia it goes to nowhere
i type in yahoo it goes to ip numb i want rather than plain yahoo


"James" <jkklim@hotmail.com> wrote in message
news:Oy0H43ErFHA.1568@TK2MSFTNGP10.phx.gbl...
> i've some entries in the hosts file. However IE cannot resolve it and
> indicate it is a "dns error". However using ip address works as it can
> goes
> to the site
>
> On other similar machines, however it can resolves to the site using dns
> name in host file.
>
> What went wrong ?
>
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

>
> You don't need a etc/hosts file !
>
> Remove it.
>
> %SystemRoot%\System32\drivers\etc\hosts
>

That's a pretty retarted answer. Many developers, me included, uses the
hosts file together with virtual hosts in Apache to test things
locally.

I have the same problem as the starter of this thread, and sadly I
still haven't found a solution.


--
pascual
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

From: "pascual" <pascual.1uqsdo@pcbanter.net>


| That's a pretty retarted answer. Many developers, me included, uses thehosts file together
| with virtual hosts in Apache to test thingslocally.
|
| I have the same problem as the starter of this thread, and sadly Istill haven't found a
| solution.-- pascual

No it's a good answer. Usually the 'hosts' file is not needed. However, during development
situations where there is no DNS resolution, adding the host name and IP address to the
'hosts' file is the way to go and one of the reasons it exists in the TCP/IP stack.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

On Friday 02 September 2005 11:17 am, David H. Lipman had this to say in
microsoft.public.windowsxp.general:

> From: "pascual" <pascual.1uqsdo@pcbanter.net>
>
>
> | That's a pretty retarted answer. Many developers, me included, uses
> | thehosts file together with virtual hosts in Apache to test
> | thingslocally.
> |
> | I have the same problem as the starter of this thread, and sadly Istill
> | haven't found a solution.-- pascual
>
> No it's a good answer. Usually the 'hosts' file is not needed. However,
> during development situations where there is no DNS resolution, adding the
> host name and IP address to the 'hosts' file is the way to go and one of
> the reasons it exists in the TCP/IP stack.
>
The HOSTS file is as necessary as notepad. Depends if you're going to make
use of it. To suggest that it is only needed for development situations is
not correct. Please learn about some of the other uses for a HOSTS file
before giving out your incorrect opinions.


--
Have you been MicroShafted today?
To mess up a Linux box, you need to work *at* it.
To mess up a Windows box, you need to work *on* it.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)

From: "-rwxrw-r--" <nostop@stopspam.com>


| The HOSTS file is as necessary as notepad. Depends if you're going to make
| use of it. To suggest that it is only needed for development situations is
| not correct. Please learn about some of the other uses for a HOSTS file
| before giving out your incorrect opinions.
|
| --
| Have you been MicroShafted today?
| To mess up a Linux box, you need to work *at* it.
| To mess up a Windows box, you need to work *on* it.

I have studied NFS and the TCP/IP stack. I know what I am talking about. The hosts file is
NOT as needed as an ASCII text editor. That is a really poor comparison. As I have stated
its use is for when there is no DNS resolution. That is what it was designed for. It
certainly wasn't designed for its use present day use in a reversed application of
assigning an alias to the TCP/IP diagnostic responder as some use it for blocking access to
bad web sites. An example being the MVP hosts file. It was never designed to block access
but was designed to assign an alias to a given IP address if there is no DNS resolution.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm