QNAP NAS erkennt, dass der DNS-Server Hosts nicht auflösen kann

Ich bekomme auf meinem TS-453 Pro ein Fehler-Popup mit folgender Meldung:

Das System hat festgestellt, dass Ihr DNS-Server Hosts nicht auflösen
kann und einige Anwendungen möglicherweise nicht richtig funktionieren.

Bitte gehen Sie zu „Systemsteuerung > Netzwerk > Netzwerk & Virtual
Switch > Schnittstellen“ und prüfen Sie, ob der DNS-Server und das
Standard-Gateway korrekt sind. Sie können Ihren ISP (Internet Service Provider)
für DNS-Server-Informationen kontaktieren.

Die Konfigurationseinstellungen für die Netzwerkverbindung auf dem NAS geben als Verbindungstyp DHCP und als DNS-Server-Verbindung „Automatisch“ an. Mein OPNSense Router vergibt eine IP-Adresse und zeigt die DNS-Server-Adresse als 192.168.1.1, was die Adresse des Routers ist.

Ich habe die Logs des Unbound DNS-Diensts in OPNSense überprüft, und die Einträge zu Anfragen vom NAS zeigen, dass anscheinend alles in Ordnung ist:

2026-08-14T13:06:32Informationalunbound[35157:2] info: 192.168.1.70 auth.myqnapcloud.io. A IN NOERROR 0.000000 0 234
2026-08-14T13:06:32Informationalunbound[35157:2] info: 192.168.1.70 auth.myqnapcloud.io. A IN

Von einer SSH-Session aus habe ich versucht, eine bekannte Domain (theregister.com) anzupingen, aber ich erhalte den Fehler „bad address“. Wenn ich die Datei /etc/resolve.conf überprüfe, steht dort nur der Eintrag „nameserver 127.0.1.1“ und nicht die erwartete 192.168.1.1.

Kann mir jemand erklären, warum ich diese DNS-Warnung von meinem QNAP NAS sehe?

Hast du mal eine manuelle IP-Einstellung (außerhalb des DHCP-Bereichs) zum Testen ausprobiert?

[quote=“dolbyman, post:2, topic:6670, full:true”]
Hast du zur Probe eine manuelle IP-Konfiguration (außerhalb des DHCP-Bereichs) ausprobiert?
[/quote]Noch nicht, aber ich habe das DNS manuell eingestellt:


Ich werde sehen, ob das einen Unterschied macht, aber ehrlich gesagt sollte es keinen Unterschied machen. Andere Geräte in meinem Heim-LAN funktionieren mit DNS problemlos.

Hmmmm, es sieht so aus, als könnte mein NAS nicht auf das Internet zugreifen. Gibt es in QTS ein Diagnose-Tool, mit dem man das testen kann? Ich kann von einer SSH-Sitzung auf dem NAS eine öffentliche IP-Adresse anpingen…

QuFirewall deaktiviert oder entfernt?

Ich habe QuFirewall entfernt.

Du könntest das hier ausprobieren

Ich habe das ausprobiert und eine Menge Fehler bekommen:

[John@NASI ~]$ sudo /mnt/ext/opt/netmgr/netmgr.sh reset_all_settings_to_default
Password:
None
[John@NASI ~]$ sudo /etc/init.d/network.sh reset_network_config_to_default

[16:19:57] cmd: /usr/local/bin/nacli reset_config
[16:19:58] cmd: /usr/local/bin/nacli reset_wifi_phy_status_conf
[16:19:58] cmd: /usr/local/bin/nacli reset_wired_eap_conf
[16:19:59] cmd: /usr/sbin/nmcli ddns resetcfg
[16:19:59] cmd: /usr/local/bin/nacli reset_dhcpserver_conf
[16:19:59] cmd: /usr/local/bin/nacli migrate_dhcpserver_conf
[16:19:59] cmd: /usr/local/bin/nacli reset_radvd_conf{"data":"","error":0}

