NS RecordΒΆ

The NS record is the Name Server record.
This points clients and servers towards a DNS server for a particular domain/name/record.

Note

This example assuming the main server instance is called dns.

dns.add('hvornum.se', 'NS', 'ns1.hvornum.se')

This creates a record that tells anyone asking, that the primary name server for hvornum.se is located at ns1.hvornum.se.

Note

There are other options as well, such as ttl=3600. But a basic record can be created with only these three options.