CNAMEs and dig
CNAME Flattening
I learned about CNAME flattening on Cloudflare:
tl;dr you don’t need to use A records for the apex/root domain on Cloudflare. Can use a CNAME, as you would for subdomains (e.g. www).
Using a CNAME for the apex domain means I don’t have to specify the IP address. Neat.
(Wow, does Cloudflare have a lot of features these days. No wonder people burn out, another thing I want to learn… but is probably a distraction atm.)
man dig
Want to perform a site DNS lookup in terminal?
dig yahmad.com [+noall +answer]
- +noall to clear the display flags (don’t show anything, too much info)
- +answer to re-enable the answer flag (the data we care about)