There’s no RFC that specifies that a specific order is applied to DNS servers.
Comment on Noob question about PiHole
SimonSaysStuff@lemmy.world 10 months ago
When you specify more than one DNS server for network clients, the order in which these servers are used is not random. The following sequence is observed:
Primary DNS Server: Clients will first attempt to use the primary DNS server specified in their network settings. This server is often considered the default.
Secondary DNS Server: If the primary DNS server is unavailable or unable to resolve a query, clients will then attempt to use the secondary DNS server. This server acts as a backup.
So in OPs case his Pihole will always be used if it’s available, and only when it’s not will the secondary be used.
TCB13@lemmy.world 10 months ago
SimonSaysStuff@lemmy.world 10 months ago
RFC 2182 details the operation and functionality of secondary DNS servers. Which defines/influences how resolvers behave with multiple DNS servers.
AtariDump@lemmy.world 10 months ago
The ONLY DNS server you should have set on your network is a/the PiHole(s).
TCB13@lemmy.world 10 months ago
That RFC is about DNS in the context of zones for domain names (DNS zones). Not for a DNS client running DNS queries like an operating system.
ramble81@lemm.ee 10 months ago
What you stated is generally a Windows only feature. Other OSes don’t adhere to that. Drives me crazy on Windows Servers too.
mateomaui@reddthat.com 10 months ago
Except that, as I’ve already mentioned, I have two piholes, and sometimes both will be receiving requests. Based on your description, the second would never receive requests as long as the first is online. Perhaps this is router dependent, but it’s what I’ve observed.