3 EN. Using different DNS servers depending on the domain queried

Have you ever wanted to use different servers for domain resolution depending on the domain you want to resolve?

Luckily there's a program called pdnsd.

You can configure pdnsd to act solely as a proxy and to forward DNS queries to server 1 or to server 2 depending on the queried domain.

Here's the homepage of the project on the web. Unfortunately the site is down at the moment where I write this.

pdnsd (https)

For example I'm using TildeNIC's DNS servers for most of my DNS queries.

For specific domains though, my ISP's DNS server resolves to a different IP because my ISP has a better connection to the provider of the site associated with the domain.

So I've set up pdnsd to use my ISP's DNS servers when resolving these domains.

TildeNIC (https)
Home