[16:19:59] cmd: /usr/local/bin/nacli migrate_nat{"data":"","error":0}
{"data":"","error":0}

[16:19:59] cmd: /usr/local/bin/nacli bootup_static_route
[16:19:59] cmd: /usr/local/bin/nacli reset_vlan_driver_conf[John@NASI ~]$ sudo /                             etc/init.d/network.sh clean-restart

[16:20:17] cmd: /usr/local/sbin/qsh NetworkService.ncaas.write_back path=all
[16:20:17] cmd: /sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh
[16:20:18] ERROR: cmd(/sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh) failed, ret=                             1
[16:20:18] cmd: nmcli nmd stop_all
[16:20:23] cmd: kill 11365
[16:20:23] cmd: /sbin/daemon_mgr ifd ignore /usr/local/bin/ifd
[16:20:23] ERROR: cmd(/sbin/daemon_mgr ifd ignore /usr/local/bin/ifd) failed, re                             t=1
[16:20:23] cmd: kill 11317
[16:20:23] cmd: /usr/local/bin/nacli stop
[16:20:37] cmd: kill 11304
[16:20:37] cmd: kill 11498
[16:20:37] cmd: /usr/local/bin/nacli write_hostsmodprobe: module x_tables not fo                             und in modules.dep
modprobe: module nf_conntrack not found in modules.dep
modprobe: module nf_defrag_ipv4 not found in modules.dep
modprobe: module ip_tables not found in modules.dep
modprobe: module xt_tcpudp not found in modules.dep
modprobe: module nf_nat_ipv4 not found in modules.dep
modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
modprobe: module nf_conntrack_ipv4 not found in modules.dep
modprobe: module iptable_filter not found in modules.dep
modprobe: module iptable_mangle not found in modules.dep
RTNETLINK answers: No such file or directory
iptables: Chain already exists.
iptables: Chain already exists.

