01DNS
Following a DNS answer back to its source
The system resolver, a recursive server, and the cache: three things to check separately.
A working notebook about code, terminals, and networks. Short explanations, commands with context, and small examples worth keeping close.
HTTP/2 200
content-type: text/html
# one request, fewer assumptionsM notes/http-headers.md ?? notes/dns-cache.md
Test the assumption. Keep the useful part.
The system resolver, a recursive server, and the cache: three things to check separately.
Status codes, headers, redirects, and request timings with a few curl commands.
Explicit pull behaviour, tidy remote references, and a short global configuration.
A handful of Bash settings that help every day without turning your shell into a separate project.
Bash, Git, and Vim, without a framework or a long plugin list. Keep the lines that make sense for the way you work.
Explore the files ↗↓ Download examples# Interactive Bash settings
case $- in *i*) ;; *) return ;; esac
export EDITOR=vim
export HISTCONTROL=ignoreboth
shopt -s histappend
alias ll='ls -lah --group-directories-first'
alias ..='cd ..'
bind 'set completion-ignore-case on'[init]
defaultBranch = main
[pull]
ff = only
[fetch]
prune = true
[core]
editor = vim
[diff]
colorMoved = default" A small, plugin-free starting point
set number
set expandtab
set shiftwidth=4
set tabstop=4
set ignorecase
set smartcase
set incsearch
set hlsearch
syntax onThe most useful setting is one
you can explain.