Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

askthedev.com Logo askthedev.com Logo
Sign InSign Up

askthedev.com

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Ubuntu
  • Python
  • JavaScript
  • Linux
  • Git
  • Windows
  • HTML
  • SQL
  • AWS
  • Docker
  • Kubernetes
Home/ Questions/Q 2942
Next
In Process

askthedev.com Latest Questions

Asked: September 24, 20242024-09-24T11:55:10+05:30 2024-09-24T11:55:10+05:30In: Ubuntu

I’m experiencing an issue with Ubuntu 20.04 where my wired internet connection is showing a temporary failure in name resolution. Can anyone provide guidance on how to resolve this problem?

anonymous user

I’ve been diving into the world of Ubuntu 20.04, and I’m running into a pretty frustrating issue with my wired internet connection. Everything was working fine until just a few days ago when I suddenly started getting this message about a temporary failure in name resolution. It’s like my internet connection has decided to become a rebellious teenager overnight!

At first, I thought it was just a one-off thing, so I restarted my router, checked the cables, and even rebooted my laptop. But nope, still no luck. I can connect to the network just fine—it’s showing I’m connected, but as soon as I try to access any website, it just won’t resolve the domain names. I feel like I’m staring at a blank page when I should be diving into the depths of the internet.

I’ve poked around some forums but it feels like there are a million potential solutions out there, and I’m not exactly a networking expert. I’ve tried flushing my DNS cache using the `sudo systemd-resolve –flush-caches` command. I reset the network settings and even played with the `/etc/resolv.conf` file, but nothing seems to stick.

I suspect it might be something to do with the DNS settings since everything else appears to work. I tried switching to Google’s DNS servers (8.8.8.8 and 8.8.4.4), but I’m still getting this irritating temporary failure message.

It’s worth mentioning that other devices on the same network are working fine—like my phone and a Windows laptop, so I’m leaning toward something quirky with my Ubuntu setup rather than a broader network issue. I’ve also checked for updates since I’ve heard that sometimes bugs in older versions can mess things up, but I’m up-to-date!

Has anyone else faced this kind of problem? Seriously, any input or trick you can share would be a lifesaver right now. I’m starting to think maybe I’m just not meant to have a smooth online experience! Thanks in advance for any help you can throw my way.

  • 0
  • 0
  • 2 2 Answers
  • 0 Followers
  • 0
Share
  • Facebook

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Google
    or use

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Google

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. anonymous user
      2024-09-24T11:55:11+05:30Added an answer on September 24, 2024 at 11:55 am


      The issue you’re facing with the “temporary failure in name resolution” error on Ubuntu 20.04 suggests a DNS-related problem, especially since other devices on your network are connecting without any issues. Since you’ve already tried flushing the DNS cache and modifying the `/etc/resolv.conf` file, let’s ensure that your DNS settings are properly configured. First, try checking your network settings to confirm that your Ethernet connection is set to use the correct DNS servers. You can do this by accessing the network settings from the system tray or by using the command line. Add Google’s DNS servers directly to `/etc/resolv.conf` by ensuring the file includes the lines: nameserver 8.8.8.8 and nameserver 8.8.4.4. Just remember that modifications to this file may not persist after a reboot unless you configure your network manager settings accordingly.

      If that doesn’t resolve the issue, I recommend looking into whether the NetworkManager service is properly managing your DNS settings. You can restart it with sudo systemctl restart NetworkManager. Additionally, make sure that the `systemd-resolved` service is enabled and running. Use sudo systemctl status systemd-resolved to check its status and sudo systemctl start systemd-resolved to start it if it’s not running. In case it still doesn’t work, consider temporarily disabling systemd’s DNS management by stopping the `systemd-resolved` service and manually setting your DNS servers in the NetworkManager interface. Lastly, if you’re using a VPN or firewall, examine their settings as they might be interfering with your DNS queries. These steps should help you regain access to the vast seas of the internet!


        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. anonymous user
      2024-09-24T11:55:11+05:30Added an answer on September 24, 2024 at 11:55 am

      Sounds like you’re having a rough time with your internet connection on Ubuntu 20.04! That can be super frustrating, especially when everything was working fine before. Here are a few things you might want to check:

      • Double-check DNS Settings: Since you mentioned trying Google’s DNS, make sure you added them correctly. You can do this by editing your /etc/resolv.conf file. You can add the following lines:
      • nameserver 8.8.8.8
        nameserver 8.8.4.4
      • Restart the Network Manager: Sometimes restarting Network Manager can help clear up these issues. You can do that by running:
      • sudo systemctl restart NetworkManager
      • Check Your Firewall: Maybe something in your firewall settings is blocking your DNS requests? You could try temporarily disabling the firewall to see if it makes a difference. You can disable it with:
      • sudo ufw disable
      • Use a Different Connection Method: If you’re using a wired connection, see if you can connect via Wi-Fi or vice versa. This might help you isolate the issue further.
      • Look for Driver Issues: Sometimes the drivers for your network hardware can act funky. You might want to check if you’re using the latest drivers for your network card.
      • Consider the MTU Setting: There are times when setting the MTU (Maximum Transmission Unit) to a lower value can help with connectivity issues. You can change it with:
      • sudo ifconfig your_interface_name mtu 1400

        (Replace your_interface_name with the name of your network interface, like eth0 or enp3s0).

      Given that it’s only happening on Ubuntu and not on your other devices, it does seem like a quirky setup issue. Hope one of these suggestions helps get you back online! Good luck!

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this issue?
    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?
    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. Has anyone experienced this issue ...
    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?
    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else encountered this problem, and what ...

    Sidebar

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this ...

    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?

    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. ...

    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?

    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else ...

    • How can I configure a server running Ubuntu to bind specific IP addresses to two different network interfaces? I'm looking for guidance on how to ...

    • Is it possible to configure automatic login on Ubuntu MATE 24.04?

    • After upgrading from Ubuntu Studio 22.04 to 24.04.1, I lost all audio functionality. What steps can I take to diagnose and resolve this issue?

    • I am experiencing issues booting Ubuntu 22.04 LTS from a live USB. Despite following the usual procedures, the system fails to start. What steps can ...

    • I'm encountering a problem with my Expandrive key while trying to update my Ubuntu system. Has anyone else faced similar issues, and if so, what ...

    Recent Answers

    1. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    2. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    3. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    4. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    5. anonymous user on How can I update the server about my hotbar changes in a FabricMC mod?
    • Home
    • Learn Something
    • Ask a Question
    • Answer Unanswered Questions
    • Privacy Policy
    • Terms & Conditions

    © askthedev ❤️ All Rights Reserved

    Explore

    • Ubuntu
    • Python
    • JavaScript
    • Linux
    • Git
    • Windows
    • HTML
    • SQL
    • AWS
    • Docker
    • Kubernetes

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.