Sounds like winsock could be corrupted or not installed properly.
Easiest solution I think is to just reinstall winsock because it will give
you problems such as you are experiencing.
Remove the Winsock keys from the Registry, uninstall the TCP/IP protocol
from the network configuration and reinstall TCP/IP (Windows will reinstall
Winsock).
Here's how: click Start.Run, type RegEdit, make a full backup of the
Registry (File.Export) then find and delete the following registry keys;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2 key.
Next, open Control Panel|Network|double-click your TCP/IP
component(s),record the information on each tab for later use, delete the
TCP/IP protocol and reboot. Return to the Network applet via control panel,
click Install to add back the TCP/IP protocol, enter your recorded settings,
reboot and try again.

Signature
Report back to newsgroup in this thread on any outcomes so others can
benefit.
Utilise the MS SEARCH CRITERIA "site:support.microsoft.com" using GOOGLE for
better results.
example- vxd errors site:support.microsoft.com
> Win98SE pc cannot connect via browsers to the web.I can
> ping any ip address including my DNS. Tracert does not
[quoted text clipped - 4 lines]
> Thanks
> B
Bern - 20 Aug 2003 04:03 GMT
Sorry, it did not work. Thanks all the same. Did I mention
this was happenning in both IE and Netscape.Both have
always worked.
B
>-----Original Message-----
>Sounds like winsock could be corrupted or not installed properly.
[quoted text clipped - 28 lines]
>
>.
Have you tried renaming the hidden HOSTS file?

Signature
Hyperlinks are used to ensure answers remain current.
________________________________________
Sandi Hardmeier - Microsoft MVP since 1999
http://www.mvps.org/inetexplorer
> Win98SE pc cannot connect via browsers to the web.I can
> ping any ip address including my DNS. Tracert does not
[quoted text clipped - 4 lines]
> Thanks
> B
I am also having this issue. I have tried all suggested
fixes. Even the Network guys are stumped. Something is
definitly blocking the DNS lookup.
Gary
>-----Original Message-----
>Win98SE pc cannot connect via browsers to the web.I can
[quoted text clipped - 6 lines]
>B
>.
Bernhard - 21 Aug 2003 03:18 GMT
Success. TCP/IP properties go to WINS configuration tab
select "Disable WINS Resolution" which deselects the
option at the bottom "Use DHCP for WINS resolution"
Thanks for all the advice
B
>-----Original Message-----
>I am also having this issue. I have tried all suggested
[quoted text clipped - 16 lines]
>>
>.
Gary Contois - 21 Aug 2003 03:39 GMT
No success for me....
>-----Original Message-----
>Success. TCP/IP properties go to WINS configuration tab
[quoted text clipped - 24 lines]
>>
>.