(This is a solution to a problem, not a query. I haven't found this mentioned elsewhere.)
I was not able browse Windows shares from the Ubuntu machines in our house, and could not refer to the Windows machines using their own names. I would get errors like "failed to retrieve share list from server", etc. I had to use IP addresses instead.
I thought this problem was something broken in newer versions of Ubuntu, but in this case, Ubuntu turned out to be blameless.
For me, this problem was caused by the DNS redirection service provided by our Internet service provider (in my case, Verizon). Verizon and some other ISP's call this DNS assistance.
You have such a service if you get a search page with suggestions instead of "server not found" when you try to enter an unregistered domain name in a browser. The ISP's DNS servers serve up an IP address that goes to the search page instead of returning "not found". This DNS redirection was short-circuiting proper lookup of the Windows machine names, because it was returning a DNS result instead of "not found".
An easy way to check for DNS redirection being the cause of Windows browsing problems is to unplug the WAN connection from your router, so you are connected to your own LAN only, and not to the ISP's name servers. Then try browsing your Windows shares. If it works, the problem is due to the ISP.
Verizon, at least, has a workaround for this. Click on the "About This Page" button toward the upper right of one of the DNS redirection search results pages. You will go to a page explaining how to opt out. The basic technique is to reconfigure your router to use a fixed set of DNS servers. For Verizon, the nornal DNS server IP addresses are of the form xxx.xxx.xxx.12. If you change them to xxx.xxx.xxx.14, you'll disable DNS redirection.
You could also choose some other public DNS servers. A web search on "DNS redirection" will get you many suggestions.
Bookmarks