Represents an NS record

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

name: string

The name of this record. Must be a FQDN.

For example for a cname: test.mydomain.com

For an a: mydomain.com

server: string

The name server. Must be a FQDN. e.g. ns1.testdomain.com

type: DNSTypes

The type of this record. For example:

  • A
  • CNAME
  • MX
  • NS

Accessors

  • get Key(): string
  • Unique identitier for this entry as a string

    Returns string

Methods

  • Determines if another DnsNsEntry has the same values as this one. Does not comapre identities only values.

    Parameters

    • otherEntry: DnsNsEntry

      Other DnsNsEntry to compare values with

    Returns boolean

    true if identical in value else false