Internet partially available : DNS issues ?

  • Hello,

    Since a few days I have been having weird internet connections issues, where some apps/service do not seem to be able to connect to the internet. The problem seems to be related to DNS (could be wrong though).

    The symptoms

    I have tried to address each of these issues individually but without success:

    • Cannot authenticate remotely with my plex server with a new device (but streaming remotely with other devices works fine)
    • Plex is not able to find matches for new movies / find metadata anymore (but for instance Radarr/Sonarr are able to find new movies)
    • Trying to pull images from docker result in the following error Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:xxxxx>[::1]:53: read: connection refused
    • apt-get install commands results in the following (for instance trying to install snap: Err:1 http://deb.debian.org/debian buster/main amd64 snap amd64 2013-11-29-9 Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/s/snap/snap_2013-11-29-9_amd64.deb Could not resolve 'deb.debian.org'

    What I have tried

    I have tried to add nameserver 8.8.8.8 nameserver 8.8.4.4 to /etc/resolv.conf, followed by systemctl daemon-reload and systemctl restart docker but not luck there.

    I of course tried to reboot, no luck either (my /etc/resolv.conf got restored to an empty file, apart from comments)

    Possible lead

    A few months ago I remember trying to find out why I could not use the port 53 for a docker container and I could not not identify which process was already using it. I did try a few things involving dnsmasq if I remember correctly. This could be related (but it was working fine for a while, so not directly related).


    I am running OMV 5.5.


    Any inputs appreciated, thanks.

  • votdev

    Added the Label OMV 5.x
    • Official Post

    Post the output of these commands. Run one at a time and put the output in a code box </>


    Code
    ping -c 4 8.8.8.8
    ping -c 4 google.com
    cat /etc/resolv.conf
    ls -al /etc/resolv.conf
    systemctl status systemd-resolved.service

    Please note that OMV5 is end of life. You should upgrade to OMV6 which will also bring you from Debian 10 to Debian 11.

  • Thank you for taking the time to answer, I appreciate it.

    The output of the commands is shown below:

    I am planning on upgrading to OMV 6 as soon as time allows.

    Thanks

    • Official Post

    Have you configured a static IP? If so you have two possibilities


    a// change to DHCP

    b// add a DNS server in the GUI of OMV in the network settings (e.g. IP of your router and a publik one like 8.8.8.8)


    If it does not work, post a screenshot of your network settings dialog.

  • That did the trick ! I had indeed configured a static IP. I am bit ashamed not to have thought about this fix, though I am puzzled as to why the DNS servers somehow disappeared from my network configuration.


    Many thanks for your help !

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!