Error with updates
-
- OMV 5.x
- whitetiger
-
-
Your system is having a DNS issue.
-
Your system is having a DNS issue.
In that office there are 5 PCs that connect and surf the internet without problems.
On OMV there is a static address with the correct gateway (the same of PCs) and 8.8.8.8 as DNS.
If instead of 8.8.8.8 I put the Gateway of the PC I always have the same error.
-
I found the problem.
There is an old DNS address in resolv.conf.
I am surprised, however, that changing the settings from the OMV panel has not been updated.
-
-
Please post the output of
ls -al /etc/resolv.conf
and
systemctl status systemd-resolved.service
-
Output of
is:
Output of
is:
Code
Alles anzeigen● systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/systemd-resolved.service.d └─resolvconf.conf Active: active (running) since Sun 2020-12-06 16:42:08 CET; 6min ago Docs: man:systemd-resolved.service(8) https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients Main PID: 7601 (systemd-resolve) Status: "Processing requests..." Tasks: 1 (limit: 4915) Memory: 2.3M CGroup: /system.slice/systemd-resolved.service └─7601 /lib/systemd/systemd-resolved dic 06 16:42:08 openmediavault.local systemd[1]: Starting Network Name Resolution... dic 06 16:42:08 openmediavault.local systemd-resolved[7601]: Positive Trust Anchors: dic 06 16:42:08 openmediavault.local systemd-resolved[7601]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5 dic 06 16:42:08 openmediavault.local systemd-resolved[7601]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d dic 06 16:42:08 openmediavault.local systemd-resolved[7601]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.a dic 06 16:42:08 openmediavault.local systemd-resolved[7601]: Using system hostname 'openmediavault.local'. dic 06 16:42:08 openmediavault.local systemd[1]: Started Network Name Resolution.
-
Mhm, looks ok to me.
So when you add the DNS server in the GUI of OMV or using omv-firstaid you get an error?
-
Mhm, looks ok to me.
So when you add the DNS server in the GUI of OMV or using omv-firstaid you get an error?
I put DNS on resolve.conf file directly, not by GUI.
I try insert DNS by GUI now. -
-
-
nothing, keep it empty
-
nothing, keep it empty
Thanks!
-
If you put entries in /etc/resolv.conf they will be likely overwritten on each restart (especially since resolv.conf ist now a symlink and handled by systemd). The file content is handled by various daemons. You can add your nameserver(s) to the appropriate interface in /etc/network/interfaces to make them permanent. Or if you use DHCP the interface will likely get the nameservers from the gateway. Also the nameservers it gets can be overwritten by the DHCP client configuration file. There are various other ways as describes in the Debian and Ubuntu Wiki.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!