Netcup DNS notes
-
In Cloudron 8, we have switched the host DNS to use systemd-resolved (the ubuntu default) . unbound is still used but only for mail server and when we need to do recursive lookups.
In the process of testing with various VPS, I found some curious things in netcup servers. Just putting my notes here:
- Netcup makes
/etc/resolv.confnon-editable for some reason (using chattr). They also put their nameservers there directly into resolv.conf instead of using netplan. Curiously, netplan does have the static IP, so they do know about netplan configs... Maybe something do with multiple interfaces? They could have used/etc/systemd/resolved.confas well . Anyway, they have an unconventional setup. - Ubuntu 20 servers has
systemd-resolvedrunning. But this is actually not used at all because resolv.conf is pointing to nameservers directly - Ubuntu 22 servers are same as 20. systemd-resolved is running but unused.
- Ubuntu 24 servers have
systemd-resolveddisabled (ha, looks like someone noticed and corrected the problem here)
Cloudron install and update scripts patch up netplan and resolv.conf to use systemd-resolved. In the future, maybe we remove this netcup specific patch. Don't like maintaining VPS specific code especially when those things change without notice.
- Netcup makes
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login