Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
[Fixed] “Temporary failure in name resolution” Issue

How To Resolve Temporary failure in name resolution Issue

Posted on August 2, 2022August 3, 2022 By admin No Comments on How To Resolve Temporary failure in name resolution Issue

How To Resolve Temporary failure in name resolution issue

Are you having an issue or getting the error message ‘temporary failure in name resolution’ on your terminal while trying to ping a website or while trying to update a system or apps in Linux then you are at the right place as we will show you the solution for this error.

Resolve Temporary failure in name resolution issue

Sometimes you might come across this error message or issue like:

ping itsubuntu.com
ping: itsubuntu.com: Temporary failure in name resolution

From the above error message, it is clear that Linux is unable to perform the DNS resolution or the website that you are trying to ping is having an issue while trying to resolve its IP or DNS. Your DNS server cannot resolve the domain name.

There can be multiple reasons for these issues and they can be the wrongly configured firewall rules in your Linux or issue with resolv.conf file.

Let’s start with the Firewall setting of your Linux.

Firewall Restriction For “Temporary failure in name resolution” Issue

Check your firewall and make sure that port 53 and Port 43 are open and are listening. Port 53 is used for DNS – Domain Name Resolution and port 43 is used for whois lookup. If ports 53 and 43 is not open then run the following command to open it:

READ More Relevant Stuff:  Create A New Sudo-Enabled User On Ubuntu 20.04

Run the following commands to open ports 53 & 43 on the UFW firewall on Ubuntu and its derivatives.

sudo ufw allow 43/tcp
sudo ufw allow 53/tcp
sudo ufw reload

Run the following commands to open ports 53 & 43 on the UFW firewall on Redhat based systems:

sudo firewall-cmd --add-port=43/tcp --permanent
sudo firewall-cmd --add-port=53/tcp --permanent
sudo firewall-cmd --reload

 

Now if there is no issue with the Firewall setting then let’s check the configuration of resolv.conf file in Linux.

Fix resolv.conf File To Solve “Temporary failure in name resolution” Issue

Append the Google public DNS server as shown below to the resolv.conf file and save the changes and restart systemd-resolved service/

nameserver 8.8.8.8

Restart systemd-resolved service

sudo systemctl restart systemd-resolved.service

It’s also prudent to check the status of the resolver and ensure that it is active and running as expected:

sudo systemctl status systemd-resolved.service

Now, run the ping command and hopefully there won’t be any issue

ping itsubuntu.com
How To Ubuntu

Post navigation

Previous Post: Linux Kernel 5.19 Officially Released
Next Post: Fix “system has not been booted with systemd as init system (pid 1). can’t operate” Error

Related Posts

Configure CTRL+ALT+DEL As Task Manager In Ubuntu 20.04/18.04 Configure CTRL+ALT+DEL As Task Manager In Ubuntu 20.04/18.04 How To Ubuntu
How To Install Remmina On Ubuntu 22.04 LTS Jammy JellyFish How To Install Remmina On Ubuntu 22.04 LTS Jammy JellyFish How To Ubuntu
Basic Cat Command Examples In Linux 15 Basic Cat Command Examples In Linux How To Ubuntu
Ubuntu 20.10 Groovy Gorilla Release Schedule Ubuntu 20.10 Groovy Gorilla Daily Builds Now Available For Download How To Ubuntu
How To Upgrade To Xfce 4.18 on Ubuntu How To Upgrade To Xfce 4.18 on Ubuntu How To Ubuntu
Bug Bounty Guide For Beginner | Bug Bounty Tutorials 2022 Bug Bounty Guide For Beginner | Bug Bounty Tutorials 2022 How To Ubuntu

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Sr. Demand Writer

    • Costa Mesa, CA
    • The Law Offices of Daniel Kim
    • Full Time
  • Writer, PR experience

    • New York, NY
    • Rubenstein Public Relations
    • Full Time
  • Senior Data Scientist, Causal Inference (Hybrid)

    • San Francisco, CA (Remote)
    • Homeward
    • Full Time
  • Customs Brokerage Entry Writer

    • Houston, TX
    • Total Quality Logistics
    • Full Time
  • Technical Writer

    • Foster, CA
    • The Fountain Group
    • Full Time
  • Senior Technical Writer

    • Northford, CT
    • LanceSoft, Inc.
    • Full Time
  • User Experience Writer

    • Washington DC
    • 24 Seven Talent
    • Full Time
  • Grant Writer (Part-Time)

    • Arvada, CO
    • J. Kent Staffing
    • Part Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme