DnsServer
DnsServer copied to clipboard
Redundancy (clustering) support
Hello. TechnitiumDNS is often unresponsive. The cause is unknown, but usually when run for more than 3 days in a row. This issue seems to have no problems during the daytime if I restart TechnitiumDNS every night, but with a low probability (2% in my case) there was a case where TechnitiumDNS stopped working. To solve this, 2 TechnitiumDNS were executed respectively, and 2 TechnitiumDNS were registered in the DHCP server, but it is difficult to manage the settings and statistics because each DNS server has independent configuration files. I think it will be very helpful for stability if it supports clustering officially. thank.
Thanks for the feedback. Clustering is already in my to do list but it wont be available immediately as next release is more focused on ability to host primary, secondary and stub zones and for optimizing how zone data is stored in memory. The zone optimization should make the server more responsive under load.
New release is now available. This should fix most of the scaling issues.
After applying the new release, the server became much more stable. The response is also stable. Now I'm going to test how many days it works without restarting the server. However, even if the server operates stably, I think it is better to use two or more servers for high availability. Nothing is more annoying than the sudden disconnection of the Internet. :)
Thanks for the feedback. I hope it works well and is stable. And as you said, redundancy is always useful no matter how well your infra is setup.
The secondary DNS server ran without problems for 10 days without restarting, and the main DNS server ran without error for 14 days. It works stably. I decided to restart every weekend at dawn. :)
The secondary DNS server ran without problems for 10 days without restarting, and the main DNS server ran without error for 14 days. It works stably. I decided to restart every weekend at dawn. :)
Thanks for sharing. I am planning on using async IO which should improve the performance even more. Will update on it.
I am currently running 2 DNS Servers for redundancy/resilience and also interested in DHCP Failover and an AD like DNS Setup, where both are writeable. Currently having to have 2 DNS Servers, only 1 with DHCP, and the other with secondary zones only. So if the first is unavailable, no DHCP and even if static address no DNS Entry in the second DNS Server. Also as mentioned having to manually mirror the setup from one to another, ie dns blocked domains, forwarders etc is ok as its simple but would be nice to have a shared location for setup and logs etc
I am currently running 2 DNS Servers for redundancy/resilience and also interested in DHCP Failover and an AD like DNS Setup, where both are writeable. Currently having to have 2 DNS Servers, only 1 with DHCP, and the other with secondary zones only. So if the first is unavailable, no DHCP and even if static address no DNS Entry in the second DNS Server. Also as mentioned having to manually mirror the setup from one to another, ie dns blocked domains, forwarders etc is ok as its simple but would be nice to have a shared location for setup and logs etc
Thanks for the feedback. This should be available in a few months time.
Huge +1 for this - I'd particularly like to see cluster(able) DHCP, as I just switched away from a highly available Kea solution to Technitium in a very important installation serving two people 🤣 as Technitium has much nicer management of static leases, dynamic DNS and other niceties.
Any update on this feature request? Am manually handling the sync between two servers but would be great to not have to :)
Any update on this feature request? Am manually handling the sync between two servers but would be great to not have to :)
Currently, multi user role based access support is being implemented. The clustering feature is planned after that major update.
hi, i agree on dhcp cluster or failover function. should be nice.
news about it?
news about it?
It will come after DHCPv6 feature is implemented.
Hey checking in for updates :) Thanks for all the great work you've been doing, Technitium is awesome :)
Hey checking in for updates :) Thanks for all the great work you've been doing, Technitium is awesome :)
any updates in this feature? no pushing.... just curious
Hey checking in for updates :) Thanks for all the great work you've been doing, Technitium is awesome :)
any updates in this feature? no pushing.... just curious
I don't think that they release this feature verry soon. I'm waiting for a long time now. Even before the creation of this thread and its the only reason why I'm still not able to use technitium in most cases. Its the only big and powerfull next-gen dns I know, which is not able to build a cluster..... But if the developers would think the same about it, the feature would already exist.
Btw: Does anyone know another, not annoying, way to rollout 2-n technitium servers in a docker/kuberneetes Cluster with automatic replication of everything?
I tried exposing the relevant volumes of two technitium containers and rsyncing them between the two different servers. Didn't work great. Technitium writes a lot of data so there was too many conflicts.
FYI: https://gravity.beryju.io/ in docker has been working well for me since it offers redundancy.
Hey checking in for updates :) Thanks for all the great work you've been doing, Technitium is awesome :)
any updates in this feature? no pushing.... just curious
Thanks for asking. Will try to get this feature prioritized since its being requested frequently. This means other planned features like DHCPv6 will be done after this.
Just chiming in with my vote for clustering to be prioritized ahead of DHCPv6. ;)
FYI: https://gravity.beryju.io/ in docker has been working well for me since it offers redundancy.
prefer clustering in Technitium
another vote for clustering over DHCPv6.
Also throwing in a vote for clustering over DHCPv6
Also throwing in a vote for clustering over DHCPv6
Initial clustering is planned for DNS zones and overall settings. DHCP clustering support will be added later with DHCPv6.
I'm adding yet another vote for redundancy. In my use case, high availability is much more important than DHCPv6.
Agree.
Redundancy is higher for me too instead dhcpv6
Byez Marco
Il sab 23 dic 2023, 22:17 Jamie @.***> ha scritto:
I'm adding yet another vote for redundancy. In my use case, high availability is much more important than DHCPv6.
— Reply to this email directly, view it on GitHub https://github.com/TechnitiumSoftware/DnsServer/issues/134#issuecomment-1868371658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7YGHRTQ5E5MMZOTVOZSZ3YK5DAHAVCNFSM4MOZHPLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHAZTOMJWGU4A . You are receiving this because you commented.Message ID: @.***>
Subject: Support for Redundancy (Clustering) in TechnitiumDNS
Dear @ShreyasZare and TechnitiumDNS Community,
I've been closely following the ongoing discussions regarding the implementation of redundancy (clustering) support in TechnitiumDNS, specifically in the context of issue #134. The insights shared by various contributors, notably @rlagmlah, have highlighted the critical need for stability and high availability in DNS services.
As someone who appreciates the robustness and user-friendly features of TechnitiumDNS, I strongly believe that introducing clustering support would significantly enhance its reliability. The challenges outlined by users, such as @Hemsby and @computerkoenig, regarding the manual synchronization of settings and the need for a seamless failover solution, resonate with my own experiences.
The progressive updates and responsiveness from the Technitium team, particularly in addressing scalability and performance issues, are commendable. However, as the demand for uninterrupted internet connectivity grows, the importance of redundancy cannot be overstated. It's encouraging to see the community's unanimous support for prioritizing clustering over other features like DHCPv6, as echoed in recent comments by @rinseaid and @The0cdguy.
In conclusion, I add my voice to the chorus of users advocating for the swift integration of clustering capabilities into TechnitiumDNS. This feature is not just a convenience but a necessity for ensuring continuous and reliable DNS services in various deployment scenarios.
Thank you for your dedication to enhancing TechnitiumDNS, and I eagerly await further updates on this feature.
Best regards, majiajun
@majiajun7 Thanks for the feedback and kind words. The clustering feature is already prioritized now and is in design phase with reading of Catalog Zones (RFC 9432).
Note that it may take a couple of releases for this to be available. The next release is already being worked for some common options, bug fixes, and upgrade to .NET 8 runtime. Later, the next major release should have Catalog Zones support at minimum and mostly full clustering support too.
Looking forward clustering as well. I am slowly testing TechnitiumDNS for a future migration from Pi-hole.
In the meantime, assuming I run 2 instances, is it safe to:
- Stop server 1 and 2
- Rsync the config folder over server 2
- Restart both servers?
Should I target only specific files or would I even be able to rsync the content while server 1 is running?
I am planning on testing that scenario next week. It's mostly my existing flow with Pi-hole, copying over the static entries from dnsmasq, altough I don't have to stop server 1, as it's flat text files. Essentially I want to script replicating the static DNS entries. DHCP is a non issue, as both servers will server different range, at least for now.
Thanks.