The problem looks like this:
This was really annoying one. I checked my DNS settings maybe 1000 times and everything looked ok.
Then I realised that mysterious ::1 is local host address in IPv6. Now the fix was easy. Just clear the IPv6 DNS settings in the adapter settings and set to automatic.
OK that’s it! Now the DNS name resolution should be working fine!