Browsed by
Tag: DoT

Selective Forwarding

Selective Forwarding

In miniDNServer, you can configure several “Public DoT server” to query outsides domain names. By default, it does not select different DoT servers for queries based on the domain name.

However, some domain names may need to be queried against a specific DoT server. For example, most domain names can be queried against a domestic DoT server, while a small number of foreign domain names need to be queried against a foreign DoT server. Therefore, different query operations must be distinguished for these domain names, and miniDNServer needs to perform “selective forwarding” as shown in the figure below:

selective forwarding configuration

With the configuration shown in the figure, when querying “github.com”, “minisipserver.com” and their subdomains, miniDNServer will query a specific DoT server (that is, the Cloudflare server configured in the figure: 1.1.1.1).

miniDNServer

miniDNServer

We have recently released a small piece of software: miniDNServer (abbreviated as MDNS), which mainly addresses two needs related to domain name resolution:

(1) We want to provide domain name access for various computing devices on the internal network, thereby enhancing the flexibility of network deployment. For example, a company’s internal NAS server can be set up to be accessed via the domain name “nas.local“. MDNS provides DNS services for various devices on the internal network through “DNS over UDP (DoU)”.

(2) Considering the hostile nature of the public network environment, we want to be able to access public DNS servers using encrypted methods when accessing external domains, avoiding various interferences with DNS results. In other words, MDNS can forward DNS requests from internal devices for external domains and use “DNS over TLS (DoT)” to access public DoT servers for domain name resolution.

The following diagram describes the network topology of MDNS’s working mode:

miniiDNServer network topology

MDNS has been used in our own environment for some time, with good results, and we are very satisfied with it. When you are deploying a network environment for small to medium-sized enterprises, you may also consider trying this easy-to-use DNS software.