Max / Technical notebook

Understanding a connection.

Short notes on the pieces between a domain name and a working website.

A name needs an address

DNS connects a hostname to an IP address. An A record supplies IPv4; an AAAA record supplies IPv6. Publishing both only helps when the service is reachable over both networks. A cached answer can remain in use until its lifetime expires.

Encryption starts with identity

HTTPS uses TLS to encrypt traffic between a client and a server. The certificate must match the hostname the client requested. Keeping that certificate renewed is part of operating the service.

Reachable is only the first test

A listening port shows that a process can accept connections. A useful check also verifies the application response and its dependencies. Testing from a second network can reveal a problem that a local check misses.