HNHacker News
TopNewBestAskShowJobs

plagiat0r

47 karma · joined September 30, 2023

submissionscomments
plagiat0r··on Understanding Round Robin DNS
A bold hypothesis. The problem is, nowhere in the tcp handshake you will find the string, a.k.a fqdn. And one IP can host hundreds of fqdns.

No way MacOS parse tls clienthello looking for SNI.

Also I doubt a DNS resolver runs in the Mac kernel, ring 0 to pull this off.

The thing with DNS is that it works on layer 3. Hold on, what? Yes, layer 3 because you obtain network address for layer 3 (ip4, ipv6) but latency can be measured only in layer4 (tcp, quic). Of course I know that common wisdom says DNS is a layer 7 but from functional perspective, you are yet to establish your destination network address, therefore functionally it's like layer 3 to me. Or even lower, because without destination, you can't even start creating a packet and inspecting your routing table entries figuring out if you can even reach it ;)

There is zero chance Mac resolver libraries can connect you to the fastest responding server - unless there is no Berkeley sockets but something that allows you to do a connect(char * fqdn) and system library return you two pipes, one for write, other for read, and that you can close them independently. I doubt it there is such a thing, but don't know Mac os API.

plagiat0r··on Understanding Round Robin DNS
I've implemented a custom powerdns backend that combines heathchecks, weighted probabilistic round robin, and geo DNS and it works excellent to build and auto healing CDN.

It was specifically built for multi DC or multi cloud or hybrid operations that are on separate continents, with geo DNS, heathchecks and faiolver on the DNS level at the same time. When all usa servers in the WRR pool are down, or DC is down, it starts to answers the closest next set of WRR (Canada) automatically.WRR pools are dynamic and auto healing, constantly doing http heathchecks.

It is also dirt cheap, like 100x cheaper as opposed to aquire provider independent IP address space and run and operate AnyCast and having 24/7 NOC teams on this AnyCast, constantly adjusting bgp communities etc. and it is not like anycast and bgp solve anything when one server is down but other works. You can't stop announcing whole prefix if you run 200 machines but only one or two are down.

TTL I'm using is 30 seconds.

I never shared this backed with the world, you can't test it or purchase it. But maybe some day I'll launch a route53 competitor ;)

plagiat0r··on Understanding Round Robin DNS
But this does not make sense. How Mac operating system resolver are supposed to test the latency of (A)ddress records? Browser use this network address to actually make a tcp connection on 443 and measure latency here. Or udp/443 when using http3/quic.

But operating system resolver only speak with DNS servers. It does not make https connections to calculate latency which would pick "the closest server". Also dns had no way to tell what port you will be using, maybe service is on 8443 or something.

For geo DNS I've built a custom backed for powerdns with geo DNS capabilities and healthckecks to quickly remove a broken vps from the DNS responses.

plagiat0r··on Understanding DNS Resolution on Linux and Kubernetes
Excellent article. I would add two things:

Negative DNS responses are possible in two forms:

1. nxdomain and a

2. NODATA response.

They both mean that a DNS record is not found but they have different scope. NODATA response rcode is NoError, not nxdomain yet the answer is still negative, like http 404. To understand the difference, read this short rfc https://datatracker.ietf.org/doc/html/rfc2308

Also, I would point to an excellent series around this subject of Linux application obtaining network address from the DNS, covers gnu libc and musl:

https://biriukov.dev/docs/resolver-dual-stack-application/0-...

plagiat0r··on Using DNAME for reverse DNS of inter-RIR transferred IP address ranges [pdf]
Thanks for sharing, albeit this is an old article, from 2021.

The end result is very similar to even an older concept defined in RFC2317, but here instead of creating 256 cname records, one dname that causes cname to be synthetized.

plagiat0r··on Show HN:Using Cloudflare, query DNS results from 120 countries and 330 cities
That is an excellent tool, thank you for sharing.
plagiat0r··on Ask HN: What domain registrar and DNS provider do you use? (July 2024)
I'm using gkg.net, ovh and Google cloud domains as registrars, depending on the gTLD.

As for authoritative DNS, I'm hosting my own solution based on powedns, custom backend, and route53 + Google Cloud DNS, evaluating Bunny DNS as well.

Good ones are also ClouDNS.net and digital ocean, albeit it is very basic with only a handful of RR.

plagiat0r··on Ask HN: What domain registrar and DNS provider do you use? (July 2024)
Author asked about authoritative DNS servers used to serve purchased domains, not recursive DNS resolvers.
plagiat0r··on Tell HN: Domain migrated from Google to Squarespace went down after 1 month
https://www.registry.google/register-a-domain/

There are a few registrars that can be used. I wish this list be bigger, but it's not only squarespace.

plagiat0r··on Tell HN: Domain migrated from Google to Squarespace went down after 1 month
Migrate to gkg.net with your domains, transfer them asap
plagiat0r··on Tell HN: Domain migrated from Google to Squarespace went down after 1 month
I hope you sue squarespace for damages. Registrars are disgrace these days, disabling your domains with clientHold, etc. Cloudflare is no better, bans their customers including their DNS.

Host DNS yourself, always. But it won't help for a shitty registrars.

plagiat0r··on DNSBomb – pulsing DoS attack exploiting DNS queries and responses
The response from bind is not great. Sure, one individual bind resolver may have lower amplification factor with those rate limits, but it is much more than 1x. As a consequence, 100k of such resolvers could do a burst that could saturate the victim bandwidth.
plagiat0r··on Tell HN: Steamcommunity.com has lost their DNS-A record
Whatever is hosted on the domain, registrar should never intervene without a court order.

This is beyond comprehension how registrars are abusing their clients.

