You can write a DNS server that does anything you want, it doesn't have to just return a static set of records. A few examples: Replit has a blog post about why they wrote their own authoritative DNS server to handle routing.
- Should I have my own DNS server?
- Can I make my own DNS resolver?
- Can I use 1.1 1.1 for my DNS?
- Why is 8.8 8.8 a popular DNS server?
Should I have my own DNS server?
If not for learning, you almost certainly should NOT run your own DNS servers. As mentioned above, for smaller sites, your domain registrar probably provides DNS hosting for free. For users that need more control, greater uptime, or improved performance, there are paid DNS hosting providers that do a great job.
Can I make my own DNS resolver?
Running your own resolver is straightforward, fairly easy, and lets you take back some of that control. As a customer not wanting to use an ISP's resolver, you can also consider that you're freely handing over all of the DNS queries you make to a company that can and does (in some cases) monetize it.
Can I use 1.1 1.1 for my DNS?
To start using 1.1.1.1 for your DNS queries, you will need to change the DNS settings in your device or router. You can also set up 1.1.1.1 for Families for an added layer of protection on your home network against malware and adult content.
Why is 8.8 8.8 a popular DNS server?
8.8 is the primary DNS server for Google DNS. Google DNS is a public DNS service that is provided by Google with the aim to make the Internet and the DNS system faster, safer, secure, and more reliable for all Internet users. Google's service, like many of the other global DNS servers is available for anyone to use.