Re: dns wrap up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx, 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.
 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux