A and AAAA

The next most important record types are the A and AAAA records, which map a hostname to an IP address. A maps the host to an IPv4 address, whereas an AAAA record maps it to an IPv6 address.

We want to point api.hobnob.social to the server that's running our server (142.93.241.63), so we need to create the following A record:

api    IN    A    142.93.241.63

We can also direct traffic going to hobnob.social to the same IP address. But instead of writing the full hostname (hobnob.social), we can replace it with the @ symbol:

@    IN    A    142.93.241.63
There are two parameters you can set at the top of a zone file: $ORIGIN and $TTL$ORIGIN should be set to the DNS zone's highest level of authority, which, in most cases, is the domain name. The ...

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.