Minecraft / Blogs

Client Fix 1.7-1.12 'Unknown Host Error/Can't Resolve Host Name' All Platforms

  • 3
  • 3
  • comment45
  • playlist_add
  • share
  • more_horiz
avatar colin350
Level 45 : Master Sweetheart
26
Over the past few minecraft releases, there has been a known bug regarding connectivity issues. More specifically, for versions: 1.7, 1.8, 1.9, 1.10, 1.11, and 1.12. This bug has nothing to do with mojang/microsoft, or the source code of minecraft, it's actually directly related to your system (computer), router, and/or modem. This doesn't have to do with your version of minecraft.

This bug, is commonly referred to as the "Unknown Host" error. With this, you are unable to join the server you want to play on and as a result, you become frustrated. After checking that the IP that you entered was correct, you're unsure what the root cause of the problem is, why it's happening to you, and how quickly you can resolve this issue so you can join the server you've been longing to join.

Well, you've come to the right place! Here, I will be offering my solution(s) to this problem.

However, before you dive in, ask a friend who isn't the server host and the server host to see if that server is actually up and running and working for other people. If it is, and you are still given this error, then read further:

Other to VPN or using a different network, there is an alternative way to fix this issue.

My solution(s) below modify your DNS network settings on your local system. MacOSX, Linux, and Windows solutions are provided. If you are in need of assistance with a specific configuration (especially with Linux or Windows) just comment below.
Mac OSX
1. Go to System Preferences and choose Network.

2. Under Network, make sure that Wireless is selected (if using an ethernet cable, please select ethernet on left side).

3. Select Advanced and then go to the DNS Section of this menu.

4. Navigate to the + sign below the 'DNS Servers' Section, click it.

5. There, type in 208.67.222.222 or 208.67.220.220 (you may add both, but one should work alone)

6. If this does not work, Click Cancel, and then at the bottom click Revert.
Windows
Dialup Users:
1. Go to My Computer>Dialup Networking.
2. Right-click your internet connection and select Properties.
3. A window will open - click the Server Types tab. Click TCP/IP Settings.

Other Users:
1. Go to Control Panel>Network Connections and select your local network.
2. Click Properties, then select Internet Protocol (TCP/IP).
3. Click Properties.

Once at the Internet Protocol (TCP/IP) Properties:

1. Click Advanced, and Navigate to the DNS Tab

2. Add the DNS Servers of 208.67.222.222 or 208.67.220.220 (you may add both, but one should work alone)

3. If these steps do not work, you may visit the following link and enter the above servers when requested: Windows 10 and below
Linux/Unix/BSD
I have not used Linux/Unix systems in awhile, but this will help you to add the name servers using the shell/terminal. You do not need to do the steps after ADDING THE NAMESERVERS. THE NAMESERVERS LISTED AT THE LINK ARE THE SAME AS : 208.67.222.222 / 208.67.220.220

Help / Steps: Linux/Unix/BSD

All research has been found/done on my own. If you have any specific questions, especially with MacOSX, please feel free to message me or comment below.

If the information above has not worked for you, please, before commenting / messaging, read through the other comments to see if someone else has had or is having a similar issue. My general comment response time is a few days.

When commenting, please be as specific as possible. I want to help as best as I can and that requires clear questions.

If even after my response there has been no help, I recommend trying VPN and / or changing your external IP address, either through VPN or by switching routers / locations.

Furthermore, I hope this article was helpful to you.
Tags

Comments : 45

star Login or register to post a comment.

Show Comments

1 - 45 of 45

  • Pastafied
  • Level 1
  • New Miner
  • October 21, 2018, 7:36 am
im using mac, and i am unable to type in the dns section
It won’t let me add to IPv4 or IPv6 addresses. The + & - options are greyed out. I’m on the latest version
  • Vesko22
  • Level 1
  • New Miner
  • July 22, 2017, 11:09 am
So my friend has issues with connecting to my server as it says "Unknown host". But tis is just for my server. I checked if it I can connect through other PCs other than mine (the hosting one) and it didn't work as well. So, what can be wrong with my server? I track my IPv4 every day, change it in the router's forwarding and in the properties file. We both don't have the bought version of Minecraft (we are cheap scrubs :D), but I run it with online mode being set on false, so I have no idea what the problem is. Please help. Any support is wellcomed, because we've done so much progress, that I don't think we'll accept giving it up.
  • Eddexmen
  • Level 1
  • New Miner
  • July 11, 2017, 2:01 pm
