API Reference
Class
DnsUpdateMessage
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
- Zone to update.
- name System.String
- Record name.
- type DnsClientX.DnsRecordType
- Record type.
- data System.String
- Record data.
- ttl System.Int32
- 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
- Zone containing the record.
- name System.String
- Record name.
- type DnsClientX.DnsRecordType
- Record type.
Returns
Serialized DNS UPDATE packet.