TTL, Propagation, and Why DNS Changes Are Not Instant
Understand TTL, resolver caches, and glue so a DNS edit is not instant, and learn how to change records without hours of surprise downtime later.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Understand TTL, resolver caches, and glue so a DNS edit is not instant, and learn how to change records without hours of surprise downtime later.
Put nginx in front of a Node.js app bound to 127.0.0.1, terminate TLS at the proxy, and keep the Node runtime off the public internet entirely.
Install PHP packages for production with Composer --no-dev, a dumped autoloader, and a deploy user so PHPUnit and debugbars never reach the live VPS.
A wide SPF record is as bad as none. Publish only the IPs and includes you actually send from, stay under ten DNS lookups, and end with -all.
Stop appending pubkeys to authorized_keys on every VPS. Run a small SSH CA, issue short-lived user certs, and revoke access without visiting each host.
Turn off nginx proxy buffering and gzip for Server-Sent Events so tokens from a remote model API reach the browser as they generate live on Ubuntu.
Point one DNS record at your VPS, write a five-line Caddyfile, and Caddy obtains and renews TLS certificates for your Vite app automatically.
Take a docker-compose.yml from the laptop to a hardened production host with TLS, restart policies, and rate limiting behind Caddy or Nginx.
Compare Ansible, Puppet, Chef, and Salt on agent model, pull versus push, and DSL so you can choose the right config management tool.
Point existing OpenAI clients at llama-server on localhost so a small GGUF model serves chat completions on a CPU VPS in Lucknow without a GPU.
Take a container image and turn it into a running workload on k3s using Deployment and Service manifests, then verify it end to end.
Give every self-hosted service its own Docker network and limit cross-service talk so one compromised container cannot walk the whole stack.