So I followed what you said and it didn't work with a new dns. I can connect to hypixel and cube craft and basically any other server than the one i want to and i know its typed right and i know the server is up. vpn didn't not help either but im not sure what it really is and it is strange because i have ran this server on my internet before but i have a new computer now and this is the first time i have ever had problems using this server and it sucks because i just spent money on the server lol, but i cant try another network because it is a PC and not a laptop. Any help is appreciated let me know if you need more info. Im on windows 10. If you have any good free vpn please let me know also.
I'm running windows 10 and I did all of the steps but it still won't work what do I do
  • colin350
  • Level 45
  • Master Sweetheart
  • June 17, 2017, 9:07 pm
You need to be a bit more specific. Which steps? Have you tried VPN? Have you tried another network?
  • B_Gamer27
  • Level 1
  • New Miner
  • June 2, 2017, 11:17 am
hello there,

i did all the things you asked but i still can't join my friends 1.11.2 server. I got Windows 10.

is there another way to fix this problem, I am totally lost. my friend won't give me his IP address in numbers please i really want to play on this server.
  • colin350
  • Level 45
  • Master Sweetheart
  • June 8, 2017, 10:13 am
Can you confirm that you are receiving an: "Unknown host" or "Can't resolve hostname" error? Are you able to join other networks (such as hypixel)?

Does another person who isn't the host have the ability to join? Are you the only one experiencing this issue?

Have you tried using a different internet source (go to a friends house and try, or use free public wifi)? Have you tried VPN?

To me it seems you have only pondered the solution in the spoilers. I want you to answer these questions so please bear with me. If you've already done those things, answers should be quick and easy.
  • Mianiacal
  • Level 1
  • New Crafter
  • May 12, 2017, 5:50 pm
i cant find "internet protocol anywhere ;-;
  • colin350
  • Level 45
  • Master Sweetheart
  • May 17, 2017, 4:53 pm
I asked if you could be as specific as possible, and you were not.
  • Kitsch
  • Level 1
  • New Explorer
  • January 22, 2017, 9:51 am
Hi, there are 2 Internet Protocols activated and I don't know which one I have to choose to click on Properties (Windows) IPv6 and IPv4

Edit: I tried one of them and I put both DNS servers and it said invalid ip address
  • colin350
  • Level 45
  • Master Sweetheart
  • January 25, 2017, 4:12 pm
Did you try the other?
  • Kitsch
  • Level 1
  • New Explorer
  • January 28, 2017, 5:47 am
Yes, and it still says that it's invalid. I'm trying to connect to one of my friends server and it just doesn't allow me to enter because of Invalid Host or something. This has also happened to me with a couple of other servers as well and I still can't find a solution to my problem.
  • colin350
  • Level 45
  • Master Sweetheart
  • January 29, 2017, 1:02 pm
Could you try using VPN, and confirm that that works as a temporary solution?
  • ididntdoit
  • Level 1
  • New Miner
  • January 12, 2017, 2:48 pm
I have the same error message, and different error messages depending on the coarse of action.
LAN connection only.
Check out this address for the details. Thanks.

www.minecraftforum.net/forums/support/server-support/2729550-cant-find-game-on-lan-synology-minecraft
  • colin350
  • Level 45
  • Master Sweetheart
  • January 13, 2017, 7:20 pm
Hi, can you try and be more specific in a comment please? Thank you.
  • GrayAoi
  • Level 20
  • Expert Skinner
  • November 3, 2016, 11:06 am
Thank you very much!!! :D

I am on Mac OSX and this worked perfectly!
  • Catsaus
  • Level 1
  • New Miner
  • July 16, 2016, 5:55 pm
Hello, I am on windows 10, and I've followed both sets of steps, the ones you provided, and the ones on the link you put. However, I am still getting the error "can't resolve server hostname"
  • colin350
  • Level 45
  • Master Sweetheart
  • July 16, 2016, 7:49 pm
Have you confirmed that the server is in fact online? Do you have friends who play it? Have you tried VPN alternatively to confirm if the server is online?
  • ravenmad
  • Level 1
  • New Miner
  • June 26, 2016, 6:38 am
i have tried using multiple DNS servers but none will work, it keeps telling me that they are invalid, i have gone to https://www.opendns.com/setupguide/#/ and used their DNS guide and servers as-well, but nothing is working. i hope you see this as i have been attempting to try and fix this for a few months now.
  • colin350
  • Level 45
  • Master Sweetheart
  • June 26, 2016, 2:57 pm
Well it's certainly much harder to pinpoint your issue, as I'm not sure which operating system you are currently running. I presume Windows 8 or 10?

Also, have you tried Google Public DNS?

Also check out this Link. It'll give you maybe some direction. You could be inputting an IPv4 address into an IPv6 box (this is most likely). If so, search for information on finding OpenDNS / Google Public DNS servers that match IPv6 format.

Worse case: VPN VPN VPN. Like I've said. Worse case, use that.
  • Spectre
  • Level 49
  • Master Mage
  • May 28, 2016, 8:26 pm
Thanks so much! I had these problems with my private 1.9.4 build server.