[16:20:39] cmd: /sbin/ifconfig eth0 0.0.0.0 up &
[16:20:39] cmd: /sbin/ifconfig eth1 0.0.0.0 up &
[16:20:39] cmd: /sbin/ifconfig eth2 0.0.0.0 up &
[16:20:39] cmd: /sbin/ifconfig eth3 0.0.0.0 up &
[16:20:39] cmd: /sbin/hal_event --net_scan
[16:20:40] cmd: /sbin/daemon_mgr ifd start /usr/local/bin/ifd
[16:20:40] ERROR: cmd(/sbin/daemon_mgr ifd start /usr/local/bin/ifd) failed, ret                             =1
[16:20:40] cmd: /usr/local/bin/nacli start
[16:20:45] cmd: /sbin/daemon_mgr nmd start /usr/sbin/nmd.sh
[16:20:45] ERROR: cmd(/sbin/daemon_mgr nmd start /usr/sbin/nmd.sh) failed, ret=1
[16:20:45] cmd: /usr/local/bin/sbgw
[16:20:46] cmd: /usr/local/bin/nacli do_wifi_pcie_autoconnectmodprobe: module x_                             tables not found in modules.dep
modprobe: module nf_conntrack not found in modules.dep
modprobe: module nf_defrag_ipv4 not found in modules.dep
modprobe: module ip_tables not found in modules.dep
modprobe: module xt_tcpudp not found in modules.dep
modprobe: module nf_nat_ipv4 not found in modules.dep
modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
modprobe: module nf_conntrack_ipv4 not found in modules.dep
modprobe: module iptable_filter not found in modules.dep
modprobe: module iptable_mangle not found in modules.dep
boot_setup_mangle_prerouting has been setup before.
start ip_monitor
pidfile /var/run/network/netmgr/ip_monitor.pid already exist. Daemon already running?
/bin/bash: /etc/config/nm_script/*.sh: No such file or directory

Ich bin ziemlich sicher, dass ich diese Befehle vorher schon ohne Erfolg ausprobiert habe.

Könnte das Deinstallieren von QuFirewall die Verbindung verloren haben? Ich kann über andere Geräte im Netzwerk auf die Dateifreigaben meines QNAP zugreifen und dass ich mit dem Web-UI verbinden kann, zeigt, dass das LAN okay ist.

Aktiviere das ursprüngliche Konto „admin“ wieder und verwende dieses, um es erneut zu versuchen.

Ich habe diese Befehle mit einem alternativen Administrationskonto ausgeführt, das die gleichen Rechte wie „admin“ hat.

Ich verstehe das (habe das auch in der Befehlsausgabe gesehen, ebenso wie sudo), aber einige Funktionen funktionieren einfach nicht mit alternativen Accounts. Probier es deshalb mal mit „admin“.

Überprüfe, ob ein „Standard-Gateway“ konfiguriert ist.

Eines der Dinge, die die vswitch-Resets ebenfalls zurücksetzen, ist auch dieses:

Wir empfehlen dir, zuerst traceroute 8.8.8.8 von der NAS-SSH-Konsole auszuführen, um zu sehen, wo die Verbindung zu Google (8.8.8.8) scheitert. Könntest du uns die Ergebnisse mitteilen? Danke!

Logged in as admin and ran the following commands:

sudo /mnt/ext/opt/netmgr/netmgr.sh reset_all_settings_to_default
sudo /etc/init.d/network.sh reset_network_config_to_default
sudo /etc/init.d/network.sh clean-restart

Output is as follows

[~] # sudo /mnt/ext/opt/netmgr/netmgr.sh reset_all_settings_to_default
None
[~] # sudo /etc/init.d/network.sh reset_network_config_to_default

[11:00:11] cmd: /usr/local/bin/nacli reset_config
[11:00:12] cmd: /usr/local/bin/nacli reset_wifi_phy_status_conf
[11:00:12] cmd: /usr/local/bin/nacli reset_wired_eap_conf
[11:00:12] cmd: /usr/sbin/nmcli ddns resetcfg
[11:00:13] cmd: /usr/local/bin/nacli reset_dhcpserver_conf
[11:00:13] cmd: /usr/local/bin/nacli migrate_dhcpserver_conf
[11:00:13] cmd: /usr/local/bin/nacli reset_radvd_conf{"data":"","error":0}

[11:00:13] cmd: /usr/local/bin/nacli migrate_nat{"data":"","error":0}
{"data":"","error":0}

[11:00:13] cmd: /usr/local/bin/nacli bootup_static_route
[11:00:13] cmd: /usr/local/bin/nacli reset_vlan_driver_conf[~] #
[~] #
[~] # sudo /etc/init.d/network.sh clean-restart

[11:00:35] cmd: /usr/local/sbin/qsh NetworkService.ncaas.write_back path=all
[11:00:35] cmd: /sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh
[11:00:35] ERROR: cmd(/sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh) failed, ret=1
[11:00:35] cmd: nmcli nmd stop_all
[11:00:41] cmd: kill 11278
[11:00:41] cmd: /sbin/daemon_mgr ifd ignore /usr/local/bin/ifd
[11:00:41] ERROR: cmd(/sbin/daemon_mgr ifd ignore /usr/local/bin/ifd) failed, ret=1
[11:00:41] cmd: kill 11228
[11:00:41] cmd: /usr/local/bin/nacli stop
[11:00:56] cmd: kill 11215
[11:00:56] cmd: kill 11405
[11:00:56] cmd: /usr/local/bin/nacli write_hostsmodprobe: module x_tables not found in modules.dep
modprobe: module nf_conntrack not found in modules.dep
modprobe: module nf_defrag_ipv4 not found in modules.dep
modprobe: module ip_tables not found in modules.dep
modprobe: module xt_tcpudp not found in modules.dep
modprobe: module nf_nat_ipv4 not found in modules.dep
modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
modprobe: module nf_conntrack_ipv4 not found in modules.dep
modprobe: module iptable_filter not found in modules.dep
modprobe: module iptable_mangle not found in modules.dep
RTNETLINK answers: No such file or directory
iptables: Chain already exists.
iptables: Chain already exists.

[11:00:59] cmd: /sbin/ifconfig eth0 0.0.0.0 up &
[11:00:59] cmd: /sbin/ifconfig eth1 0.0.0.0 up &
[11:00:59] cmd: /sbin/ifconfig eth2 0.0.0.0 up &
[11:00:59] cmd: /sbin/ifconfig eth3 0.0.0.0 up &
[11:00:59] cmd: /sbin/hal_event --net_scan
[11:00:59] cmd: /sbin/daemon_mgr ifd start /usr/local/bin/ifd
[11:00:59] ERROR: cmd(/sbin/daemon_mgr ifd start /usr/local/bin/ifd) failed, ret=1
[11:00:59] cmd: /usr/local/bin/nacli start
[11:01:04] cmd: /sbin/daemon_mgr nmd start /usr/sbin/nmd.sh
[11:01:04] ERROR: cmd(/sbin/daemon_mgr nmd start /usr/sbin/nmd.sh) failed, ret=1
[11:01:04] cmd: /usr/local/bin/sbgw
[11:01:05] cmd: /usr/local/bin/nacli do_wifi_pcie_autoconnectmodprobe: module x_tables not found in modules.dep
modprobe: module nf_conntrack not found in modules.dep
modprobe: module nf_defrag_ipv4 not found in modules.dep
modprobe: module ip_tables not found in modules.dep
modprobe: module xt_tcpudp not found in modules.dep
modprobe: module nf_nat_ipv4 not found in modules.dep
modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
modprobe: module nf_conntrack_ipv4 not found in modules.dep
modprobe: module iptable_filter not found in modules.dep
modprobe: module iptable_mangle not found in modules.dep
boot_setup_mangle_prerouting has been setup before.
start ip_monitor
pidfile /var/run/network/netmgr/ip_monitor.pid already exist. Daemon already running?
/bin/bash: /etc/config/nm_script/*.sh: No such file or directory

[11:01:32] cmd: /sbin/qpkg_cli --disable container-station[~] #
[~] #
[~] #
[~] #
[~] # [~] # sudo /mnt/ext/opt/netmgr/netmgr.sh reset_all_settings_to_default
-sh: [~]: command not found
modprobe: module nf_defrag_ipv4 not found in modules.dep
modprobe: module ip_tables not found in modules.dep
[~] # None
-sh: None: command not found
modprobe: module nf_nat_ipv4 not found in modules.dep
modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
modprobe: module nf_conntrack_ipv4 not found in modules.dep
modprobe: module iptable_filter not found in modules.dep
modprobe: module iptable_mangle not found in modules.dep
boot_setup_mangle_prerouting has been setup before.
start ip_monitor
pidfile /var/run/network/netmgr/ip_monitor.pid already exist. Daemon already running?
/bin/bash: /etc/config/nm_script/*.sh: No such file or directory

[11:01:32] cmd: /sbin/qpkg_cli --disable container-station[~] #[~] # [~] # sudo /etc/init.d/network.sh reset_network_config_to_default
-sh: [~]: command not found
[~] #
[~] # [11:00:11] cmd: /usr/local/bin/nacli reset_config
-sh: [11:00:11]: command not found
[~] # [11:00:12] cmd: /usr/local/bin/nacli reset_wifi_phy_status_conf
-sh: [11:00:12]: command not found
[~] # [11:00:12] cmd: /usr/local/bin/nacli reset_wired_eap_conf
-sh: [11:00:12]: command not found
[~] # [11:00:12] cmd: /usr/sbin/nmcli ddns resetcfg
-sh: [11:00:12]: command not found
[~] # [11:00:13] cmd: /usr/local/bin/nacli reset_dhcpserver_conf
-sh: [11:00:13]: command not found
[~] # [11:00:13] cmd: /usr/local/bin/nacli migrate_dhcpserver_conf
-sh: [11:00:13]: command not found
[~] # [11:00:13] cmd: /usr/local/bin/nacli reset_radvd_conf{"data":"","error":0}
-sh: [11:00:13]: command not found
[~] #
[~] # [11:00:13] cmd: /usr/local/bin/nacli migrate_nat{"data":"","error":0}
-sh: [11:00:13]: command not found
[~] # {"data":"","error":0}
-sh: data:: command not found
[~] #
[~] # [11:00:13] cmd: /usr/local/bin/nacli bootup_static_route
-sh: [11:00:13]: command not found
[~] # [11:00:13] cmd: /usr/local/bin/nacli reset_vlan_driver_conf[~] #
-sh: [11:00:13]: command not found
[~] # [~] #
-sh: [~]: command not found
[~] # [~] # sudo /etc/init.d/network.sh clean-restart
-sh: [~]: command not found
[~] #
[~] # [11:00:35] cmd: /usr/local/sbin/qsh NetworkService.ncaas.write_back path=all
-sh: [11:00:35]: command not found
[~] # [11:00:35] cmd: /sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh
-sh: [11:00:35]: command not found
[~] # [11:00:35] ERROR: cmd(/sbin/daemon_mgr nmd ignore /usr/sbin/nmd.sh) failed, ret=1
-sh: syntax error near unexpected token `('
[~] # [11:00:35] cmd: nmcli nmd stop_all
-sh: [11:00:35]: command not found
[~] # [11:00:41] cmd: kill 11278
-sh: [11:00:41]: command not found
[~] # [11:00:41] cmd: /sbin/daemon_mgr ifd ignore /usr/local/bin/ifd
-sh: [11:00:41]: command not found
[~] # [11:00:41] ERROR: cmd(/sbin/daemon_mgr ifd ignore /usr/local/bin/ifd) failed, ret=1
-sh: syntax error near unexpected token `('
[~] # [11:00:41] cmd: kill 11228
-sh: [11:00:41]: command not found
[~] # [11:00:41] cmd: /usr/local/bin/nacli stop
-sh: [11:00:41]: command not found
[~] # [11:00:56] cmd: kill 11215
-sh: [11:00:56]: command not found
[~] # [11:00:56] cmd: kill 11405
-sh: [11:00:56]: command not found
[~] # [11:00:56] cmd: /usr/local/bin/nacli write_hostsmodprobe: module x_tables not found in modules.dep
-sh: [11:00:56]: command not found
[~] # modprobe: module nf_conntrack not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_defrag_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module ip_tables not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module xt_tcpudp not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_nat_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_conntrack_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module iptable_filter not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module iptable_mangle not found in modules.dep
-sh: modprobe:: command not found
[~] # RTNETLINK answers: No such file or directory
-sh: RTNETLINK: command not found
[~] # iptables: Chain already exists.
-sh: iptables:: command not found
[~] # iptables: Chain already exists.
-sh: iptables:: command not found
[~] #
[~] # [11:00:59] cmd: /sbin/ifconfig eth0 0.0.0.0 up &
[1] 29863
[~] # [11:00:5-sh: [11:00:59]: command not found
9] cmd: /sbin/ifconfig eth1 0.0.0.0 up &
[2] 29864
[1]   Done(127)               [11:00:59] cmd: /sbin/ifconfig eth0 0.0.0.0 up
[~] # [11:0-sh: [11:00:59]: command not found
0:59] cmd: /sbin/ifconfig eth2 0.0.0.0 up &
[3] 29865
[2]   Done(127)               [11:00:59] cmd: /sbin/ifconfig eth1 0.0.0.0 up
[~] # [11:0-sh: [11:00:59]: command not found
0:59] cmd: /sbin/ifconfig eth3 0.0.0.0 up &
[4] 29866
[3]   Done(127)               [11:00:59] cmd: /sbin/ifconfig eth2 0.0.0.0 up
[~] # [11:0-sh: [11:00:59]: command not found
0:59] cmd: /sbin/hal_event --net_scan
-sh: [11:00:59]: command not found
[4]+  Done(127)               [11:00:59] cmd: /sbin/ifconfig eth3 0.0.0.0 up
[~] # [11:00:59] cmd: /sbin/daemon_mgr ifd start /usr/local/bin/ifd
-sh: [11:00:59]: command not found
[~] # [11:00:59] ERROR: cmd(/sbin/daemon_mgr ifd start /usr/local/bin/ifd) failed, ret=1
-sh: syntax error near unexpected token `('
[~] # [11:00:59] cmd: /usr/local/bin/nacli start
-sh: [11:00:59]: command not found
[~] # [11:01:04] cmd: /sbin/daemon_mgr nmd start /usr/sbin/nmd.sh
-sh: [11:01:04]: command not found
[~] # [11:01:04] ERROR: cmd(/sbin/daemon_mgr nmd start /usr/sbin/nmd.sh) failed, ret=1
-sh: syntax error near unexpected token `('
[~] # [11:01:04] cmd: /usr/local/bin/sbgw
-sh: [11:01:04]: command not found
[~] # [11:01:05] cmd: /usr/local/bin/nacli do_wifi_pcie_autoconnectmodprobe: module x_tables not found in modules.dep
-sh: [11:01:05]: command not found
[~] # modprobe: module nf_conntrack not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_defrag_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module ip_tables not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module xt_tcpudp not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_nat_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_nat_masquerade_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module nf_conntrack_ipv4 not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module iptable_filter not found in modules.dep
-sh: modprobe:: command not found
[~] # modprobe: module iptable_mangle not found in modules.dep
-sh: modprobe:: command not found
[~] # boot_setup_mangle_prerouting has been setup before.
-sh: boot_setup_mangle_prerouting: command not found
[~] # start ip_monitor
-sh: start: command not found
[~] # pidfile /var/run/network/netmgr/ip_monitor.pid already exist. Daemon already running?
-sh: pidfile: command not found
[~] # /bin/bash: /etc/config/nm_script/*.sh: No such file or directory
-sh: /bin/bash:: No such file or directory
[~] #
[~] # [11:01:32] cmd: /sbin/qpkg_cli --disable container-station[~] #
-sh: [11:01:32]: command not found

I’ll reboot to see what happens…

Wenn du als „admin“ angemeldet bist (und ich sehe, dass du es bist), musst du sudo nicht verwenden. :nerd_face:

Hier ist das Ergebnis von traceroute 8.8.8.8

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 46 byte packets
 1  192.168.1.1 (192.168.1.1)  0.451 ms  8.8.8.8 (8.8.8.8)  0.387 ms  192.168.1.1 (192.168.1.1)  1.075 ms

Oh Mann! Klar, ich musste sudo benutzen, als ich mit meinem alternativen Admin-Konto unterwegs war :slightly_smiling_face:

Aus Interesse habe ich traceroute 8.8.8.8 -v ausgeführt, was zu einer Menge Ausgabe führt. Bei einem der Hops wird Folgendes angezeigt:

72 bytes von 192.168.1.1 zu 192.168.1.1: icmp Typ 3 (Ziel nicht erreichbar) Code 3
 4: x42000045
 8: x00404150
12: xd2661140
16: x4601a8c0
20: x0101a8c0
24: x3500ea9d
28: x614b2e00
32: x00014c79
36: x00000100
40: x00000000
44: x38013801
48: x38013801
52: x2d6e6907
56: x72646461
60: x70726104
64: x0c000061
68: x00000000

Der 3-Sekunden-Reset und die Umsetzung von @dolbyman s Vorschlag zum Zurücksetzen der Netzwerk- und virtuellen Switch-Einstellungen über die Befehlszeile haben leider nicht funktioniert. Ich bin echt ratlos :frowning: