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:  Best GNOME Shell Extensions For Ubuntu 20.04 LTS/ 22.04 LTS

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

How To Use SCP Command To Securely Transfer Files How To Use SCP Command To Securely Transfer Files [2023] How To Ubuntu
How To Install Samba on Ubuntu 20.04 LTS How To Ubuntu
How To Install VS Code Editor On Ubuntu 22.04 LTS [Multiple Methods] How To Install VS Code Editor On Ubuntu 22.04 LTS [Multiple Methods] How To Ubuntu
How To Enable RPM Fusion Repository In Fedora, RHEL, Rocky Linux, AlmaLinux How To Enable RPM Fusion Repository In Fedora, RHEL, Rocky Linux, AlmaLinux How To Ubuntu
Linux strong password Multiple Way To Generate a Strong Pre-Shared Key (PSK) in Linux How To Ubuntu
How To Add SSH Public Key To Server How To Add SSH Public Key To Server 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]
  • Technical Writer

    • Foster, CA
    • Manpower Engineering
    • Temporary
  • Business & Creative Writer – Contract, Project-Based

    • Wichita, KS
    • The Exceptional Plan
    • Full Time
  • Azure Cloud Engineer

    • Dallas, TX
    • The Intersect Group
    • Full Time
  • Technical Writer

    • Atlanta, GA
    • Robert Half
    • Full Time
  • HR/Office Staff

    • Oakland, CA
    • Studio T-SQ., Inc.
    • Full Time
  • Azure DBA

    • Washington DC
    • ADPMN Inc
    • Full Time
  • Senior Data Scientist I

    • New York, IA (Remote)
    • Carta
    • Full Time
  • Contract Technical Writer

    • Oak Ridge, TN
    • CPS/Comtech
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme