🦀 Hello, Rust-coder!

Welcome to my blog mostly about my endeavour into Rust-programming. I don't consider myself a very skillful programmer, need to look at examples before I can get going. So being able to use tools like Claude, ChatGPT, Gemini is a big boost for my productivity.

Using Claude I have written a DNS-load-balancer. If you once in a while need an internal DNS-server you usually add it to available servers in network-settings. But sometimes it does not answer, or other servers are quicker to respond and you don't get the desired result.

This queries all servers in parallel, and you either get a response with the the information you requested, or that none could find what you asked for. The source-code for dns-load-balancer is at Github.

The DNS-servers are configured in the file `config.toml`. Edit this to suit your needs, configure your network-settings to use 127.0.0.1 (localhost) as DNS-server and you'll always get an answer eventhough one or more servers are not available.

Have fun! If you get stuck, remember to ask tools like Claude, they are very helpful if you ask the questions the right kind of way.

Website built with the Astro framework hosted on Cloudflare. Check out Astro and Cloudflare's guide on how to deploy on their infrastructure.