Results 1 to 2 of 2

Thread: Temporary failure in name resolution

  1. #1
    Join Date
    2019-Dec
    Posts
    5

    Temporary failure in name resolution

    Each time I reboot kali I am no longer able to ping websites by URL (Pinging to the IP still works)

    I get a " Temporary failure in name resolution" error. Of course, this also prevents any ability to install software from github etc.

    I have looked all over and was told to edit the resolv.conf file.

    No solution I have tried has been permanent.

    Can anyone help with a permanent fix?

    Thanks a lot.

    Emile

  2. #2
    Join Date
    2018-Sep
    Posts
    1
    I had this same issue, don't know how or why it got fixed but I made a script that I ran when it happened.

    fixresolv.sh

    #!/bin/bash

    # If /run/resolvconf directory doesn't exit, create it
    if [ ! -d "/run/resolvconf" ]; then
    mkdir /run/resolvconf
    fi

    #cp /etc/resolv.conf.JTLKRZ /run/resolvconf/resolv.conf

    cat << EOF > /run/resolvconf/resolv.conf
    search lan
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    EOF

    Hope this helps, even if it is just temporary

Similar Threads

  1. Temporary failure in name resolution
    By eas in forum TroubleShooting Archive
    Replies: 8
    Last Post: 2023-04-10, 11:57
  2. Temporary failure in name resolution
    By rishav1995 in forum NetHunter General Questions
    Replies: 0
    Last Post: 2023-02-22, 18:40
  3. Temporary failure naming resolution
    By shadex in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-07-30, 02:55
  4. Temporary failure resolving 'kali.download'
    By Omni in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2022-02-06, 05:33
  5. Temporary failure resolving 'http.kali.org'
    By jaadugar in forum Installing Archive
    Replies: 0
    Last Post: 2022-01-01, 15:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •