News for hackers. Stuff that matters.
Re:Ask HN: What is the thing you've build you regret the most? by ill0gicity on Saturday November 19, 2022 @09:37PM (#33677562)
Once upon a time I wrote a DNS zone sync shell script. It was great, and terrible. Truth is, it should never have been a shell script. I used curl to make API calls to Oracle (then Dyn), awk to turn API output into the local zone format, sorted the local and remote zone data, diff'd them, then more curl'ing to make the updates. It was brilliant then-- now, not so much.
Re:Ask HN: What is the thing you've build you regret the most? by lee101 on Saturday November 19, 2022 @09:59PM (#33677690)
That's funny it reminds me a lot of an awk script we used to use to push zone files... when I worked at domain name registry in New Zealand. It was wrapped in a lot of pearl for extra job safety, lots of weird issues with special characters, working in the DNS space is very interesting, lots of security overlap and problems like trying to stop people using the system for botnet command and control centres.