Domain Detective

API Reference

Class

DnsUpdateMessage

Namespace DnsClientX

Helper methods for constructing DNS UPDATE messages.

Inheritance

  • Object
  • DnsUpdateMessage

Methods

CreateAddMessage(System.String zone, System.String name, DnsClientX.DnsRecordType type, System.String data, System.Int32 ttl) #

Creates a wire formatted message for adding a DNS record.

Parameters

zone System.String required
Zone to update.
name System.String required
Record name.
type DnsClientX.DnsRecordType required
Record type.
data System.String required
Record data.
ttl System.Int32 required
Time to live of the record.

Returns

Serialized DNS UPDATE packet.

CreateDeleteMessage(System.String zone, System.String name, DnsClientX.DnsRecordType type) #

Creates a wire formatted message for deleting a DNS record.

Parameters

zone System.String required
Zone containing the record.
name System.String required
Record name.
type DnsClientX.DnsRecordType required
Record type.

Returns

Serialized DNS UPDATE packet.

{{ include "footer" }}