Hardware: VPS bought online (Hetzner)
YunoHost version: 11.0.11
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: Edited static IP configuration according to this.
Since some time ago our server has been periodically unable to solve DNS, only getting back to normal after reboot. This happened in cycles of around 24 h but no regularly. The logs did not show any apparent issue but the server was unable to ping any domain (
ping: google.com: Temporary failure in name resolution).
Given that, I contacted the provider to ask if they could provide some hints on why this was happening and they suggested to configure
ifup for static IP according to this document. This did not really help. The DNS nameserver is still failing periodically. When failing, systemd-resolved shows the following output:
# journalctl -u systemd-resolved -f Jan 26 06:25:11 apps.domain.tld systemd-resolved: Failed to emit notification about changed property CurrentDNSServer: Transport endpoint is not connected Jan 26 06:25:11 apps.domain.tld systemd: Stopping Network Name Resolution... Jan 26 06:25:11 apps.domain.tld systemd: systemd-resolved.service: Succeeded. Jan 26 06:25:11 apps.domain.tld systemd: Stopped Network Name Resolution. # systemd-resolve --status Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. resolvectl status Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.
When working fine, the output shows:
# resolvectl status Global Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported resolv.conf mode: foreign Current DNS Server: 127.0.0.1 DNS Servers: 127.0.0.1 Link 2 (eth0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
but sometimes the DNS server is actually the one provided in the Hetzner documentation.
What is the recommended configuration for such a VPS? Are the changes recommended by the VPS provider suitable for yunohost? Any hint is really appreciated.