{"id":29485,"date":"2022-02-17T14:20:57","date_gmt":"2022-02-17T14:20:57","guid":{"rendered":"https:\/\/www.n-able.com\/?p=29485"},"modified":"2022-10-20T18:07:36","modified_gmt":"2022-10-20T17:07:36","slug":"beyond-the-ping-managing-internet-issues-mac","status":"publish","type":"post","link":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac","title":{"rendered":"Beyond the ping"},"content":{"rendered":"<p class=\"p4\">\u201cI can\u2019t get this website to load.\u201d<\/p>\n<p class=\"p3\">As common help requests go, this sort of ticket can cause any tech to roll their eyes in anticipation of wasting time on a wild goose chase. If <span class=\"s1\">example.com<\/span> isn\u2019t working for one of your users, it could be caused by any of a dozen or more points of failure\u2014everything from the user making a simple typo to a major Internet outage.<\/p>\n<p class=\"p3\">In between those two extremes, the problem could exist on the user\u2019s computer, or at the web server itself, or any link in the long chain that connects the two. It could also be a temporary glitch that fixes itself before you can track it down.<\/p>\n<p class=\"p3\"><i>NB: The command line tools I mention in this post are generally preinstalled on Mac and Linux, and are mostly available on Windows as optional downloads. These same tasks can be run from various web-based tools, but if the problem involves connecting to websites, that\u2019s not really an option is it?<\/i><\/p>\n<h2 class=\"p4\">\u201cGive me a ping, Vasily. One ping only, please.\u201d<\/h2>\n<p class=\"p3\">The first tool most troubleshooters will turn to when diagnosing a network problem is the old reliable <span class=\"s2\"><b>ping<\/b><\/span>. The Internet Control Message Protocol (ICMP) utilized by the <span class=\"s2\"><b>ping<\/b><\/span> command is so foundational to the functioning of the Internet, it\u2019s designated as Internet Protocol number one. (<a href=\"https:\/\/www.iana.org\/assignments\/protocol-numbers\/protocol-numbers.xhtml\" target=\"_blank\" rel=\"noopener\">Transmission Control Protocol<\/a>, the TCP part of TCP\/IP, is number <i>six<\/i>.)<\/p>\n<p class=\"p3\">While a successful <span class=\"s2\"><b>ping<\/b><\/span> can tell you that the server you\u2019re trying to reach is in fact reachable and currently online, it\u2019s not much help beyond that. There are also too many false negative scenarios to rule anything out from a failure.<\/p>\n<p class=\"p3\">The next step up from <span class=\"s2\"><b>ping<\/b><\/span> is <span class=\"s2\"><b>traceroute<\/b><\/span> (abbreviated <span class=\"s2\"><b>tracert<\/b><\/span> on Windows) or the more capable <span class=\"s2\"><b>mtr<\/b><\/span> (originally \u201cMatt\u2019s Trace Route\u201d). Either tool will send a series of pings not only to the destination but to each router that sits between you and that server. The resulting report should tell you if the problem exists at one end of the connection or at a specific link along the chain.<\/p>\n<p class=\"p3\">As helpful as this is, it still relies on <span class=\"s2\"><b>ping<\/b><\/span> to do its job. The problem server may be online and functioning normally but ignoring ICMP traffic or your firewall rules could be blocking the response.<\/p>\n<p class=\"p3\">And most of the time the problem is DNS anyway.<\/p>\n<h2 class=\"p4\">What\u2019s in a name?<\/h2>\n<p class=\"p3\">You can get to <span class=\"s1\">example.com<\/span> from your computer, but it still won\u2019t load for the user. Maybe the trouble isn\u2019t even with <span class=\"s1\">example.com<\/span> but with the user\u2019s DNS resolution. (I could go into a long sidebar about how the domain name system works, but this article explains it better than I could: <a href=\"https:\/\/computer.howstuffworks.com\/dns.htm\" target=\"_blank\" rel=\"noopener\"><span class=\"s1\">https:\/\/computer.howstuffworks.com\/dns.htm<\/span><\/a>)<\/p>\n<p class=\"p3\"><span class=\"s2\"><b>ping<\/b><\/span> relies on DNS to come up with where to send its packets, so you\u2019ll need to try some different tools to check if DNS is working.<\/p>\n<p class=\"p3\"><span class=\"s2\"><b>nslookup<\/b><\/span>\u2014the Name Server Lookup utility\u2014exists on Mac, Linux, and Windows. There\u2019s also <span class=\"s2\"><b>dig<\/b><\/span>, but it\u2019s not typically installed on Windows by default. Either one will query the default DNS server and return where that server thinks <span class=\"s1\">example.com<\/span> resides. Like so:<\/p>\n<p class=\"p5\"><span class=\"s3\"><b>nslookup <\/b><b>example.com<\/b><\/span><\/p>\n<p class=\"p3\">Often the trouble with your ISP\u2019s default DNS server is that everyone connected to your ISP is using it. ISP servers get overloaded and slow, and while your Internet speeds are still snappy, every site you go to feels sluggish because of the delay in resolving the domain for each connection. Luckily, plenty of alternatives exist, including public DNS servers run by companies with a stake in the Internet\u2019s infrastructure like Cloudflare, Cisco, and Google. Obviously, if you can\u2019t reach Google you have bigger problems than not being able to load one random website.<\/p>\n<p class=\"p3\">So, this command will look up <span class=\"s1\">example.com<\/span> using Google\u2019s public DNS instead:<\/p>\n<p class=\"p6\"><b>nslookup <\/b><span class=\"s1\"><b>example.com<\/b><\/span><b> 8.8.8.8<\/b><\/p>\n<p class=\"p3\">If you get a different response from 8.8.8.8 than you do from your default settings, then the problem is with your DNS server.<\/p>\n<h2 class=\"p4\">Netcat, not to be confused with LOLcats<\/h2>\n<p class=\"p3\"><span class=\"s2\"><b>netcat<\/b><\/span> (or its modern replacement <span class=\"s2\"><b>ncat<\/b><\/span>) is a network testing Swiss army knife. Like <span class=\"s2\"><b>ping<\/b><\/span>, it can make connections to a remote server to see if it\u2019s online. But unlike <span class=\"s2\"><b>ping<\/b><\/span>, <span class=\"s2\"><b>netcat<\/b><\/span> can connect to any port and listen for a response on any protocol.<\/p>\n<p class=\"p3\">For instance, to properly test a web server, you need to try and connect to it on the ports a web browser would use, primarily 80 and 443\u2014for HTTP and HTTPS respectively. To do that, you would do this:<\/p>\n<p class=\"p6\"><b>nc -z example.com 80<\/b><\/p>\n<p class=\"p5\"><span class=\"s3\"><b>nc -z <\/b><b>example.co<\/b><b>m<\/b><b> 443<\/b><\/span><\/p>\n<p class=\"p3\">And to determine if that DNS server you\u2019re using is actually listening for DNS requests on UDP port 53:<\/p>\n<p class=\"p5\"><span class=\"s3\"><b>nc -uz <\/b><b>dns.example.com<\/b><b> 53<\/b><\/span><\/p>\n<h2 class=\"p4\">Detangling curls<\/h2>\n<p class=\"p3\">If the server is showing signs of life with <span class=\"s2\"><b>ping<\/b><\/span> and <span class=\"s2\"><b>netcat<\/b><\/span> but still not giving you anything useful when you try it with a web browser, get a more useful web browser.<\/p>\n<p class=\"p3\">The command line URL downloader, <span class=\"s2\"><b>curl<\/b><\/span>, negotiates the same connections a graphical browser can but <span class=\"s2\"><b>curl<\/b><\/span> will tell you what it\u2019s doing at every stage. Give this command a shot:<\/p>\n<p class=\"p5\"><span class=\"s3\"><b>curl -Lv <\/b><b>https:\/\/example.com<\/b><\/span><\/p>\n<p class=\"p3\">The <span class=\"s2\"><b>-L<\/b><\/span> option tells <span class=\"s2\"><b>curl<\/b><\/span> to follow redirects and other server responses that normally tell a browser that the page it\u2019s looking for has moved. Verbose mode, invoked with <span class=\"s2\"><b>-v<\/b><\/span>, can sometimes be just the trick you need to discover why that website isn\u2019t loading in Chrome. Unfortunately, the problem might still be on the server\u2019s side and there\u2019s nothing you can do about it.<\/p>\n<p class=\"p3\">Then it\u2019s time to file the ticket \u201cunresolved\u201d and move on to something you can actually fix.<i><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to internet connectivity issues, things are never quite as simple as they seem. This blog looks at some of the things available to help Mac managers.<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-29485","post","type-post","status-publish","format-standard","hentry","topic-apple","topic-head-nerds"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Beyond the ping - N-able<\/title>\n<meta name=\"description\" content=\"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beyond the ping - N-able\" \/>\n<meta property=\"og:description\" content=\"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\" \/>\n<meta property=\"og:site_name\" content=\"N-able\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/NableMSP\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-17T14:20:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-20T17:07:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.n-able.com\/wp-content\/uploads\/2022\/02\/220921_blogbanner_BeyondThePing_ss.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"N-able\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.n-able.com\/wp-content\/uploads\/2022\/02\/220921_blogbanner_BeyondThePing_ss.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Nable\" \/>\n<meta name=\"twitter:site\" content=\"@Nable\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"N-able\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\"},\"author\":{\"name\":\"N-able\",\"@id\":\"https:\/\/www.n-able.com\/de#\/schema\/person\/f46a000e389b6d02bd4b3866e7828a7b\"},\"headline\":\"Beyond the ping\",\"datePublished\":\"2022-02-17T14:20:57+00:00\",\"dateModified\":\"2022-10-20T17:07:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\"},\"wordCount\":964,\"publisher\":{\"@id\":\"https:\/\/www.n-able.com\/de#organization\"},\"articleSection\":[\"Head Nerds\",\"Mac Support\"],\"inLanguage\":\"de\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\",\"url\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\",\"name\":\"Beyond the ping - N-able\",\"isPartOf\":{\"@id\":\"https:\/\/www.n-able.com\/de#website\"},\"datePublished\":\"2022-02-17T14:20:57+00:00\",\"dateModified\":\"2022-10-20T17:07:36+00:00\",\"description\":\"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Head Nerds\",\"item\":\"https:\/\/www.n-able.com\/de\/blog\/category\/head-nerds-de\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Beyond the ping\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.n-able.com\/de#website\",\"url\":\"https:\/\/www.n-able.com\/de\",\"name\":\"N-able\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.n-able.com\/de#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.n-able.com\/de?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.n-able.com\/de#organization\",\"name\":\"N-able\",\"url\":\"https:\/\/www.n-able.com\/de\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.n-able.com\/de#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.n-able.com\/wp-content\/uploads\/2021\/02\/logo-n-able-vertical-dark.svg\",\"contentUrl\":\"https:\/\/www.n-able.com\/wp-content\/uploads\/2021\/02\/logo-n-able-vertical-dark.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"N-able\"},\"image\":{\"@id\":\"https:\/\/www.n-able.com\/de#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/NableMSP\",\"https:\/\/x.com\/Nable\",\"https:\/\/www.linkedin.com\/company\/n-able\",\"https:\/\/www.youtube.com\/channel\/UClnp77HHg4aME-S-3fWQhFw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.n-able.com\/de#\/schema\/person\/f46a000e389b6d02bd4b3866e7828a7b\",\"name\":\"N-able\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g\",\"caption\":\"N-able\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Beyond the ping - N-able","description":"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac","og_locale":"de_DE","og_type":"article","og_title":"Beyond the ping - N-able","og_description":"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.","og_url":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac","og_site_name":"N-able","article_publisher":"https:\/\/www.facebook.com\/NableMSP","article_published_time":"2022-02-17T14:20:57+00:00","article_modified_time":"2022-10-20T17:07:36+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.n-able.com\/wp-content\/uploads\/2022\/02\/220921_blogbanner_BeyondThePing_ss.jpg","type":"image\/jpeg"}],"author":"N-able","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.n-able.com\/wp-content\/uploads\/2022\/02\/220921_blogbanner_BeyondThePing_ss.jpg","twitter_creator":"@Nable","twitter_site":"@Nable","twitter_misc":{"Verfasst von":"N-able","Gesch\u00e4tzte Lesezeit":"5\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#article","isPartOf":{"@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac"},"author":{"name":"N-able","@id":"https:\/\/www.n-able.com\/de#\/schema\/person\/f46a000e389b6d02bd4b3866e7828a7b"},"headline":"Beyond the ping","datePublished":"2022-02-17T14:20:57+00:00","dateModified":"2022-10-20T17:07:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac"},"wordCount":964,"publisher":{"@id":"https:\/\/www.n-able.com\/de#organization"},"articleSection":["Head Nerds","Mac Support"],"inLanguage":"de"},{"@type":"WebPage","@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac","url":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac","name":"Beyond the ping - N-able","isPartOf":{"@id":"https:\/\/www.n-able.com\/de#website"},"datePublished":"2022-02-17T14:20:57+00:00","dateModified":"2022-10-20T17:07:36+00:00","description":"With internet connectivity issues things are rarely as simple as they seem. This blog looks at some of the tools available for Mac admins.","breadcrumb":{"@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.n-able.com\/de\/blog\/beyond-the-ping-managing-internet-issues-mac#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Head Nerds","item":"https:\/\/www.n-able.com\/de\/blog\/category\/head-nerds-de"},{"@type":"ListItem","position":2,"name":"Beyond the ping"}]},{"@type":"WebSite","@id":"https:\/\/www.n-able.com\/de#website","url":"https:\/\/www.n-able.com\/de","name":"N-able","description":"","publisher":{"@id":"https:\/\/www.n-able.com\/de#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.n-able.com\/de?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.n-able.com\/de#organization","name":"N-able","url":"https:\/\/www.n-able.com\/de","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.n-able.com\/de#\/schema\/logo\/image\/","url":"https:\/\/www.n-able.com\/wp-content\/uploads\/2021\/02\/logo-n-able-vertical-dark.svg","contentUrl":"https:\/\/www.n-able.com\/wp-content\/uploads\/2021\/02\/logo-n-able-vertical-dark.svg","width":"1024","height":"1024","caption":"N-able"},"image":{"@id":"https:\/\/www.n-able.com\/de#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/NableMSP","https:\/\/x.com\/Nable","https:\/\/www.linkedin.com\/company\/n-able","https:\/\/www.youtube.com\/channel\/UClnp77HHg4aME-S-3fWQhFw"]},{"@type":"Person","@id":"https:\/\/www.n-able.com\/de#\/schema\/person\/f46a000e389b6d02bd4b3866e7828a7b","name":"N-able","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9c468b7c98137ecdd5508befa660c205a7978133257080a37fb0b1362d53411?s=96&d=mm&r=g","caption":"N-able"}}]}},"_links":{"self":[{"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/posts\/29485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/comments?post=29485"}],"version-history":[{"count":0,"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/posts\/29485\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.n-able.com\/de\/wp-json\/wp\/v2\/media?parent=29485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}