5 ms·
My Own DNS Server at Home – Part 1: IPv4
- thedanbob 1y agoI set up authoritative nameservers at home using unbound, which appears to be considerably easier than configuring BIND, but I still can't say that I fully understand it. DNS (and networking in general) is a bit of a dark art.
- daneel_w 1y agoTry NSD. Unlike unbound, NSD is the actual authoritative name server in the project.
- seiferteric 1y agoI’m setting up NSD for authoratative and Unbound for recursive layer at my company and they are a breeze to work with.
- DrPhish 1y agoI have this as well, but run a heavily locked down and isolated BIND server with NSD and Unbound for external authoritative and internal caching DNS respectively. Its easy to feed an RBL to unbound to do pi-hole type work, I use pf to transparently redirect all external DNS requests to my local unbound server but I get the bind automation around things like DNSSEC, DHCP ddns and ACME cert renewals. I'm surprised this isn't a more common stack.
- icedchai 1y agoI've been running BIND at home since the mid 90's when I had ISDN. The O'Reilly "DNS and BIND" book was my go-to guide when I got started.
- gerdesj 1y agoIt Still Does Nothing. The sheer luxury of two B channels at 64kBps each and if you were cunning, the D channel at 16k (I wasn't cunning and didn't bother)! Yay, double phone charges if you raised the second channel. That was a BRI. A PRI was lots of channels (30) and an even more eye watering bill. A customer dumped their BRI that was acting as a backup to SIP n that about six months ago. That's the last one I know of.
- icedchai 1y agoA trick some ISPs used in the 90's was a "data over voice" call, which ran at 56K but was charged voice rates instead of data rates. That meant the call was generally free. The improved latency of ISDN made a huge difference compared to a 56K modem.
- slow_typist 1y agoTrue, the nominal 8 k weren’t much of a change but the cut down on latency made a big difference especially while „surfing the web“.
- ai-christianson 1y ago> DNS (and networking in general) is a bit of a dark art. Dynamic routing is fun :)
- gerdesj 1y agoYou can't go too far wrong with unbound and it is seriously fast and light. Real men cry into their text editors with BIND and PowerDNS but you do get the whole toy box with these beasties. I've whizzed up many BIND daemons. I once ran a pair of PDNS servers with a MySQL replicated back end. I currently have an internet exposed and rather locked down PDNS for ACME DNS-01 (Lets Encrypt). The CA consortium are insisting on SSL certs going down to 40 odd day lifetimes within about three years. I look after quite a few SSL certs for my customers. Anyway. For home labbers, you might consider a Pi Hole (doesn't have to run on a Pi - a VM will do) or, a bit more hard core: https://technitium.com/dns/ https://technitium.com/dns/ (web GUI - yay!) pfSense has Unbound built in and I think OPNSense does too - both are fine choices of router. OpenWRT probably has unbound in it. When I say, you can't go too far wrong with unbound, I mean it. If it works then it is almost certainly configured correctly.
- sgc 1y agoI am just using adguard home as my dns server (installed as a plugin in opnsense). Am I naively doing something wrong, or is that a relatively decent choice as well?
- joshbetz 1y agoI prefer AdGuard home as well
- LilBytes 1y agoNot doing anything wrong, different flavours for different folks. I tried Adguard Home but, found myself liking PiHole a little more. They're both excellent, and both are open source. I'd suggest, anyone that says AdGuard Home or PiHole is betterm, is as objective as saying "starberry is the most superior flavour of ice cream". :) That said! I haven't used AdGuard Home in a very long time, might be time for me to revisit.
- gerdesj 1y agoGreat choice mate. I really must get around to looking into opnsense again. I look after 50 odd pfSense boxes (about half on Netgate gear) across the UK but I am a believer in choice and I remember when opensense sort of split from pfSense. Its great to see the project thriving. When you deploy a well respected alternative to your ISP provided equipment and get it to work, you generally get it right. They (pfSense, opnsense, openwrt and all the rest) will not do an insecure config out of the box. You do have to try quite hard to get it wrong! Adguard, pfBlocker, pi-hole and co. all largely do a similar job and that is keeping your devices away from the seamier parts of the internet and the seamier sides of the internet away from your network. They are not perfect but are really good at it. Think steel bound three inch thick front door, with really good hinges and a lock that would give a professional a hard time, rather than PVC or wooden panel with a mortice lock. Do keep an eye on the windows though ... 8) Keep it and everything else reasonably up to date and you are probably golden.
- kQq9oHeAz6wLLS 1y agoSame, with ad blocking to boot.
- webdevver 1y agohad to turn my dns adblocking off after it would break certain (admittedly shoddily-written) web apps
- ThePowerOfFuet 1y agoWhy not just whitelist certain hostnames?
- gentooflux 1y agoIt can be tricky with certain sites to track down the correct domains to whitelist without giving a whole swath of ad domains the keys to the kingdom. Getting weather.com working was a bit of a bear in this regard (I know the information they present is available elsewhere ad-free, but I find the way they package that information convenient and I'm nothing if not lazy).
- TacticalCoder 1y agoI run unbound at home too. To me a huge benefit of unbound is that it allows to return whatever you want for wildcards. Including TLD wildcards. Seychelles DNS has been hijacked as a whole and only serves malware? Null route the entire .sc. .ru ? Nah, that won't resolve at my place. etc. Then unbound is at ease, even on an old Raspberry Pi, with blocklists made of hundreds of thousands of lines.
- bigstrat2003 1y agoDNS really is pretty easy. The problem is that Bind zone files are an absolutely godawful interface which makes it seem 10x harder than it actually is. I'm not too upset about it (because it's free software and I figure I can't complain too much), but compare to other DNS solutions and it's night and day how easy they are. For example, running a Windows DNS server (while not something you'd do at home) is dead simple because Microsoft has polished up the user experience. I'm sure some more polished alternatives exist for Linux too, I'm just not familiar enough with what's out there to point to one as an example.
- bullen 1y agoI coded my own with dns4j. It's 10 rows of code for only providing my own domains. The trouble starts when you want to provide ALL domains I guess. I wonder what database would be best for that; just MySQL with int to name table? The trouble with DNS is that you need a fixed external IP that has port 53 open. Not easy to get at home cheaply.
- Arch-TK 1y agoAt home I have an openbsd box as my network gateway running unbound and nsd. Unbound handles the caching and recursion, nsd handles the local name resolution. I have a small utility (made up of two shell scripts and a python script) which watches /var/db/dhcpd.leases for changes and parses it to produce the zonefiles for nsd. Edit: https://paste.rs/vgr7t.txt https://paste.rs/vgr7t.txt
- ninkendo 1y agoY’know the script approach sounds like a good idea. I also have an OpenBSD box similar to what you describe, but I run ISC dhcpd and BIND because it’s the only setup that does old-school dynamic DNS where the dhcp server sends zone updates to BIND when a lease happens. But I hate BIND, and not to mention this setup doesn’t work with DHCPv6 (no idea why, it should in principal…) maybe I should just do the “script to read the leases and generate the zone file” approach instead.
- JdeBP 1y agoThe world has been waiting for a DHCP and content DNS server that simply share a common database back-end, meaning no notifications/updates/scripts, for decades. See https://news.ycombinator.com/item?id=44395279 https://news.ycombinator.com/item?id=44395279 for more.
- Arch-TK 1y agoDepends on bash, inotify-tools, ldns-utils, python https://paste.rs/vgr7t.txt https://paste.rs/vgr7t.txt Enjoy
- deleted 1y ago[deleted]
- louwrentius 1y agoIf you decide not to use a forwarder, the DNS server will be truly independent. The DNS server will contact the Root servers for the TLD namesevers of a domain, the TLD nameservers and then the actual authoritative nameserver for the particular domain. No forwarder needed. This means you bypass any DNS based filtering any DNS ‘forwarder’ may have in place.
- craftkiller 1y agoI used to do that, but that has the downside of sending all your DNS requests unencrypted over the network. By using a forwarder you have the option to use DoT or DoH.
- pumplekin 1y agoThere is work coming at the IETF to help with this. - Draft: DELEG (a new way of doing delegations, replacing the NS/DS records). - A draft to follow: Using the extensible mechanisms of DELEG to allow you to specify alternative transports for those nameservers (eg: DoH/DoT/DoQ). This would allow a recursive server to make encrypted connections to everything it talks to (that has those DELEG records and supports encrypted transports) as part of resolution. Of course, traffic analysis still exists. If you are talking to the nameservers of bigtittygothgirls.com, and the only domains served by those name servers are bigtittygothgirls ...
- zamadatix 1y agoI've always felt it makes sense to either use a forwarder you trust or just operate the root zone yourself. Going to the root zone dynamically is certainly the most technically correct, but if your goals involve either "independence" or "retaining some measure of the performance of using forwarders while still resolving things directly yourself" then you can just pull the root zone daily and operate your own root server https://www.iana.org/domains/root/files https://www.iana.org/domains/root/files. Of course, IANA would rather you just use DNS as technically correct as possible because, well, that's what they exist for, but they don't attempt to roadblock operating your own copy of the root. It's hard to go much deeper than that in practice as the zonefiles for TLDs are massively larger, massively more dynamic (i.e. syncing once a day isn't usually enough), and much harder to get ahold of (if it all, sometimes). Regardless of how you go about not using a forwarder, if that's the path you choose then I also heavily recommend considering setting up some additional things like cached entry prefetching so recently used expiring entries don't get "hitches" in latency.
- JdeBP 1y agoOne interesting aspect of this is how using BIND puts focus upon serial numbers. Serial numbers were a bane 3 decades ago. When Daniel J. Bernstein invented djbdns, xe made the software (tinydns-data) auto-generate the serial numbers from the last modification timestamp of the source file, and made several observations on the subject of serial numbers that are well known, or at least easy to work out for onesself with a modicum of thought. This article warns the reader thrice, in all-capitals, about remembering to manually increment serial numbers. That's still after all these years reasonable advice for BIND users and a still habit to form if one uses BIND. The numbering scheme used here will only allow 100 changes per day, of course. But nothing in the article, nor the planned parts 2 and 3 described in the ensuing FediVerse discussion, actually needs zone serial numbers to be incremented at all, as there's no replication of any kind, let alone "zone transfer", here and parts 2 and 3 (if they end up as stated, they not having been published yet) will not encompass replication either. It's heavily stressed because it has been a common pitfall for BIND users for decades; but ironically the article series does not actually need it. It's a shame, really, because the things that should be emphasized as much if not more here, are reduced in comparison. internal. still not being an IANA special-use domain name is one. (See RFC 8375 for home.arpa., which is a special-use domain name.) The way that this setup will leak 192.168.0.0/16 reverse lookups outwith 192.168.1.0/24 to the world at large, and 172.16.0.0/12 lookups outwith 172.16.0.0/16, is another. (named.rfc1912.zones does not cover any of the requisite domain apices, RFC 1912 not being RFC 1918, and is in any case a RedHatism that one cannot rely upon on even, say, Debian, let alone on a non-Linux-based operating system.) The pitfalls of using a superdomain that one does not own, e.g. homelab.jhw. here, is a third that is glossed over. (Anyone who has tried to set up an organization's domain naming will know of the pitfalls that this entails; this is as much of a bad habit to avoid gaining in the first place as updating BIND's serial numbers is a habit to learn.) Furthermore, making "everything at home just work, even with no internet connection" involves something further, missing from this and from the described forthcoming parts 2 and 3: a private root content DNS server. There's a surprising amount of stuff that relies on at minimum getting negative answers from the . content DNS servers for top-level domains that do not exist, and various blackholed domains.
- icedchai 1y agoI'm not sure why he didn't use a subdomain of his wildeboer.net domain for his home lab? I put all that stuff under lab.example.com (where example.com is an actual domain that I own, of course.) One nice thing about this is you can then use letsencrypt with a DNS-01 challenge and get real TLS certs for it.
- jeroenhd 1y agoI personally find Bind to be such an awful DNS server to configure. It's a bit like setting up Arch or Gentoo; tons of configuration so you can get down to the details and learn about every single part of the system, but ultimately there are only a few fields that you generally need to touch. My DNS server of choice remains PowerDNS. I also find the API easier to use with certbot and the available web UIs.
- zamadatix 1y ago90% of the times Bind is deployed then named.conf probably could have been: options { allow-recursion { localhost; localnets; }; forwarders { 1.1.1.1; 8.8.8.8; 4.2.2.2 }; forward only; }; And it would have done the same job the person was looking for. This binds to all interfaces, avoids explicitly respecifying the default paths as a lot of the config lines on the site do, logs what most people care to log to syslog, and forwards requests from any private subnet or the local machine. Alternatively, the distro probably comes with a default file with any distro specific customization you may wish to align to and just needs these 3 lines added. For the next 8% where people operate "real" dns servers I agree the zone definition syntax is a bit verbose (especially if you're doing many domains or reverse lookup zones) but not necessarily that complicated. The last 2% probably care about all of the syntax that starts to look like mumbo-jumbo which bind documentation focuses on. Oh, I will complain about bind expecting you to manually increment serial numbers in your zonefiles though... but most deployments like this (or even ones acting as the nameserver for some domains) don't actually need that anyways. No complaints about choosing PowerDNS though. Hard to go wrong with it for this either.
- immibis 1y agoDo you really want to do forwarding in 2025 when there's all kinds of DNS censorship going on? I'd think you want your DNS server to do the recursive lookup itself.
- zamadatix 1y agoIf you're talking about "censorship from what the forwarder will resolve": You're free to pick any forwarders you'd like (in this case), not just ones that censor, and a forwarder is likely to perform better for most people's use. If you're talking about "censorship of unencrypted DNS traffic in general": The censorship (or security/privacy risk or whatever your reason for caring it's unencrypted) doesn't care if you're sending traffic to a root nameserver for recursive resolution or traffic to a forwarder. What you need is something like encrypted DNS over another commonly encrypted channel that won't be blocked (e.g. DoH), which actually fits better with using a forwarder since most servers you'll recurse to don't support such transports. Recursive resolution of public domains is really not as useful as it may sound for most people. The folks it perhaps helps the most are those interested in having the fewest external dependencies in their infrastructure. I have another comment about how to maximize that goal more than just resursing to the public root servers.
- papascrubs 1y agoI run Technitium DNS server at home in a container. It supports DoH, DoT, multiple upstream resolvers (and multiple upstream queries, adblock support and a sleep of other goodies (API). If you're self hosting an internal resolver I highly recommend checking it out. I prefer it to pihole. https://technitium.com/dns/ https://technitium.com/dns/
- yumraj 1y ago> I prefer it to pihole. Can you talk more as to why?
- papascrubs 1y agoSure! Technitium is a full fledged authoritative recursive DNS resolver with adblock, whereas pihole is more focused solely on the adblock experience. Technitium supports full zone management, DNSSEC, and all DNS record types. Pihole is limited to a handful of types and can't do custom zones and the management is somewhat clunky IMO. Technitium has full DNS logging, statistics, conditional forwarding, and a full rest API for management. I think Pihole is a great project, but Technitium caters better to power users and people that want/need more complex control over their internal DNS infrastructure (while still remaining relatively simple from a management perspective). Simply put, Pihole is adblock with some DNS sprinkled in, Technitium is a DNS server first with adblock support. I don't think you can go wrong either way, but if you're going to need more advanced DNS capabilities at home, roll Technitium to save yourself a migration down the line.
- yumraj 1y agoI’ve been running pihole for 10-15 years, don’t even remember. Will take a look at Technitium. Looks like they have a Mac build, so I can just try it before attempting to replace pihole. Looking online, seems some people run both, not sure if that’s worth it though.
- nyarlathotep_ 1y ago
- zamadatix 1y agoIs there really a setup burden a reason to explicitly switch dnssec from the default implied "auto" to "no"?
- jwildeboer 1y agoI guess not, but I didn't take the time to go through teh key generation for my homelab.jhw domain just yet.
- n4bz0r 1y ago> I really should use the official .internal TLD (Top Level Domain) for my homelab network, but I decided against it. This introduces the risk of name resolution problems, should someone offer a public .jhw TLD in future. It’s a risk I am willing to accept in exchange for using a 3 letter TLD at home. Don’t be like me! Use .internal instead. With that out of the way, let’s continue. Why not .lan? The key word is official?
- moduspol 1y agoMy preference is to register a publicly resolvable domain and then just only use it internally. Then you can still get publicly trusted TLS certificates for it, in case you want them. Doesn’t stop you from using your own private CA, either, but at least you have the option.
- isaacdl 1y agoI do the same. You can still get neat 4-character domains for cheap in many TLDs (including .net, which just feels right for this purpose).
- briHass 1y agoGiven how modern browsers are increasingly hostile to long-lived, self-signed certs, I've resigned to paying the .com tax every year for a real domain. There's so many ACME clients now (e.g. HomeAssistant has a plugin), that it's fairly easy to have legitimate certs on internal devices. A side benefit is having a subdomain that can be used as a dynamic DNS record. Cloudflare (and probably others) let you enter non-routable IPs into their DNS, so myhomeserver.mydomain.com can point to 192.168.1.45 on your LAN without having to run your own DNS/hosts.
- akerl_ 1y agoAre they? Browsers treat long-lived self-signed certs pretty much exactly how they always have, from what I’ve seen: if you’ve trusted the cert in your system trust store, it just works. If you haven’t, you get a red warning page and have to click to proceed.
- bitlatte 1y agoI host my own name servers and have a custom dynamic DNS script with email notifications and everything. Honestly, wish I could replace the domain registrar as well and just have my own public TLD. For 50 million USD though (give or take) and the .sh TLD could be mine
- varikin 1y agoHave you had issues with the .jhw TLD on Apple devices? I have my own DNS for my homelab with CoreDNS with house.hill as my domain. My house is on a hill. But .hill is not a TLD, and both my macbook and iphone stopped resolving it quite a while ago.
- Citizen8396 1y agoIf you have Advanced Tracking and Fingerprinting Protection enabled for Safari, it will ignore your system resolver. iCloud Private Relay also ignores it unless DNS is set using configuration profiles.
- jwildeboer 1y agoNo. Both MacOS and iOS happily resolve and connect to the machines in my homelab.jhw domain. I did add the root cert of my CA (Certificate Authority) to the trust store on MacOS and iOS, so I can also enjoy TLS connections. Scroll to the "Add the certificate" part of https://jan.wildeboer.net/2025/08/Create-SMIME-Cert-stepca/ https://jan.wildeboer.net/2025/08/Create-SMIME-Cert-stepca/ for the HOWTO that worked for me.
- akerl_ 1y agoThat generally suggests they’re not pointing at the resolver you have set to handle that domain. Otherwise your apple devices can’t tell a valid TLD from an invalid one: they just launch the DNS lookup and let the server tell them. The exception to this is .local, which you shouldn’t use for internal systems because it will confuse the heck out of them in weird ways, because .local is by RFC not meant to be used in that way.
- wowczarek 1y agoDoesn't the use of .internal and the likes preclude the use of ACME/certbot for your internal https services? Unless you want the pain of running your own internal CA but then some OSes complain about internal CAs these days.
- zamadatix 1y agoYes on the preclusion, because ACME is based on you proving you are in some way in control of the public domain you're trying to get a cert for, but using ACME/certbot for internal homelabs is not the same walk in the park as it is for publicly exposed servers anyways. The easiest solution I've found is to not play the game. I.e. just use HTTP for your homelab, and if the service doesn't let you use anything but HTTPS then bind it to 127.0.0.1 and set up Caddy to reverse proxy and ignore the cert in a few lines. If you want to expose things externally and do happen to own a domain then set up a single external *.yourdomain.tld record which points to your public IP, bind an instance of Caddy to it, and reverse proxy to the internal HTTP only services. The internal service DNS entries can still use .internal so you won't have to deal with split-horizon DNS either.
- seemaze 1y agoLee Hutchinson of arstechnica.com did a great rundown of setting up bind with dhcpd as a self hosted CA a while back. https://arstechnica.com/information-technology/2024/02/doing-dns-and-dhcp-for-your-lan-the-old-way-the-way-that-works/ https://arstechnica.com/information-technology/2024/02/doing... I never took the plunge - dnsmasq, adguardhome, and let's encrypt for me..
- chatmasta 1y agoThis golden nugget [0] of an HN comment contains a nice recipe for self-hosted DNS seeded with a download of the publicly available root zone data. The author has a randomized username but is actively posting today. If you see this, 1vuio0pswjnm7, thanks for the tip! [0] https://news.ycombinator.com/item?id=31385133 https://news.ycombinator.com/item?id=31385133
- odough 1y ago[dead]
- LeoPanthera 1y agoBecause ISC DHCP was discontinued, I switched to dnsmasq, which also caused me to switch my home DNS server from unbound to dnsmasq so that local dhcp hostname registration would continue to work. I always thought of dnsmasq as a bit of a toy, but I have to admit I've been impressed. So far it's worked flawlessly, and I'm especially impressed that you can reconfigure it without restarting the process. My only complaint is not specific to dnsmasq, and that's with ipv6. Devices assign themselves essentially random addresses, so it's impossible to correlate DNS lookups from those addresses with what actual device is making the request. The obvious solution to this, a fully managed DHCP6 setup, does not seem to be well supported by dnsmasq, but it wouldn't matter even if it was because so many devices don't support DHCP6, only slaac. So the whole thing is a bit of a mess.
- gillparryz 1y agoI wish, it re-read the configuration upon SIGHUP, but doesn't. https://manned.org/man/dnsmasq#head6 https://manned.org/man/dnsmasq#head6
- LeoPanthera 1y agoOh huh. I was convinced that it did. I stand corrected.
- jclulow 1y agoDNS & DHCP are generally short lived transactions that are very easy to restart and retry, so as long as it restarts very quickly that seems like a reasonable trade off in implementation complexity to be honest.
- gillparryz 1y agoThat is fair for a home-lab setup.
- kwk1 1y ago> The obvious solution to this, a fully managed DHCP6 setup, does not seem to be well supported by dnsmasq, but it wouldn't matter even if it was because so many devices don't support DHCP6, only slaac. Relevant reading: https://issuetracker.google.com/issues/36949085 https://issuetracker.google.com/issues/36949085 Android Public Tracker - Support for DHCPv6 (RFC 3315) - Status: wontfix
- reddec 1y agoI tried BIND, Dnsmasq, unbound, adguard. At the end I picked CoreDNS outside kubernetes. It can do everything (including wildcards and ACL), requires few resources and easy to configure.
- zakki 1y agoI liked djbdns. But the development seems stucked. What I liked is the separation of name resolver (dnscache) and authoritative name server (tinydns).
- jesprenj 1y agoI think powerdns does the same, splitting into three daemons: cache with router, authoritative server and recursive resolver.
- nodesocket 1y agoCool setup, but seems quite complex and a lot to manage. I’m a UniFi fanboy and they support custom DNS records now. Just configure DHCP to send out your routers IP as DNS and done. Need device static IP assignment? That also is done at the UniFi router instead of having to configure client side static ips.
- a022311 1y ago> NEVER FORGET TO INCREASE THE SERIAL WITH EVERY CHANGE TO A ZONE FILE. OR RISK DNS HELL. > EVERY HOSTNAME RECORD ENDS WITH A . YOU WILL FORGET THIS. YOU WILL FIX THIS. > WITH A DOT AT THE END. DO NOT FORGET THE DOT! > WITH THE DOT AT THE END. AND DID YOU UPDATE THE SERIAL? :) I just love these comments. You made my day! :D
- 1vuio0pswjnm7 1y ago"This way works well for most people but, your ISP can see and control what website you can visit even when the website employ HTTPS security. Not only that, some ISPs can redirect, block or inject content into websites you visit even when you use a different DNS provider like Google DNS or Cloudflare DNS. Having Technitium DNS Server configured to use DNS-over-TLS, DNS-over-HTTPS, or DNS-over-QUIC encrypted DNS protocols with forwarders, these privacy & security issues can be mitigated very effectively." And if using Technitium as encouraged/promoted/facilitated,^1 now "DNS provider like Google DNS or Cloudflare DNS [or IBM Quad9 DNS]... _can_ see and control what website you can visit even when the website employ[s] HTTPS security" and "_can_ redirect, block or inject content into websites you visit" If the ISP seeing "what website you can visit" is the issue, then Technitium is not going to help. A DNS lookup does not necessarily mean a "visit" but even assuming it does, then the ISP can already see the "visit" (the actual TCP connection not the DNS lookup) via the SNI extension in the TLS ClientHello If the issue is ISP "control [over] what website you can visit", then Technitium _might_ help But if the issue is _any_ third party "control [over] what website you can visit", then all that has been done with Technitium is to substitute a "DNS provider" other than the ISP as the third party Technitium uses the word "can" to describe the issue: "your ISP can see and control..." and "some ISPs can redirect, block or inject..." Maybe this is purely coincidental, who knows The fact is some ISPs _have_ redirected, blocked or injected content by utilising their control over DNS It has happened and, certainly with redirection at least, it is ongoing. Why use the word "can". ISPs do it As far as we know neither Google nor Cloudflare has done it It may or may not have happened. But either way, they _can_ do it There is nothing that stops third parties from doing it in the future, whether it's an ISP or an advertising services and surveillance company or a TLS MiTM CDN Excerpt from RFC 1035: "Name servers manage two kinds of data. The first kind of data held in sets called zones; each zone is the complete database for a particular "pruned" subtree of the domain space. This data is called authoritative. A name server periodically checks to make sure that its zones are up to date, and if not, obtains a new copy of updated zones from master files stored locally or in another name server. The second kind of data is cached data which was acquired by a local resolver. This data may be incomplete, but improves the performance of the retrieval process when non-local data is repeatedly accessed. Cached data is eventually discarded by a timeout mechanism." The "DNS provider" is not a source for authoritative data Many self-proclaimed "technical" people use it this way; hopefully they understand exactly what they are doing For example, according to RFC 1035 the operator of the nameserver for example.com controls the DNS data for example.com, not the ISP, not Google, not Cloudflare or any other third party "DNS provider" The internet user can run his own authoritative nameserver and/or a cache^2 and decide what the DNS data for example.com should be served when his computers ask for it; he could thereby eliminate the need for third parties He could obtain that DNS data from the nameserver(s) for example.com He could also obtain it from an "upstream" third party cache, such as an ISP, Google, or Cloudflare; i.e., he could rely on a third party But according to RFC 1035 only the nameserver for example.com is the authoritative source^3 1. "Self-host" is not the default DnsServer-master/Apps/AdvancedForwardingApp/dnsApp.config 2. These do not have to be the same program, as is the case with Pi-Hole (dnsmasq) and Technitium 3. As it happens, many website operators use third parties for authoritative DNS service
- fmajid 1y agoHe fails to mention how many systems (Android, iOS, Firefox) feel entitled to ignore the LAN's choice of DNS server and use various DoH or similar solution, which means split DNS no longer works when your resolver is getting its results from CloudFlare et al, with NXDOMAIN or external IP addresses as a result.