Earlier quoted context omitted.
Curious how you imagined handling TTL and response caching in this kind of scenario? In my experience, ISPs (particularly residential providers) sometimes ignore/override the TTL in authoritative DNS records and aggressively cache responses, for reasons...
Yeah great question, and I don't fully have an answer yet! For the scenario I need it for, the hostname only does one thing and won't be looked up by the client until it's needed, which helps avoid that problem. Furthermore, thank to K8s nodePort routing, as long as one of the nodes is still alive and answering, the request will be routed even if the first IP is no longer valid. I've also considered as the cluster si…
Bunny DNS – A scriptable DNS platform
41–50 of 90 posts
Re: Bunny DNS – A scriptable DNS platform
#42Re: Bunny DNS – A scriptable DNS platform
#43They had me at the combination of the words "scriptable" and "DNS." My monkey brain is susceptible to that clever trick. I'm struggling to see what this could be used for, but the comments here help. In summary: - an alternative to anycast. - an alternative to routing inside your app (your app could detect the IP, and have different behavior based on rules internally). This means you are always going to the same orig…
>They had me at the combination of the words "scriptable" and "DNS." Same, but then they lost me at Javascript.
I run PowerDNS but haven't found a reason to play with this yet.
Re: Bunny DNS – A scriptable DNS platform
#44They had me at the combination of the words "scriptable" and "DNS." My monkey brain is susceptible to that clever trick. I'm struggling to see what this could be used for, but the comments here help. In summary: - an alternative to anycast. - an alternative to routing inside your app (your app could detect the IP, and have different behavior based on rules internally). This means you are always going to the same orig…
>They had me at the combination of the words "scriptable" and "DNS." Same, but then they lost me at Javascript.
Re: Bunny DNS – A scriptable DNS platform
#45It always puzzles me when people speak of "routing" in conjunction with DNS.
Head over to https://cachecheck.opendns.com/ and plug in 'www.google.com', you'll notice the Google returns different IPs in different geographic locations to route visitor traffic.
Re: Bunny DNS – A scriptable DNS platform
#46I've been following Bunny (BunnyCDN/Bunny.net) for a while and love what they are doing. Couple of suggestions: • Every code snippet should be copy/pasteable (and work well), that article might be the entry point to what many are doing. • I have this feeling this is following Cloudflare's Workers style of `addEventListener('fetch', eventHandler);`. I need to write a 500-word essay on that, but the short version is th…
> I strongly believe that it'd be way better for their clients if the client could just do `export default async function handleDns(event) { ... }` I'm the tech lead of Cloudflare Workers and you're absolutely right about this. We actually introduced such a syntax as an option a while back and are encouraging people to move to it: https://blog.cloudflare.com/workers-javascript-modules/ Your argument is exactly one of…
Re: Bunny DNS – A scriptable DNS platform
#47Well dang, that's what I get for taking too long to implement my idea :-D Seriously this is great. I started building a "scriptable DNS" to make it easy to have a DNS record that always points at the valid K8s nodes in my cluster (and randomizes the order of the IPs each time). Since nodes can come and go very quickly (especially during an upgrade), and their IP changes every time, it's useful to be able to act dynam…
Re: Bunny DNS – A scriptable DNS platform
#48Re: Bunny DNS – A scriptable DNS platform
#49Re: Bunny DNS – A scriptable DNS platform
#50They had me at the combination of the words "scriptable" and "DNS." My monkey brain is susceptible to that clever trick. I'm struggling to see what this could be used for, but the comments here help. In summary: - an alternative to anycast. - an alternative to routing inside your app (your app could detect the IP, and have different behavior based on rules internally). This means you are always going to the same orig…
https://gist.github.com/hayesr/55b55d167f67f57fe5e56ec3ab1f8...