Very fluent tutorial, very easy to follow. ;)
The steps aren't working. I'm on Windows 10 and can't seem to find all the buttons. I looked at the link you gave AlexJohn1 and still couldn't find things. I'll add a link to some screen shots of what I saw/did. What buttons do I press?
Click for Pics

ps, I really like this server and want it back! Please help asap!
  • colin350
  • Level 45
  • Master Sweetheart
  • April 14, 2016, 1:51 pm
Updated the article with a new link. Check that out
I went through looking at other things you gave another person, spicificly Google Public DNS and it worked! I'm literly crying I love this server so much and it has been weeks since I was last able to do it. Thanks so much! New diamond, sub, and favorite!!!
  • jakeeeeee_
  • Level 1
  • New Miner
  • April 3, 2016, 12:51 am
Im not very smart in this type of stuff, but will this harm my computer or my router?
  • colin350
  • Level 45
  • Master Sweetheart
  • April 3, 2016, 5:53 pm
Changing your DNS settings on your computer will in no way harm your computer. In fact, those DNS ip's belong to google. Now opening your firewall either on your computer / router has risks– especially if it's your home network. The thing that people mistakenly forget to realize is that your firewall protects people from accessing any data computers have stored on your network. That being credit card information, social security, you name it. In fact, that's why I suggest you don't do that and try VPN first. Use turning down your firewall as a last resort, and talk seriously with your parents before doing so.




In terms of viruses, as I'm sure that's what you're most afraid of (and I don't blame you), but no this will not make you more susceptible to getting them on your computer. Actually, it comes down to what you click on / download.

Best of luck.
  • JuksuTv
  • Level 1
  • New Miner
  • March 4, 2016, 8:12 pm
Hello I'm using windows 10 and I just updated to Minecraft 1.9 . And all of my servers juamet say "Can't resolve hostname" Expect the numeric ones. So I changed the DNS but it's not still working.
  • colin350
  • Level 45
  • Master Sweetheart
  • March 8, 2016, 5:12 pm
Currently, most servers aren't yet 1.9 besides large server networks (i.e hypixel, mineplex, etc). So if you are talking about servers that haven't specifically said they've updated, then that's most likely the problem.

Again, as far as my solution above, I dod suggest that you read through the rest of the comments, as I usually give insight to other problems. Like I have recommended to most people, try using a VPN program as a temporary solution, and if that doesn't work just re-reply to this. Hotspot shield is one that I recommend (works for both windows & mac and offers a free version). Of course there are others out there.

Also if you could also see if other people you know can access these servers via 1.9 vs. 1.8 that would be beneficial information, thanks.
  • nadnerb321
  • Level 1
  • New Crafter
  • February 28, 2016, 10:31 am
I am on a Mac. I turned off the firewall, my internet is connected, the server ip is right, and this does not work. I DON'T KNOW WHAT TO DO. The server staff even gave me a different IP to try with just numbers, but that doesn't work EITHER. The server works on my dad's laptop and my Grandma's computer (not a laptop), but IT WON'T WORK ON THIS FAMILY COMPUTER (not a laptop). Sorry this is like a year late. It's a bending server with the Project Korra plugin, if that helps. I tried the fix you said with both DNS number thingies. I have no clue what to do. Please help; I really like this server.
  • colin350
  • Level 45
  • Master Sweetheart
  • March 8, 2016, 5:08 pm
Please see my response on laf510's comment below. If that doesn't work re-reply to this comment.
  • AlexJosh1
  • Level 1
  • New Miner
  • February 21, 2016, 1:33 pm
I can't  find these places in my control panel (I'm using windows) Could this be because I'm running windows vista?
  • colin350
  • Level 45
  • Master Sweetheart
  • February 23, 2016, 12:26 pm
This should help you locate where to add the addresses: Click Here
  • Taquito
  • Level 1
  • New Miner
  • January 16, 2016, 1:16 pm
Colin, I just made a Plant Minecraft account so I could tell you how much this helped.

Any server in the past that ended in "mcph.co" for example, I was unable to connect to. This had been happening for a year. I just decided to look into it, and this fix worked.

Thank you so much,
Anthony (Taquito)

Also, I love how the Steve head moves when you type. Lmao
  • colin350
  • Level 45
  • Master Sweetheart
  • January 17, 2016, 11:53 am
Haha thanks so much! I really appreciate it :)
  • KlawPlayz
  • Level 1
  • New Miner
  • November 12, 2015, 2:21 am
1. Is there a way to do withought the application?
2. Is it just for the home router?
3. Can you show how to unblock the router for your wifi?
4. Can you make a tutorial on this?
  • colin350
  • Level 45
  • Master Sweetheart
  • November 12, 2015, 10:06 am
