How does one add an SOA record to DNS when creating new DNS records?

I’m not seeing an option for the SOA record type in the DNS Panel’s dropdown of record types when creating a new dns record. Is there another way to add an SOA records on Netlify? Can a different record type be used for SOA records, perhaps?

Aside: some minor nitpicks, if I may, the DNS Panel’s UI could use a bit of love. In particular, some separation between record types in the listing table would be nice.

You cannot add an SOA record. Why are you trying to add an SOA record?

I had it previously on Linode, before moving to Netlify DNS.

The only reason I moved DNS from Linode was to have access to branch urls without moving to www as my primary domain, as I understood it.

Why do I need an SOA? To quote Cloudflare:

The DNS “start of authority” (SOA) record stores important information about a domain or zone such as the email address of the administrator, when the domain was last updated, and how long the server should wait between refreshes.
All DNS zones need an SOA record in order to conform to IETF standards. SOA records are also important for zone transfers.

source

Is there a reason why it’s not an available DNS record type?

Because you are not the manager of the DNS zone, Netlify is (or NS1 which is the provider Netlify use.) SOA is handled at the zone administration level, not by a user such as you or me.

An SOA record will already exist for a domain if you have delegated it to Netlify. Run dig <yourdomain>.<tld> SOA e.g.

$ dig netlify.com SOA
netlify.com.		3600	IN	SOA	dns1.p04.nsone.net. hostmaster.nsone.net. 1664458603 43200 7200 1209600 300
1 Like

I see. Okay, thanks for the help!

dig <mydomain>.com SOA                                                                                         ✔ 

; <<>> DiG 9.18.21 <<>> <mydomain>.com SOA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50028
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;<mydomain>.com.           IN      SOA

;; ANSWER SECTION:
<mydomain>.com.    3600    IN      SOA     dns1.p01.nsone.net. domains+netlify.netlify.com. 1704346454 43200 7200 1209600 3600

;; Query time: 56 msec
;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP)
;; WHEN: Thu Jan 04 20:39:31 PST 2024
;; MSG SIZE  rcvd: 126