How to solve err_name_not_resolved - SupportHost
文章推薦指數: 80 %
How to fix err_name_not_resolved · Check the address · Check the connection · Clear cookies and cache · Disable the browser preload feature · Clear ... SummerSale!80%discountuntilthe5thofAugustApplythecouponHowtosolveerr_name_not_resolvedMay27,2022/Publishedin: TroubleshootingfromIvanMessinaNocomments Theerr_name_not_resolvederrorcanappearonthebrowserwhenDNSresolution(ornameresolution)fails.Inthisguide,wewillseewhattheerrormaydependonandhowtosolveit,casebycase. First,let’sseewhatexactlytheerrorconsistsofandhowitoccurs. TableofContents Whatiserr_name_not_resolved?Whatarethecausesoferr_name_not_resolved?Howtofixerr_name_not_resolvedChecktheaddressChecktheconnectionClearcookiesandcacheDisablethebrowserpreloadfeatureCleartheDNScacheChangetheDNSserversCheckthehostsfileCheckyourfirewallandantivirussettingsConclusion Whatiserr_name_not_resolved? TheDNS(DomainNameSystem)allowsyoutoconnectadomainnametothecorrespondingIPaddress.ItisthankstothissystemthatitispossibletoconnecttoawebsitebyrememberingonlythedomainnameandthereforethereisnoneedtoremembereachIPaddressbyheart. TheprocessbywhichanInternetdomainisconvertedtothecorrespondingIPaddressiscalledDNSresolutionornameresolution.Tolearnmoreabouthowtheresolutionworks,youcanreadourarticleonDNSpropagation. Whensomethinggoeswrongduringthedomainresolutionprocess,thebrowsercannotreachthewebsite.Inthesecases,anerrorsuchaserr_name_not_resolvedmayappear. AnothererrorthatcandependonproblemswithDNSandthatwehaveseenhowtosolveintherelativeguideisdns_probe_finished_nxdomain. Notethattheerr_name_not_resolvederrordoesn’tjustshowuponChrome,butthisbrowseristypicallytheonlyonethatusesthiserrorcode. Othervariantsoftheerr_name_not_resolvederrorare: NET::ERR_NAME_NOT_RESOLVEDFailedtoloadresourcenet::err_name_not_resolvedThesitecannotbereachedUnabletoreachthesiteCouldnotfindtheIPaddressoftheserverThewebpageisnotavailable. Whatarethecausesoferr_name_not_resolved? TheassociationbetweendomainsandIPaddressesismanagedbyDNS.Whenthedomainresolutionprocessfails,theerrorerr_name_not_resolvedcanoccur. Thiscanhappenforexampleduetoobsoletecacheddata.Theerrorcanalsobecausedbyincorrectbrowserconfigurations,connectionproblemsortheconfigurationofthehostsfile. Tounderstandwhatarethecausesoftheerr_name_not_resolvederror,let’sseehowwecanmanagetosolveit. Keepinmindthatthesolutionsweproposestartfromsomesimpleones,suchasclearingcookiesandthecache,tomoretechnicalsolutionssuchascheckingtheconfigurationofthehostsfileorclearingtheDNScacheofyourcomputer. Howtofixerr_name_not_resolved Let’sseethedifferentmethodstoresolvetheerror. Herearethesolutionswewilllookintotofixerr_name_not_resolved: checkthattheaddressiscorrectchecktheconnectiondeletebrowsingdatacheckyourbrowsersettingscleartheDNScachechangeDNSserverscheckthehostsfilecheckfirewallandantivirussettings. Checktheaddress Thefirstthingyoucandowhenyouarefacedwiththeerrorerr_name_not_resolvedistocheckifyoutypedtheaddresscorrectly. Inparticular: Checkthattheaddressisspelledcorrectlyandtherearenotypos.Tryaddingorremoving“www”. Checktheconnection Anothercheckyoucandoisiftheerr_name_not_resolvederrordependsontheconnection. Firstofallyoucantrytoconnecttoanotherwebsitetoseeifyoucannavigateorerrorsoccuragain. Thesecondthingtodoistotryusingadifferentconnection.Forexample,youcanuseyourphone’sdataconnection. Anothercheckyoucandoismakesureiftheerroroccurswithonlyonedeviceorwithalldevicesconnectedtothesamenetwork. Finally,tryrestartingtherouter. Ifthesesolutionsdidnotallowyoutoresolvetheerr_name_not_resolvederror,thenkeeptryingthemethodsshownbelow. Clearcookiesandcache Mostnavigationerrorscanbeduetocacheddataorproblemswithcookies. Cacheddataallowsfasterloadingofwebpagesyou’vealreadyvisited,butitcanalsocauseerrors,justlikeerr_name_not_resolved. Dependingonthebrowseryouareusing,youcanfollowthedetailedproceduretoclearyourbrowsingdatabyfollowingourguideonhowtoclearthecache. Inthiscase,let’sseehowtoclearthecachewithGoogleChromestepbystep. Firstopenyourbrowserandclickonthethreeverticaldotsicon(⁝). ThenclickonMoretools→Clearbrowsingdata. Anewwindowwillopenfromwhichyoucanselectthedatatobedeletedandthereferencetimeinterval. Ifyouwanttoclearthecacheanddeletethecookies,checkthesetwoboxesandthenclickonCleardata. Youcanusetheadvancedsettingstokeeppasswordsanddeleteonlycachefilesandcookies. Clearingthecachecanhelpustoresolveothererrorsaswellsuchasdns_probe_finished_bad_config. Disablethebrowserpreloadfeature Onesettingthatcanoftencausetheerr_name_not_resolvederroristheGoogleChromepreloadfeature. Byactivatingthisfunction,thebrowserwillpreloadthelinksnotyetopen,forexamplethelinksonthepageyouarebrowsing. Let’sseehowtocheckifthesettingisactiveandhowtodisableit. OpenGoogleChromeandclickonthethree-doticon(⁝),thenclickonSettings. ClickonSecurityandprivacyfromtherightsidemenuandthenonCookiesandothersitedata. ScrolltothePagesarepreloadedoptionforfasterbrowsingandsearching,andturnitoff. Inthisscreenthepreloadoptionisactive,clickonthehighlightedbuttontodeactivateit. Atthispoint,tryreloadingthepagetoseeiftheerr_name_not_resolvederrorhasbeenresolved. CleartheDNScache Sincetheerr_name_not_resolvederrorisduetoanaddressresolutionproblem,theerrormayalsobeduetostaledatastoredintheDNScache. Justaswesawinthecaseofthedns_probe_finished_nxdomainerrorandforerr_connection_refused,alsointhiscaseapossiblesolutionistocleartheDNScache. Let’sseehowtocleartheDNScacheonGoogleChromeandhowtocleartheDNScachefromacomputerwithWindows. CleartheDNScacheonGoogleChrome GoogleChromestorestheDNScacheandyoucanemptyitdirectlyfromthebrowsersettings. Typechrome://net-internals/#dnsintheaddressbartoaccesstheDNScachesettings. ThenclickonClearhostcache.Doingsowillclearthebrowser’sDNScache. Nowcheckiftheerr_name_not_resolvederrorisresolved,orkeeptryingtheothermethods. ClearDNScacheonWindows TocleartheDNScacheonWindowsyouneedtoopenthecommandprompt. Notethatthesamestepsarevalidonallneweroperatingsystems:Windows7,Windows8,andWindows10. Toopenthecommandpromptfollowthesesteps: usetheWindows+RkeycombinationtypecmdandclickOK. ToemptytheDNScache,typethefollowingcommand: ipconfig/flushdns Amessageliketheoneyouseeonthisscreenwilltellyouthatthecachewassuccessfullyemptied. ChangetheDNSservers DNSerrorslikeerr_name_not_resolved,butalsoDNSserverisnotresponding,canberesolvedbychangingDNSservers. Let’sseehowtosetuppublicDNSonWindows10,Android,MacandLinuxandhowtosetthemdirectlyfromtherouter. ChangeDNSserversonWindows10 Toresolvetheerr_name_not_resolvederroronWindowsyoucanchangetheDNSserversandusetheOpenDNSorpublicDNSfromGoogleorCloudflare. GoogleDNSPreferredDNSServer:8.8.8.8AlternateDNSServer:8.8.4.4 CloudflareDNSPreferredDNSServer:1.1.1.1AlternateDNSServer:1.0.0.1 OpenDNSPreferredDNSServer:208.67.222.222AlternateDNSServer:208.67.220.220 TochangetheDNSserversettingsopentheControlPanelandclickonNetworkandSharingCenter. ClickChangeadaptersettings. AccessthepropertiesofthenetworkyouareusingbyrightclickingandthenclickingonProperties. FindInternetProtocolVersion4(TCP/IPv4)inthelist,selectitandclickProperties. ChecktheoptionUsethefollowingDNSserveraddressesandfillinthefieldswiththepublicDNS. InthisexampleweusedGoogle’sDNSservers. ChangeDNSserversonAndroid Ifyouencountertheerrorerr_name_not_resolvedonAndroidasolutioncanbetosetuppublicDNSservers. Todothis,youneedtoaccessthesettingsofthenetworkyouareconnectedto. ThefirstthingtodoissetastaticIP,afterwhichyoucanchangetheDNSbyenteringthepreferredandsecondaryserversasyouseeinthisscreen. Resolvetheerr_name_not_resolvederroronAndroidbychangingtheDNSservers ChangeDNSserversonLinux OnLinuxwecanchangetheDNSserversbyeditingtheresolv.conffile. Wecanopenthefilefromtheterminalwithaneditorsuchasgeditornano.Tousenano,usethefollowingcommandwithrootpermissions: ~#nano/etc/resolv.conf ThenchangetheentrynexttonameserverswithpublicDNSservers,forexampleusingthoseofGoogleasyouseeinthescreenshotbelow. ChangeDNSserversonMac TochangeDNSserversonMac,openSystemPreferencesandclickNetwork. ClickonAdvancedorMoreoptionsandthenopentheDNStab. Usethe“+”buttonbelowtoaddthenewDNSservers. ChangetheDNSserversontherouter SomeroutersallowyoutosetupDNSserversmanually.Thiswaythesettingsapplytothenetworkandyoucanresolvetheerr_name_not_resolvederroronsmarttv,firestickandalldevicesconnectedtothenetwork. Toaccesstherouter,youusuallyjusttype192.168.1.1or192.168.0.1intheaddressbarofthebrowser. ThenjustlookfortheDNSsettingsandenterthepreferredandsecondaryserversasyouseeinourexample. InourspecificcasewithaGL-MT300N-V2router,justgotoMoreSettings→CustomDNSServer→ManualDNSServerSettings. Checkthehostsfile Anotherpossiblesolutiontoresolvetheerr_name_not_resolvederror,istocheckthehostsfile. Inshort,thehostsfileallowsustoassociateaspecificIPwithadomainname.Infact,insidethehostsfilewewillfindalistofIPsanddomains,likethis: IPdomain-name Ifthereareerrorswithinthehostsfile,youmayencountererrormessagestryingtovisitthedesiredsite. Checkyourfirewallandantivirussettings InsomecasesvirusesandmalwarecanchangetheDNSconfiguration,soitcouldalsobeusefultorunascanwithanantivirus. Inothercases,accesstositesmaybeblockedbytheantivirusorfirewall.Tosolvethis,youcantrytotemporarilydisabletheseprograms. If,ontheotherhand,youhaverecentlychangedthesettings,youcantrytoresetthedefaultones. Conclusion Wehaveseenwhattheerr_name_not_resolvederrorisandwhatitcanbecausedby.Wethenfocusedonthesolutionstofixthiserror. Insomecasestheproblemmayoccurononlyonedevice,inothersonthewholenetwork.Wehavethereforeseenwhatcheckscanbemadetounderstandwhatisthecauseoftheerror. Westartedwithsimplersolutionsthathelpsolvevariousnavigationproblems,forexampletryingtodouble-checktheaddressweenteredortrytoconnectfromanotherdevice. Togettoseehowtochangethebrowsersettings,cleartheDNScacheorchangetheDNSservers,settingthepublicones. Haveyouevercomeacrosstheerrorerr_name_not_resolved?Howdidyoumanagetosolve?Letmeknowwithacomment. Searchtheblog Categories Alternatives CMSandPlugins Domains General Security SEO Troubleshooting WebHosting WebMarketing WebsiteSpeed WordPress Recentarticles cPanelvsPleskvsDirectAdmin:threewebhostingpanelscompared PHPerrors:acompleteguide WhatisMagento? Sitegroundalternative Howtosolvedns_probe_finished_bad_config FreeTrial Tryoursharedhostingfor14daysforfreeandwithoutobligation.Ifyou'rehappywithit,youcanupgradetoapaidplanwithoutlosingtheworkyou'vedone! FreetrialRelatedpostsThissitecan’tbereached:howtosolveReadthispostERR_CONNECTION_REFUSEDhowtosolveReadthispostdns_probe_finished_nxdomain:whatitmeansandhowtosolveitReadthispost LeaveaReplyCancelreplyYouremailaddresswillnotbepublished.Requiredfieldsaremarked*Comment*Name* Email* ByaddingmycommentIdeclarethatIhavereadtheprivacypolicyandgivemyconsenttotheprocessingofdata. Δ ThissiteusesAkismettoreducespam.Learnhowyourcommentdataisprocessed. barsuser-lockcartcrosschevron-down Weusecookiesonourwebsitetogiveyouthemostrelevantexperiencebyrememberingyourpreferencesandrepeatvisits.Byclicking“Accept”,youconsenttotheuseofALLthecookies.HoweveryoumayvisitCookieSettingstoprovideacontrolledconsent.CookiesettingsPrivacyPolicyACCEPTXManageconsent Close PrivacyOverview Thiswebsiteusescookiestoimproveyourexperiencewhileyounavigatethroughthewebsite.Outofthesecookies,thecookiesthatarecategorizedasnecessaryarestoredonyourbrowserastheyareessentialfortheworkingofbasicfunctionalitiesofthewebsite.Wealsousethird-partycookiesthathelpusanalyzeandunderstandhowyouusethiswebsite.Thesecookieswillbestoredinyourbrowseronlywithyourconsent.Youalsohavetheoptiontoopt-outofthesecookies.Butoptingoutofsomeofthesecookiesmayhaveaneffectonyourbrowsingexperience. Necessary Necessary AlwaysEnabled Necessarycookiesareabsolutelyessentialforthewebsitetofunctionproperly.Thesecookiesensurebasicfunctionalitiesandsecurityfeaturesofthewebsite,anonymously. CookieDurationDescription_dc_gtm_UA-*1minuteGoogleTagManagercookieforcontrollingtheloadingofaGoogleAnalyticsscripttag._ga2yearsThe_gacookie,installedbyGoogleAnalytics,calculatesvisitor,sessionandcampaigndataandalsokeepstrackofsiteusageforthesite'sanalyticsreport.Thecookiestoresinformationanonymouslyandassignsarandomlygeneratednumbertorecognizeuniquevisitors._gcl_au3monthsProvidedbyGoogleTagManagertoexperimentadvertisementefficiencyofwebsitesusingtheirservices._gid1dayInstalledbyGoogleAnalytics,_gidcookiestoresinformationonhowvisitorsuseawebsite,whilealsocreatingananalyticsreportofthewebsite'sperformance.Someofthedatathatarecollectedincludethenumberofvisitors,theirsource,andthepagestheyvisitanonymously._GRECAPTCHA5months27daysThiscookieissetbytheGooglerecaptchaservicetoidentifybotstoprotectthewebsiteagainstmaliciousspamattacks.cookielawinfo-checkbox-advertisement1yearSetbytheGDPRCookieConsentplugin,thiscookieisusedtorecordtheuserconsentforthecookiesinthe"Advertisement"category.cookielawinfo-checkbox-analytics11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Analytics".cookielawinfo-checkbox-functional11monthsThecookieissetbyGDPRcookieconsenttorecordtheuserconsentforthecookiesinthecategory"Functional".cookielawinfo-checkbox-necessary11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookiesisusedtostoretheuserconsentforthecookiesinthecategory"Necessary".cookielawinfo-checkbox-others11monthsThiscookieissetbyGDPRCookieConsentplugin.Thecookieisusedtostoretheuserconsentforthecookiesinthecategory"Other".PHPSESSIDsessionThiscookieisnativetoPHPapplications.Thecookieisusedtostoreandidentifyausers'uniquesessionIDforthepurposeofmanagingusersessiononthewebsite.Thecookieisasessioncookiesandisdeletedwhenallthebrowserwindowsareclosed.promocodeUntilthecouponcodeexpires,maximum1yearThiscookieissetwhenyouvisitapageviaalinkthatincludesadiscountcode.Thenameofthediscountcodeisrememberedtoremindtheuserthattheycangetadiscountontheservice.RefID90daysThiscookiestorestheIDofthereferralthatsentthefriendsothatifthecustomerplacesanorderwithinthenext90daysfollowingthereferral,thereferralreceivesagiftforit.user_currency_pref11monthsThiscookieissettoremembertheuser'scurrency.viewed_cookie_policy11monthsThecookieissetbytheGDPRCookieConsentpluginandisusedtostorewhetherornotuserhasconsentedtotheuseofcookies.Itdoesnotstoreanypersonaldata.WHMCSAffiliateID90daysThiscookiestorestheIDoftheaffiliatethatmadethereferralsothatifthecustomerplacesanorderwithinthenext90daysfollowingthereferral,theaffiliatereceivesacommissionforit.WHMCSInstanceIDsessionThiscookiestorestheuniquesessionIDforeachvisitorandenablesvariablestopassbetweenpageloads.Thecookieonlycontainsareferencetoasessiononthewebserver.Theuser'sbrowserwon'tstoreanypersonalinformation. Analytics analytics Analyticalcookiesareusedtounderstandhowvisitorsinteractwiththewebsite.Thesecookieshelpprovideinformationonmetricsthenumberofvisitors,bouncerate,trafficsource,etc. Advertisement advertisement Advertisementcookiesareusedtoprovidevisitorswithrelevantadsandmarketingcampaigns.Thesecookiestrackvisitorsacrosswebsitesandcollectinformationtoprovidecustomizedads. CookieDurationDescription_fbp3monthsThiscookieissetbyFacebooktodisplayadvertisementswheneitheronFacebookoronadigitalplatformpoweredbyFacebookadvertising,aftervisitingthewebsite.fr3monthsFacebooksetsthiscookietoshowrelevantadvertisementstousersbytrackinguserbehaviouracrosstheweb,onsitesthathaveFacebookpixelorFacebooksocialplugin. Others others Otheruncategorizedcookiesarethosethatarebeinganalyzedandhavenotbeenclassifiedintoacategoryasyet. CookieDurationDescriptioncf_chl_*1hourThiscookieisusedtocheckwhethertheCloudflareEdgeserversupportscookies.cf_chl_prog1hourThesecookiesareusedbyCloudflarefortheexecutionofJavascriptorCaptchachallenges.Theyarenotusedfortrackingorbeyondthescopeofthechallenge.cf_chl_rc_ni1hourThesecookiesareforinternalusewhichallowsCloudflaretoidentifyproductionissuesonclients.cf_chl_seq_*sessionThesecookiesareusedbyCloudflarefortheexecutionofJavascriptorCaptchachallenges.Theyarenotusedfortrackingorbeyondthescopeofthechallenge.pvc_visits*1dayTheseCookiesareusedbyPostsViewCounterplugintocountvisitstospecificposts,pagesandtutorials.WHMCSLinkID364daysThiscookieremembersthelinkthevisitorfollowedtogettoourwebsite,andthesystemusesitwhenreceivinganorder,tobeabletoassociatetheconversionwithalinktobeabletoprovidestats. Functional functional Functionalcookieshelptoperformcertainfunctionalitieslikesharingthecontentofthewebsiteonsocialmediaplatforms,collectfeedbacks,andotherthird-partyfeatures. CookieDurationDescription__cf_bm30minutesThiscookie,setbyCloudflare,isusedtosupportCloudflareBotManagement.__stripe_mid1yearThiscookieisusedtopreventcreditcardfrauds.__stripe_sid1yearThiscookieisusedtopreventcreditcardfrauds.WHMCSUser364daysThiscookieisusedfortheremembermefunctionalityoftheclientarea.Thesystemonlysetsitifaclientchosetohavethesystemremembertheirdetails,ensuringthattheydon'tneedtologinmultipletimes.Itispersistentandlastsfor365days,oruntillogout. Save&Accept
延伸文章資訊
- 1net::err_name_not_resolved是什麼意思 - 劇多
net::err_name_not_resolved指的是無法解析伺服器的DNS地址,當發現DNS服務出現問題時,應該做的第一件事情就是對DNS伺服器的網路連線情況進行驗證, ...
- 2How to solve err_name_not_resolved - SupportHost
How to fix err_name_not_resolved · Check the address · Check the connection · Clear cookies and c...
- 3关于Chrome报错ERR_NAME_NOT_RESOLVED 解决办法
原因. 基本上,都是的DNS地址问题导致ERR_NAME_NOT_RESOLVED错误。 由于各种原因,您的Internet DNS地址被阻止,因此 ...
- 4How to fix net::ERR_NAME_NOT_RESOLVED in ajax GET?
Whenever I use this though, I get an error: net::ERR_NAME_NOT_RESOLVED. I was wondering how would...
- 5net…ERR_NAME_NOT_RESOLVED打不开网页出现这个是 ...
当电脑出现“ERR_NAME_NOT_RESOLVED错误”意味着无法解析网站名称。这是在警告要访问的网站不可用。DNS 代表域名系统,负责解析域名。