r/HomeNAS • u/WonderfulEagle7096 • 43m ago
NAS advice PSA: ugreen UGOS always adds a Chinese public DNS server (114.114.114.114) to your NAS's resolver list, and the UI can't remove it
UGOS writes its own /etc/resolv.conf, and it always appends two built-in resolvers after whatever DNS you configure: 114.114.114.114 (a public resolver run in China) and 8.8.8.8. The address is compiled into UGOS's network service (ctl_serv), and I found no setting that removes it. The file's header says it is "automatically generated by UGOS Network Services" and warns against editing it by hand.
On a DXP4800 Plus running UGOS 1.17.0.0095:
One DNS server set on LAN1 (Control Panel → Network → Network connection → Edit):
- nameserver <your DNS>
- nameserver 114.114.114.114
- nameserver 8.8.8.8
Two DNS servers also set under Control Panel → Network → General (manual DNS):
- nameserver <your DNS 1>
- nameserver <your DNS 2>
- nameserver 114.114.114.114
- nameserver 8.8.8.8
When DHCP failed at boot: 114.114.114.114 and 8.8.8.8 were the only resolvers.
The problem
Firstly, the Chinese DNS is used by default. Even if you DO set DNS servers, Linux tries the servers in order, so the NAS falls back to 114 whenever your own DNS doesn't answer. If you run Pi-hole or AdGuard on the NAS itself, that's every time it's down or restarting, and in the window at boot before its container is up. Those lookups go unencrypted to a resolver in China. This is never disclosed to the user, I only found out by accident when debugging DHCP issues and ran into the aforementioned source file. Not what I expected for a box I chose to self-host.
What helps
- Set two DNS servers under Network → General. Linux only reads the first three entries, so 114 becomes a last resort, used only when both of yours fail. 8.8.8.8 drops off the end. However, this might change with any UGOS update.
- Block 114.114.114.114 on your router - the only place a UGOS update can't undo.
Pretty disappointed to find this, quite alarming actually.