How to speed up host name resolution?

jtadeo

New member
Local time
5:37 AM
Messages
1
Good evening all,

I have a problem with the speed of host name resolution in Win7. I use VNC on my laptop to connect to my main pc (both running win7 ultimate). If I use the host name to connect using vnc it takes about 30-60 sec to resolve the name and eventually connect. If I use the IP address it's instant. I noticed that if I turn off the firewall on my main pc the host name resolution is instant as well (that's not something I want to turn off though). Any ideas on how to speed the host name resolution?

Thanks !
 

My Computer My Computer

OS
WIN 7 X64 ultimate
Good evening all,

I have a problem with the speed of host name resolution in Win7. I use VNC on my laptop to connect to my main pc (both running win7 ultimate). If I use the host name to connect using vnc it takes about 30-60 sec to resolve the name and eventually connect. If I use the IP address it's instant. I noticed that if I turn off the firewall on my main pc the host name resolution is instant as well (that's not something I want to turn off though). Any ideas on how to speed the host name resolution?

Thanks !

Welcome to sevenforums, jtadeo!

It sounds like the solution would be to add an entry to the "hosts" file on the laptop. There are instructions in the file about what an entry looks like (typically all that is in there is the comments, set off by a ";" as the first character of a line.) I'd try adding your main system IP address and name and see what that does. (You're right in not wanting to turn off the firewall.)

The "hosts" file is in C:\WINDOWS\system32\drivers\etc or wherever you have the main WINDOWS directory.
 

My Computer My Computer

Computer Manufacturer/Model Number
Gateway, Toshiba Laptop, and Home Brew
OS
Windows 7 x64 HP, Windows 7 HP, Windows 7 Ult
CPU
Intel I3, Cerelon, Pentium 4 @ 3Ghz
Motherboard
Intel, Intel, Asus
Memory
8G, 3G, 3G
Graphics Card(s)
On-board Intel, On-board nVidia, nVIDIA card
Sound Card
on-board, on-board, SoundBlaster
Monitor(s) Displays
Hannspree HF237, Toshiba, SyncMaster 931B
Screen Resolution
default (all)
Hard Drives
1T internal, 320G internal, 160G internal, 1T networked
PSU
300w, unk, 650w
Case
black, black, grey
Cooling
air (all)
Keyboard
standard wired (all)
Mouse
standard wired (all)
Internet Speed
6M down, 768K up
Other Info
Home LAN through Linksys hub to 4 port and wireless switch/router. Networked HP 2600n. Wife's computer running Windows 7, and spare laptop running Ubuntu "Karmic Kola" (9.10).
Back
Top