1. My ways above explicitly describe how to work around these issues without a third-party vpn application, the vpn application is the end all if none of the other methods in the article/in the comments work.

2. I'm not fully sure what you are referring to. My method described above adds a DNS server to your computer's network configuration, as the default ones provided by your internet service provider are sometimes the issue. So as a wrap up– this modification is for your computer, not your router.

3. Again, not sure what you are asking here. Your router transmits the a wireless signal which is then connected to your modem and that's connected to the internet line. So you can't "unblock the router for your wifi" that's not how the processs works. To unblock specific ports (like those for minecraft servers), either your internet service provider (comcast/verizon are examples) will have a service panel (with a username and password) and you can change your firewall there (only do this with parental permission). Alternatively, if you have just a modem provided by in-town networking, your router should have firewall settings and the manual should have information. 

4. I can make another tutorial/blog about doing some of this stuff, but it really depends on what you want it to be about. I need you to be more specific. When it comes to turning off your firewall, well its long and strenuous to put down the information for every router and ISP on the market. There are plenty of customer support desks that can help you with that.
I am using a Mac Mini and followed the instruction from your Mac solution. I tried both network DNS IPs and neither worked. Even when applied, the server would still not connect, even after closing and reopening Minecraft, restarting my computer, ect. I've had this issue with a few other servers over the past month or so.
  • colin350
  • Level 45
  • Master Sweetheart
  • June 15, 2015, 1:27 pm
Have you checked if these servers' ips have not changed? That could be issue #1. 

If the server IP's have not changed, it is highly likely that the port they are using (if different from the default 25565) is blocked by either your computer's firewall or your modem's firewall. 

Look at the reply to laf510 down below for the first solution. A second solution would be to check your router firewall and/or the firewall provided by your current internet provider. An example would be Comcast, which has 3 different firewall settings with specific ports that are blocked. When I had the highest firewall on, I could only connect to 25565 servers... 

Let me know if you have any more questions.
Colin
  • laf510
  • Level 1
  • New Miner
  • March 7, 2015, 4:22 am
Hello I am a Mac user. This problem has been happening with a few specific servers only. A naruto minecraft server and a SAO minecraft server. I played it at my friends house the other day and it worked just fine. I came home to play it and it said "Can't resolve hostname". Then I clicked on it and it said "Unknown host". I'm not sure what to do and I really want to play on the SAO server. To play on the SAO server you need to be on 1.7.2-1.7.5.            [Skype: laf510 Kik: laf510]
  • colin350
  • Level 45
  • Master Sweetheart
  • March 8, 2015, 1:18 pm
Everything that is above should help you solve this error. If not, the only other option is a temporary one. Since I am Mac Native as well, I tend to choose this particular VPN in place of any other. (Link: Here ) You do not have to pay, just click the try for free and follow the instructions. This should allow you to access the servers. 

Most often the server's ip address is blocked by your own home router so masking your ip address should resolve that issue.

The reason I commented is because I do not give out my skype to people nor do I message them there. If you want contact with me msg me here.

Colin
  • xxxwildxxx
  • Level 1
  • New Miner
  • December 13, 2014, 9:14 pm
Hi! I am having a ton of trouble with this error. I okay on a minecraft server called battlepvp, and its been saying unknown host for 4 days now. I, also have a mac so i was wondering if i could get some specific help. The one above didnt work. If you know a way feel free to hit me up on here or on skype chunkymonkey104
  • colin350
  • Level 45
  • Master Sweetheart
  • December 14, 2014, 5:02 pm
If it has been 4 days now, could you please check and make sure the IP address is up to date. If the server uses a domain name as an IP, this shouldn't be the issue, but servers change their IP's all the time (sort of server host protocol). 

If you look at the comment below, I reccomend to the other person to try Google Public DNS. If you click the link, you should be able to find specific information regarding that and how to set it up on macintosh.

You could also have an issue with version, so check that as well.

If these do not work, please reply to comment or message me directly on planetminecraft and I will see what I can do.
  • Tren10
  • Level 1
  • New Miner
  • November 28, 2014, 8:41 am
I tried this using my Windows 7 computer and it said !P was invalid for both so I am commenting for some insight on the issue.
  • colin350
  • Level 45
  • Master Sweetheart
  • November 28, 2014, 3:48 pm
The DNS IP addresses that I have provided are from OpenDNS. Start there and try to troubleshoot if my steps correlate with theirs (I will edit mine).

If the IP address for the DNS remains invalid, I recommend trying Google Public DNS. It will work similarly and the DNS servers work pretty much all of the time.

If you add these DNS IP addresses and you are still getting the error, it has probably nothing to do with the DNS, so if you could comment or msg me the error message I will see what I can do.

Otherwise, contact Mojang (help.mojang.com) for even better assistance (sometimes).

1 - 45 of 45

Show Comments

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome