I am having a problem and I don't understand the root cause.
- I used to have a decent router running Tomato but it died.
- I bought a new one and had it installed/running past return date before finding out that it didn't support Tomato or DD-WRT, so running with stock admin.
- Windows 7 machine (win7) as client, Ubuntu server (boopsie) hosting Git.
- boopsie is a static entry in router (192.168.1.2)
- win7 has a host entry in C:\Windows\System32\drivers\etc\hosts: 192.168.1.2 boopsie
- Using PuTTY & ping work fine from win7 using hostname boopsie and/or ip 192.168.1.2.
- ipconfig /all shows dns source as being the router.
- on win7, FileZilla cannot resolve host boopsie but works fine with 192.168.1.2
- from win7, git fails with "cannot locate host"
- from win7, plink can't connect to boopsie by hostname - it's appending .home and going to a totally different ip:
c:\me>plink -v me@boopsie
Looking up host "boopsie.home"
Connecting to 188.8.131.52 port 22
But command line works fine:
c:\me>ping boopsie Pinging boopsie[192.168.1.2] with 32 bytes of data: Reply from 192.168.1.2: bytes=32 time<1ms TTL=64
- Why is plink appending .home and trying to reach a different ip address?
- Is FileZilla doing the same thing?
- How can I resolve this so I can use boopsie's hostname instead of IP? I know I can run DNS on boopsie, but the issue seems to be localized to win7's resolution of names, so I'd like to start with that.