VNC connect via PC name

Discussion in 'other software & services' started by treehouse786, Jan 22, 2012.

Thread Status:
Not open for further replies.
  1. treehouse786

    treehouse786 Registered Member

    Joined:
    Jun 6, 2010
    Posts:
    1,411
    Location:
    Lancashire
    hi guys, i have trying to get TightVNC to connect to other machines in my house via the pc name but it does not connect, getting a 'cant connect to server' message, if however i type in the IP address instead of the pc name then it works. this happens with both TightVNC and UltraVNC

    both computers are on a workgroup and not a domain and are win7 ultimate using the same router

    i have not forwarded any ports as its on the local network and the fact that they connect with the local ip's shows it can work but why the hell cant i connect via pc name?

    any ideas?
     
  2. Cudni

    Cudni Global Moderator

    Joined:
    May 24, 2009
    Posts:
    6,963
    Location:
    Somethingshire
    is the master browser service running? checked fw is not blocking anything/trusted zone
     
  3. treehouse786

    treehouse786 Registered Member

    Joined:
    Jun 6, 2010
    Posts:
    1,411
    Location:
    Lancashire
    hi Cudni, yes all firewall are off and the service is defo running as i can connect to it via IP

    edit- strange thing tho, if i switch my dns provider to my routers IP then i can connect via name, if i switch it back to Open DNS then it does not connect by name (IP only)

    why would this be? especially when you consider that the router is still acting as a DHCP no matter what dns i use (the dns is not set in router but in each machines network adapter settings)
     
    Last edited: Jan 23, 2012
  4. treehouse786

    treehouse786 Registered Member

    Joined:
    Jun 6, 2010
    Posts:
    1,411
    Location:
    Lancashire
  5. treehouse786

    treehouse786 Registered Member

    Joined:
    Jun 6, 2010
    Posts:
    1,411
    Location:
    Lancashire
    RESOLVED! (i should have known better than asking for network related help on a security forum, anyway find the solution below)


    after many hours of testing i finally found a way to make this ridiculous problem go away (its ridiculous because this problem never affected other DNS providers like google DNS)

    the reason why local names never resolved with opendns enabled is because opendns WILL resolve all queries even if they DONT truly resolve so netbios wont be used hence the non resolution of local machine names.

    FIX- run ipconfig /all and find the Primary DNS Suffix. write that down and then login to your opendns dashboard, add a VPN exception with the contents being what you wrote down for the Primary DNS Suffix value, restart system. local name resolution should now work.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.