Results 1 to 9 of 9

Thread: Temporary failure in name resolution

  1. #1
    Join Date
    2022-Mar
    Posts
    1

    Temporary failure in name resolution

    ※This message was created in google translator※

    Hello everybody.
    Hello, I have an internet connection problem.

    and it's been more than 24 hours that I've been here without sleeping and straight researching several ways on the internet but unfortunately I can't solve it, finally I came to the forum to ask because I can't stand it anymore.

    I've tried thousands of ways and I can't solve it.

    Let's go.

    I just can't connect to the internet

    I'll put the results that you might want to know and if you need anything else, you can ask me and I'll add it

    I'll post in photos, because I only have a cell phone connected to the internet

    Computer info:
    Toshiba dynabook (notepc)

    How it was installed:
    1. Download Kali Linux .iso
    2. Use Refus to usb boot
    3. Boot change to BIOS
    4. Run Graphical Install
    Observation: I did not use wired internet to install, and it also seems that the NIC of the computer has not been attached. Well as I'm using a wireless network device, I thought that after searching I would be able to find this NIC. If this is one of the reasons for the problem that is happening now, please tell me, if possible, with a way on how I could find the driver for my own NIC of the notepc
    .
    Well back to the subject.

    5. Kali Linux Installed.
    Soon after, I searched for the network to connect to Wi-Fi (I think this step is common)

    After connecting WiFi

    open the website on the search page
    - I put google.com

    ※To know if I'm connected and start giving the first update commands, because I will use get protocol.※


    ==================================
    ### this is where it all started ###

    the following message appeared:

    Hmm. We're having trouble finding that site
    ==================================

    after this message appeared, I clearly found something wrong and even then I tried to put the command:

    ~ sudo apt-get update

    result: Temporary failure solving 'http.kali.org' after that I researched all kinds of websites, blogs, videos and I couldn't solve the problem, I even used the dorks command to try to fix it and I couldn't please help me.

    details below.

    ~ lsusb #to see if it is recognizing the device
    TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]

    from the research I did, it just gives me a conclusion that it's not resolving the names (DNS) so I went to research about it, and find out that:

    ~ cat /etc/resolv.conf
    cat: /etc/resolv.conf: No such file or directory

    ~ ls /etc/res #tab, tab, tab
    Completing file
    resolv.conf@ responder/

    well at this point I've found something wrong, first I've never seen a folder that has the @ at the end and also counting that the name is in red.

    ~ ll /etc |grep resolv
    resolv.conf → ../run/systemd/resolve/stub-resolv.conf

    ~ cat ../run/systemd/resolve/stub-resolve.conf
    ../run/systemd/resolve/stub-resolve.conf: No such file or directory

    ~ cd ../run/systemd/resolve/
    no such file or directory: ../run/systemd/resolve/

    I searched a lot but didn't find how I can recreate the folder in kali linux

    ~ ipconfig
    Appeared wlan0 (normal)

    ~ nmcli
    wlan0: connected to [wifi name] (is connected perfectly)

    ~ nslookup www.google.com
    ;; communications error to ::1#53: connection refused

    ~ nslookup www.google.com 8.8.8.8 (OK)
    Server: 8.8.8.8
    Address: 8.8.8.8#53
    .
    .
    .

    ~ nmcli device status
    DEVICE TYPE STATE CONNECTION
    wlan0 wifi connected [wifi name]
    eth0 ethernet unavailable ?
    lo loopback unmanaged ?

    ~ ip addr show
    ?
    wlan0: ?. state UP group default
    ?

    ~ ls /etc/systemd/network/
    73-usb-net-by-mac.link
    99-default.link

    ~ echo ?8.8.8.8? > /etc/resolv.conf
    no much such file or directory: /etc/resolv.conf

    good already searched and searched and formatted, nothing more. Please, can anyone help me ?

  2. #2
    Join Date
    2022-Apr
    Posts
    1
    it's been more than 24 hours that I've been here without sleeping and straight researching several ways on the internet but unfortunately I can't solve it
    I use tiktok indir free

  3. #3
    Join Date
    2022-May
    Posts
    1
    Try this:

    sudo su
    rm /etc/resolv.conf
    echo nameserver #DNS-SERVER-IP# > /etc/resolv.conf


    In my case the problem was resolved.

  4. #4
    Join Date
    2022-May
    Posts
    1
    Quote Originally Posted by danielsv View Post
    it's been more than 24 hours that I've been here without sleeping and straight researching several ways on the internet but unfortunately I can't solve it
    I had the same trouble with a new bare metal install. Found a solution in the net.


    Check if your resolver service is running "sudo systemctl status systemd-resolved.service" .

    Found out that mine was disabled.

    Just restart your resolver service and everything will be good to go. "sudo systemctl restart systemd-resolved.service"

    Hope this helps you as it did me.

  5. #5
    Join Date
    2022-Jun
    Posts
    2
    I had this issue as well. Why didn't Kali fix this? It's been like forever.. lol.

  6. #6
    Join Date
    2022-Jul
    Posts
    1

    Lightbulb Solved

    Quote Originally Posted by noelb View Post
    I had the same trouble with a new bare metal install. Found a solution in the net.


    Check if your resolver service is running "sudo systemctl status systemd-resolved.service" .

    Found out that mine was disabled.

    Just restart your resolver service and everything will be good to go. "sudo systemctl restart systemd-resolved.service"

    Hope this helps you as it did me.
    Thank you noelb.. It solved the issue.

  7. #7
    Join Date
    2022-Nov
    Posts
    1

    Validate your Connections using the Forum attached

    https://forums.linuxmint.com/viewtopic.php?t=3641

    Quote Originally Posted by eas View Post
    ※This message was created in google translator※

    Hello everybody.
    Hello, I have an internet connection problem.

    and it's been more than 24 hours that I've been here without sleeping and straight researching several ways on the internet but unfortunately I can't solve it, finally I came to the forum to ask because I can't stand it anymore.

    I've tried thousands of ways and I can't solve it.

    Let's go.

    I just can't connect to the internet

    I'll put the results that you might want to know and if you need anything else, you can ask me and I'll add it

    I'll post in photos, because I only have a cell phone connected to the internet

    Computer info:
    Toshiba dynabook (notepc)

    How it was installed:
    1. Download Kali Linux .iso
    2. Use Refus to usb boot
    3. Boot change to BIOS
    4. Run Graphical Install
    Observation: I did not use wired internet to install, and it also seems that the NIC of the computer has not been attached. Well as I'm using a wireless network device, I thought that after searching I would be able to find this NIC. If this is one of the reasons for the problem that is happening now, please tell me, if possible, with a way on how I could find the driver for my own NIC of the notepc
    .
    Well back to the subject.

    5. Kali Linux Installed.
    Soon after, I searched for the network to connect to Wi-Fi (I think this step is common)

    After connecting WiFi

    open the website on the search page
    - I put google.com

    ※To know if I'm connected and start giving the first update commands, because I will use get protocol.※


    ==================================
    ### this is where it all started ###

    the following message appeared:

    Hmm. We're having trouble finding that site
    ==================================

    after this message appeared, I clearly found something wrong and even then I tried to put the command:

    ~ sudo apt-get update

    result: Temporary failure solving 'http.kali.org' after that I researched all kinds of websites, blogs, videos and I couldn't solve the problem, I even used the dorks command to try to fix it and I couldn't please help me.

    details below.

    ~ lsusb #to see if it is recognizing the device
    TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]

    from the research I did, it just gives me a conclusion that it's not resolving the names (DNS) so I went to research about it, and find out that:

    ~ cat /etc/resolv.conf
    cat: /etc/resolv.conf: No such file or directory

    ~ ls /etc/res #tab, tab, tab
    Completing file
    resolv.conf@ responder/

    well at this point I've found something wrong, first I've never seen a folder that has the @ at the end and also counting that the name is in red.

    ~ ll /etc |grep resolv
    resolv.conf → ../run/systemd/resolve/stub-resolv.conf

    ~ cat ../run/systemd/resolve/stub-resolve.conf
    ../run/systemd/resolve/stub-resolve.conf: No such file or directory

    ~ cd ../run/systemd/resolve/
    no such file or directory: ../run/systemd/resolve/

    I searched a lot but didn't find how I can recreate the folder in kali linux

    ~ ipconfig
    Appeared wlan0 (normal)

    ~ nmcli
    wlan0: connected to [wifi name] (is connected perfectly)

    ~ nslookup www.google.com
    ;; communications error to ::1#53: connection refused

    ~ nslookup www.google.com 8.8.8.8 (OK)
    Server: 8.8.8.8
    Address: 8.8.8.8#53
    .
    .
    .

    ~ nmcli device status
    DEVICE TYPE STATE CONNECTION
    wlan0 wifi connected [wifi name]
    eth0 ethernet unavailable ?
    lo loopback unmanaged ?

    ~ ip addr show
    ?
    wlan0: ?. state UP group default
    ?

    ~ ls /etc/systemd/network/
    73-usb-net-by-mac.link
    99-default.link

    ~ echo ?8.8.8.8? > /etc/resolv.conf
    no much such file or directory: /etc/resolv.conf

    good already searched and searched and formatted, nothing more. Please, can anyone help me ?

  8. #8
    Join Date
    2022-Dec
    Posts
    1
    I had this issue as well.

    vidmate.app stream videos
    Last edited by englandthii; 2023-01-17 at 14:46.

  9. #9
    Join Date
    2023-Apr
    Posts
    1
    Quote Originally Posted by eas View Post
    ※This message was created in google translator※

    Hello everybody.
    Hello, I have an internet connection problem.

    and it's been more than 24 hours that I've been here without sleeping and straight researching several ways on the internet but unfortunately I can't solve it, finally I came to the forum to ask because I can't stand it anymore.

    I've tried thousands of ways and I can't solve it.

    Let's go.

    I just can't connect to the internet

    I'll put the results that you might want to know and if you need anything else, you can ask me and I'll add it

    I'll post in photos, because I only have a cell phone connected to the internet

    Computer info:
    Toshiba dynabook (notepc)

    How it was installed:
    1. Download Kali Linux .iso
    2. Use Refus to usb boot
    3. Boot change to BIOS
    4. Run Graphical Install
    Observation: I did not use wired internet to install, and it also seems that the NIC of the computer has not been attached. Well as I'm using a wireless network device, I thought that after searching I would be able to find this NIC. If this is one of the reasons for the problem that is happening now, please tell me, if possible, with a way on how I could find the driver for my own NIC of the notepc
    .
    Well back to the subject.

    5. Kali Linux Installed.
    Soon after, I searched for the network to connect to Wi-Fi (I think this step is common)

    After connecting WiFi

    open the website on the search page
    - I put google.com

    ※To know if I'm connected and start giving the first update commands, because I will use get protocol.※


    ==================================
    ### this is where it all started ###

    the following message appeared:

    Hmm. We're having trouble finding that site
    ==================================

    after this message appeared, I clearly found something wrong and even then I tried to put the command:

    ~ sudo apt-get update

    result: Temporary failure solving 'http.kali.org' after that I researched all kinds of websites, blogs, videos and I couldn't solve the problem, I even used the dorks command to try to fix it and I couldn't please help me.

    details below.

    ~ lsusb #to see if it is recognizing the device
    TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]

    from the research I did, it just gives me a conclusion that it's not resolving the names (DNS) so I went to research about it, and find out that:

    ~ cat /etc/resolv.conf
    cat: /etc/resolv.conf: No such file or directory

    ~ ls /etc/res #tab, tab, tab
    Completing file
    resolv.conf@ responder/

    well at this point I've found something wrong, first I've never seen a folder that has the @ at the end and also counting that the name is in red.

    ~ ll /etc |grep resolv
    resolv.conf → ../run/systemd/resolve/stub-resolv.conf

    ~ cat ../run/systemd/resolve/stub-resolve.conf
    ../run/systemd/resolve/stub-resolve.conf: No such file or directory

    ~ cd ../run/systemd/resolve/
    no such file or directory: ../run/systemd/resolve/

    I searched a lot but didn't find how I can recreate the folder in kali linux

    ~ ipconfig
    Appeared wlan0 (normal)

    ~ nmcli
    wlan0: connected to [wifi name] (is connected perfectly)

    ~ nslookup www.google.com
    ;; communications error to ::1#53: connection refused

    ~ nslookup www.google.com 8.8.8.8 (OK)
    Server: 8.8.8.8
    Address: 8.8.8.8#53
    .
    .
    .

    ~ nmcli device status
    DEVICE TYPE STATE CONNECTION
    wlan0 wifi connected [wifi name]
    eth0 ethernet unavailable ?
    lo loopback unmanaged ?

    ~ ip addr show
    ?
    wlan0: ?. state UP group default
    ?

    ~ ls /etc/systemd/network/
    73-usb-net-by-mac.link
    99-default.link

    ~ echo ?8.8.8.8? > /etc/resolv.conf
    no much such file or directory: /etc/resolv.conf

    good already searched and searched and formatted, nothing more. Please, can anyone help me ?
    -----------------------------------------------------------------------------------------------
    I had the same issue, you can solve it by two means, either change the resolve.conf by adding nameserver 8.8.8.8 on it and use the command systemctl restart systemd-resolve.conf or enable it if its not enabled, if you get a none existent service go into /etc/network/if-up-d, open resolve file, you will find a certain part of the script where there's a "DNS=DNS", change this to "DNS=8.8.8.8" and its done, from now on even if you reboot the system it will give 8.8.8.8 as DNS. Hope it helps

Similar Threads

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

Posting Permissions

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