On Mon, 2021-05-03 at 13:42 -0700, Jack Craig wrote:
$TTL 3D ; default ttl for records without a specified lifetime
$ORIGIN
linuxlighthouse.com.
linuxlighthouse.com. CAA 0 issue "letsencrypt.org"
@ IN SOA
ws.linuxlighthouse.com.
root.linuxlighthouse.com. (
2021050301 ; serial number
16384 ; ns refresh
2048 ; ns retry
1048576 ; authority expiry
2560 ); min (RFC2308 §4)
IN NS
ws.linuxlighthouse.com.
IN NS
ns3.attdns.com.
; IN MX
linuxlighthouse.com.
ws IN A 108.220.213.121
www IN A 108.220.213.121
IN A 108.220.213.121
Usually, that'd be done like this (don't cut and paste this, I've just
shown the sequence of things, without checking for correct content):
$ORIGIN
linuxlighthouse.com.
$TTL 3D;
@ IN SOA
ws.linuxlighthouse.com.
root.linuxlighthouse.com. (
2021050301 ; serial number
16384 ; ns refresh
2048 ; ns retry
1048576 ; authority expiry
2560 ); min (RFC2308 §4)
IN NS
ws.linuxlighthouse.com.
IN NS
ns3.attdns.com.
; IN MX
linuxlighthouse.com.
IN A 108.220.213.121
ws IN A 108.220.213.121
www IN A 108.220.213.121
I have no idea about CAA lines, so I won't comment on where they're
supposed to go.
Origin before TTL, it's the first thing in the record. The word means
exactly what it says. For what it's worth, it was often omitted from
typed-in records, and the server would presume it was there where it's
supposed to be.
Your Start of Authority (SOA) record lists your name server, then the
contact address for your domain (root(a)linuxlighthouse.com, with the @
sign represented by the first dot, as you already typed it). If you're
not actually doing a mail service for your domain name, it *ought* to
be the real contact address.
The "IN A" record that starts with a blank space goes *above* all your
subdomains.
All those records starting with blank spaces (NS, MX, first A) are base
definitions for your entire domain - it's nameserver(s), mail servers,
and the IP for the domain name (that's the domain name without any
prefixes:
linuxlighthouse.com).
--
uname -rsvp
Linux 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.