Page MenuHomeVyOS Platform

Add Technitium DNS Server as authoritive DNS service
Closed, WontfixPublicFEATURE REQUEST

Description

Summary

Add Technitium DNS Server as authoritive DNS service.

Use case

  • Authoritive DNS server.

Can also be used as:

  • DNS resolver.
  • DHCP server.

Includes features such as webgui for configuration along with clustering support.

Additional information

Looking at https://docs.vyos.io/en/latest/configuration/system/name-server.html VyOS have a DNS client but is lacking a DNS authoritive server according to https://docs.vyos.io/en/latest/configuration/service/index.html

Among already existing services there do exist DHCP server, TFTP server etc.

So adding a DNS server would be handy.

Based on discussions at https://forum.vyos.io/t/can-we-replace-currently-dhcp-and-dns-service-with-technitium-dns/17262 I would suggest to add Technitium DNS Server as an authoritive DNS server to be used by VyOS.

Technitium includes a webgui (can be enabled/disabled) and is overall easier to configure and maintain than ISC BIND 9.

It also includes clustering features.

Along with being an authoritive DNS server it can also act as a DNS resolver along with being a DHCP server.

In short a competitor to Adguard and Pi-hole.

The DHCP server part can also be evaluated if it should be used instead of ISC Kea (which I think VyOS currently uses).

As a workaround Technitium DNS Server can be used as a container:

https://hub.docker.com/r/technitium/dns-server

Repository along with a longer list of supported features and standards:

https://github.com/TechnitiumSoftware/DnsServer

Ref:

Technitium
https://blog.technitium.com

Technitium DNS Server
https://technitium.com/dns

Technitium : Vulnerability Statistics
https://www.cvedetails.com/vendor/26782/

Good walkthrough of Technitium DNS Server:

What should YOU use for DNS in YOUR Homelab?
https://www.youtube.com/watch?v=S5D6uksel10

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)
Forum thread
https://forum.vyos.io/t/can-we-replace-currently-dhcp-and-dns-service-with-technitium-dns/17262

Event Timeline

Update:

There do currently exist an authoritive DNS server in VyOS.

Its hidden in the documentation as "Service -> DNS Forwarding":

https://docs.vyos.io/en/latest/configuration/service/dns.html#authoritative-zones

I'm always interested in new software suggestions — I didn't know about this project!

I'm not sure if it's a good idea to start integrating it, though:

  1. As you already pointed out, authoritative DNS server functionality is possible with PowerDNS and it's already implemented, so there's no need to bring anything new to add it.
  2. PowerDNS is a well-established component in VyOS and I don't see any immediate reasons to replace it with anything at this moment.
  3. Starting to replace Kea when we have just completed replacing ISC DHCP will mean that all the work we did to get Kea configuration scripts to work well will go to waste. @sarthurdev will hate us. ;)
  4. An important thing is that Technitium is written in C#. That means we'd have to pull a .Net runtime as a dependency, and adding a big dependency for just one component sounds like a bad idea, to be fair.
Viacheslav claimed this task.
Viacheslav subscribed.

I don't see any compelling reason to replace it.

Advice for people wanting to use this is to run it inside a container.