dns: some light reorganisation for clarity

This commit is contained in:
silver 2023-04-24 20:40:48 +01:00
parent 695f9a5763
commit d762001cb6

View file

@ -159,7 +159,6 @@ in {
''
$TTL 60 ; 1 minute
; hostmaster@skynet.ie is an email address that recieves stuff related to dns
; the indentation is super super important as it signifies that all these are a part of @ (skynet.ie)
@ IN SOA ${cfg.own.nameserver}.skynet.ie. hostmaster.skynet.ie. (
; Serial (YYYYMMDDCC) this has to be updated for each time the record is updated
${current_date}
@ -168,14 +167,15 @@ in {
604800 ; Expire (1 week)
3600 ; Minimum (1 hour)
)
NS ns1.skynet.ie.
NS ns2.skynet.ie.
@ NS ns1.skynet.ie.
@ NS ns2.skynet.ie.
; @ stands for teh root domain so teh A record below is where skynet.ie points to
A 193.1.99.76
; MX 5 mail.skynet.ie.
@ A 193.1.99.76
;@ MX 5 mail.skynet.ie.
; can have multiple mailserves
;MX 20 mail2.skynet.ie.
;@ MX 20 mail2.skynet.ie.
; ------------------------------------------