DNS in OMV 5 funktioniert nicht - DNS in OMV 5 does not work

  • Hallo alle,

    seit einigen Wochen habe ich das Problem, dass mein OMV 5.3.2-1 (Usul) keinen Zugriff auf das Internet hat.


    Mit omv-firstaid wurde die IP-Adresse des DNS korrekt konfiguriert, trotzdem bekommt der OMV keinen Internetzugriff, was sich auch darin äußert, dass das System nicht aktualisiert werden kann.


    Ich habe hier drei weitere OMV 5-Systeme, die allesamt Zugriff auf das Internet haben, es sind allerdings Bananapi. Die "kaputte" Maschine ist ein x86-System.

    Was kann man tun? Ich bitte um Hilfe.


    Viele freundliche Grüße.


    Hi, everybody,

    since some weeks I have the problem that my OMV 5.3.2-1 (Usul) has no access to the internet.


    With omv-firstaid the IP address of the DNS has been configured correctly, but still the OMV does not get access to the internet, which is also reflected in the fact that the system cannot be updated.

    I have three more OMV 5 systems here, all of which have access to the Internet, but they are Bananapi. The "broken" machine is an x86 system.


    What can be done? I ask for help.


    Many friendly greetings.


    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

    2 Mal editiert, zuletzt von omavoss ()

  • Hallo,

    folgender Workaround war erfolgreich:

    Der lokale DNS wurde in die /etc/resolvconf/resolv.conf.d/base eingetragen:

    nameserver 192.168.115.98


    Vorläufig funktioniert es.


    Code
    root@CSL-OMV:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.115.98
    root@CSL-OMV:~#



    Danke bis hierher für euer Nachdenken.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • Nun, es war doch noch nicht alles gut.

    Ich bekam einen "502 bad gateway nginx"-Fehler.


    Ich musste noch hinterherschieben:


    Same issue here


    omv-confdbadm migrate conf 0.5.8

    und

    omv-salt stage run deploy


    Jetzt scheint der OMV zu funktionieren.

    2 BananaPi, 1 OrangePiPC+, 1 OrangePiPC with OMV 6.0.x

  • omavoss

    Hat das Label gelöst hinzugefügt.
  • I do have the same problem:


    Code
    W: Fehlschlag beim Holen von http://ftp.de.debian.org/debian/dists/buster/InRelease »ftp.de.debian.org« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von http://security.debian.org/dists/buster/updates/InRelease »security.debian.org« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von http://ftp.de.debian.org/debian/dists/buster-updates/InRelease »ftp.de.debian.org« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von https://openmediavault-plugin-developers.github.io/packages/debian/dists/usul/InRelease »openmediavault-plugin-developers.github.io« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von https://openmediavault-plugin-developers.github.io/packages/debian/dists/usul-extras/InRelease »openmediavault-plugin-developers.github.io« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von https://download.docker.com/linux/debian/dists/buster/InRelease »download.docker.com« konnte nicht aufgelöst werden.
    W: Fehlschlag beim Holen von http://linux.teamviewer.com/deb/dists/stable/InRelease »linux.teamviewer.com« konnte nicht aufgelöst werden.

    Only with the aforementioned workaraound I get DNS. But how can this be solved properly?


    My /etc/resolv.conf has no entries at all, although with omv-firstaid is set DNS manually (in GUI - "Network" Tab it is shown correctly by the way).

  • Here are the results of the requested commands:

    Code
    cat /etc/resolv.conf
    
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    Code
    ls -al /etc/resolv.conf
    
    lrwxrwxrwx 1 root root 31 Mai 27  2018 /etc/resolv.conf -> /etc/resolvconf/run/resolv.conf
    • Offizieller Beitrag

    Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d └─resolvconf.conf Active: inactive (dead)


    systemctl enable systemd-resolved.service

    systemctl start systemd-resolved.service


    should fix it, if there are no errors. Post the output of these commands.

  • Having noticed the service seems to be not running, i found a post by you, macom (RE: DNS issues after upgrading from OMV 4 to OMV 5) suggesting enterning:


    sudo systemctl enable systemd-resolved

    sudo systemctl start systemd-resolved


    Now DNS works!! Now:

    Code
     cat /etc/resolv.conf
    
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.0.53

    I am wondering why this nameserver as I entered something else in the GUI, but at least it is working now, thank you so much!!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!