Last Resort Upstream DNS

Please follow the below template, it will help us to help you!

Expected Behaviour:

I have FTTH internet that also includes TV (IP TV). I wanted to configure pi-hole to use one of the upstream DNS resolver provided (and then setting the PI-Hole as the DNS resolver in the Router) but if I choose that option, my TV service stops working as those upstream servers cannot resolve IP TV DNS requests (private domain name within the ISP network).

Is there a way to configure PI-hole to resort to the ISP DNS servers if, and only if, the selected upstream DNS does not know the requested domain name?
I've search through the documentation as well as in the forum but could not find any similiar request.

Thanks for your help.

Regards,
BChe

You can use a dnsmasq option to set the DNS server for a domain. Make a new configuration file in /etc/dnsmasq.d and name it something like IPTV.conf

I think the command you want is the following from the dnsmasq documentation:

-S, --local, --server=[/[]/[domain/]][[#][@|[#]]

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Related thread:

https://discourse.pi-hole.net/t/different-dns-server-to-query-a-domain/23444/2

Thanks. That is a great starting point.
But I am afraid that I won't be able to identify the domain names (no way to monitor traffic between the TV Boxes and the router to identify the requested domains) and they are not publicly announced. Is there any other approach that would allow for a flexible configuration?

Regards,
Bruno

If you have the option to put the TV boxes directly on ISP DNS, that may be your solution.

If you can't do this directly, then you can use Pi-hole as DHCP server and specifically assign these clients to ISP DNS, then they can get the TV content they need and they won't use the Pi-hole for DNS.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.