Share via


Windows 10 error: No such host in known

Question

Sunday, June 5, 2016 5:41 AM | 1 vote

Hello,

I have Windows 10 Home and want to install SSTP VPN. But when I want to connect to the VPN, I get this error:

No such host in known

I've used DNS name for the host address, but if I use IP address as a host address, I get this error:

the certificate's cn name does not match the passed value

I tried this VPN on other machine which is has windows 10 and it works!

Please advice

All replies (9)

Wednesday, June 8, 2016 8:12 AM âś…Answered | 1 vote

You are not using the same DNS Server on Machine 2 and it seems that you can't access the Google DNS servers.
Is it working if you change it to 192.168.1.1?


Sunday, June 5, 2016 9:07 AM | 1 vote

Something's wrong with your DNS configuration on your network interface.
Your pc can't resolve the DNS name to an IP address. The second message is because you try to connect to the IP of your VPN but the certificate only contains the DNS name.

Gerald


Sunday, June 5, 2016 2:20 PM | 1 vote

Yes, but whats the solution?


Monday, June 6, 2016 12:11 PM | 1 vote

You should compare the network configuration between the problematic computer and the working computer.

Did you manually configured the network on both computers?


Monday, June 6, 2016 5:13 PM | 1 vote

The network configurations are ok, I always use this settings.

I guess the problem is windows firewall (however I disable it, but still not working).


Monday, June 6, 2016 5:16 PM | 1 vote

What happens if you do an nslookup from the machine that is not working and the machine that is working. Take a look at the response from each and post them on here. 

Please remember to select Mark as Answer if someone provides the answer or mark as helpful if the response helps to lead you in the right direction.


Tuesday, June 7, 2016 6:49 AM | 1 vote

Hi Amin2234,

Try the following command line to reset the tcp/ip stack and try to connect again.

ipconfig /flushdns (Clear the dns cache)
nbtstat -RR (release and refesh NetBIOS names)
netsh int ip reset (reset ip settings)
netsh winsock reset (Reset Winsock Catalog)
Reboot

Best regards

Please mark the reply as an answer if you find it is helpful.

If you have feedback for TechNet Support, contact [email protected]


Wednesday, June 8, 2016 6:49 AM | 1 vote

Hello,

I performed all these steps:

ipconfig /flushdns
nbtstat -RR
netsh int ip reset
netsh winsock reset
Reboot

All was successful, but in "netsh int ip reset" it seems some of them was success and some failed/denied:

Resetting Global, OK!
Resetting Interface, OK!
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting Route, OK!
Resetting , failed.
Access is denied.

Resetting , OK!
Restart the computer to complete this action.

Here are 2 nslookup results from 2 machine:

- Machine 1 (VPN working):

Server: Unknown
Address: 192.168.1.1

Non-authoritative answer:
Name: deip.rapidvpn.com
Address: 84.200.242.4

- Machine 2 (VPN not working):

Server:  google-public-dns-a.google.com
Address:  8.8.8.8

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to google-public-dns-a.google.com timed-out

Wednesday, June 8, 2016 3:31 PM

It worked when I changed DNS to "192.168.1.1".

But I am confused:

192.168.1.1 is my gateway IP. Why it not worked with google DNS? I have another PC (Windows 7) which is has google DNS and exact configuration with my laptop and its working fine! Dont know why my laptop with windows 10 dont work with that configuration!!!