plagiat0r··on API Shouldn't Redirect HTTP to HTTPS
It would be great to not listen on tcp/80 for your API, except that acme http-01 uses tcp/80 explicitly for domain validation. So in order to get https, you open http.

Sure, there is dns-01 and tls-alpn-01 but I presume that majority uses http-01 and migrating it is not a trivial matter.

plagiat0r··on DNS glitch that threatened Internet stability fixed; cause remains unclear
The biggest issue here is a total lack of monitoring of root zone sync among all 1840+ root server instance, where an issue is detected accidentally by a random dude.

Huge oversight from ICAAN and ARIN. I know they are behind anycast, but each server must also have an unicast address for management.

plagiat0r··on Ask HN: Do you run your own DNS servers?
Of course I run my DNS servers, actually I run powerdns and my custom pipe backend with very advanced geodns capabilities, aliases, load balancing, health checks, etc.

This is private backend, not open source.

It cost me four virtual machines, approximately $6/month each vm, but it is well worth it. And a bit of development time for the backend, but it runs for years, stable.

plagiat0r··on Show HN: Pico: An open-source Ngrok alternative built for production traffic
Is this somewhat compatible with other proposals, like haproxy or ietf?

https://www.haproxy.com/blog/announcing-haproxy-2-9#reverse-...

https://datatracker.ietf.org/doc/draft-bt-httpbis-reverse-ht...

Or piko implements custom upstream registering and require a custom application code to handle this channel?

plagiat0r··on Deleg: The Hairy DNS Camel
Thank you for this post. Not sure why DNS is not very popular among this community, but I love any related DNS submits, especially any new proposals to solve current DNS pains.

This DELEG proposal is very interesting and deserve a better coverage.

plagiat0r··on Keep a back up of your DNS on Netlify – account closed for reporting spam
People should run their own authoritative DNS servers and use an external registrar.

So many times those big companies nuke a customer entirely, including a dns and you're offline for few days.

plagiat0r··on Medium to Reach Profitability After Cutting Cloud Costs
O lot of companies actually migrate back to onpremise. Modern CPU and high memory servers are cheaper than ever, while cloud bill for compute are going slightly up, with a tremendous fees for network traffic.
plagiat0r··on Cloudflare disabled DNS can't transfer out domain
Transfer domains ASAP, there are 2800+ icaan registrars, I use gkg.net. Fill the complain to icaan about cloudflare. A civil case is also possible.

And host your DNS using multiple cheap vms using multiple companies + power DNS.

If you don't want to manage this yourself, use at least two companies DNS auth services and edit their apex NS list accordingly, ignore SOA being different, and make sure you changes are applied to both DNS providers.

And keep your (A)dress/(AAAA)ddress records TTL low, max 3 hours so you can act quickly.

I've used cloudns.net and digital ocean both for one domain, both allows to edit NS in apex.

plagiat0r··on Show HN: Neco – Coroutine Library for C
I love how simple and elegant is this to use: https://github.com/tidwall/neco/blob/main/examples/echo-serv...

I was going to actually implement an echo server for load balancer health checks with minimal memory usage, but never considered doing it in C but I might just use it! Thank you so much.

plagiat0r··on Google plans to stop announcing BGP routes at IX
But isn't the whole point of IX and IX route servers to openly peer with every IX members automatically, instead of doing individual private peeing with each member?

This looks like a step back to introduce some extra policies and individual private peering...

The title is accurate because Google plans to stop announcing routes and accept them to/from the IX. Forcing members to private peer with them individually instead.

plagiat0r··on Google Is Killing Retro Dodo and Other Independent Sites
While it is simple to blame Google for traffic surge, the thing is that I have them on my RSS reader for years and I barely visit the site even once a month.

Articles are not interesting to me at large, 99.9% of the time, there is no comments sections to correct them or engage and challenge authors or other readers, seems like owners so not care about what their audience has to say. They only care about views. There is no community at the site, so they are at mercy of a search engine without spending a dime on advertising.

There is only room for a few "best top 10 Pokemon ROM hacks" articles... It was good when it last, but all comes to an end...

plagiat0r··on Google plans to stop announcing BGP routes at IX
It appears that Google will no longer open peering with IX members, not sure if this is global or only for certain IX.
plagiat0r··on Show HN: I built a search engine for 200k open source icons
I have it in bookmarks already, albeit with iconbuddy.app fqdn where it claimed 100k open source icons.

We have a .com domain now and double the icon count, congratulations.

plagiat0r··on Test server with Ping, Traceroute, DNS, HTTP and more from global nodes
Thanks, this is a great tool but having 45 nodes worldwide cost a bit of money, I would love this to sustain and be sponsored somehow, what is the plan to cover operational cost?
plagiat0r··on Trailing Dots in Domain Names
As a convenience, browser do not need empty zero length root label. Dots only separate labels? The problem with advocating this, is that TLS certificates won't work, also a lot of stuff like haproxy will threat both host headers like they are different.

It is impossible to get this dot and empty root label back to HTTP protocol, or any other like SMTP. That train departed long long time ago

plagiat0r··on Tell HN: NetworkSolutions.com lost the ability to update root DNS w/ custom DNS
It may be trival, but head to icaan accredited registrar list and you have more than 2800 competitors to transfer your domain to.

Pick one that supports glue records, ipv6 glue, and dnssec, but unfortunately the icaan list does not provide this information...

The one I use for 20+ years is gkg.net. they support all of the above, and "hosts" (glue records) supports ipv4 and ipv6, but also multiple addresses per name.

Gkg IANA number is 93 so they are here for a long time.

plagiat0r··on Show HN: Cyclops – dynamical UI for your Kubernetes applications
Any chance to get more screenshots or a short video, explaining what cyclops actually does?
← PreviousPage 2 of 3Next →