DNS and HTTP Basics for Web Projects
DNS and HTTP belong to the basic structure of every web project. The examples cover resolution, headers, policies, and session cookies.
Read DNS records and lookups
These lookups return addresses, mail servers, TXT entries, and responsible name servers.
Read request and response headers
These headers define format, caching, and variants of a resource.
Set CORS and CSP
CORS handles access between origins. CSP limits allowed sources for content.
Set cookies for sessions
Key points
- DNS provides the basis for reachability and mail delivery
- Headers define format, cache behavior, and origin
- CORS handles access between origins
- CSP limits allowed sources
- Cookies store sessions and attributes
