DNS basic for myself
Introduction
First, before I start to explain about SOA, NS record type. It would be better to understand overall structure of DNS. I won’t explain all details of it. Please visit this site see more.
Ok, so now I understood differences between those servers.
Second, then what are records in DNS?
Records (aka zone files) are instructions that live in Authoritative Name Server for handling requests for domains.
There are bunch of record types. Such as… ‘A record’ which returns IP address of a domain, ‘CNAME record’ which returns a domain or sub-domain for another domain and ‘SOA record’, ‘NS record’ thatI will explain right below.
SOA record, NS record
- SOA (Start Of Authority)record: Contains important information about domain or zone such as administrator’s email address, when the domain was last updated and how long the server should wait between refreshes. Each DNS zone needs SOA record in order to conform to IETF standard.
- NS (Name Server) record: Indicated which DNS server is authoritative for that domain. (which means a server that contains the actual DNS records.)
According to above explanation, (And if I understood correctly.) SOA is a record contains basic but import data of a DNS zone and NS is a record that points out a server which have actual DNS records.
I know it is very high-level explanation but hope it helps anyone like me. (Who don’t even have concept of DNS.)
Sources
- https://www.cloudflare.com/ko-kr/learning/dns/dns-records/dns-soa-record
- https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html#SOArecords
🍰