Difference between revisions of "Unit DNS"

From Ultibo.org
Jump to: navigation, search
Line 282: Line 282:
 
|-
 
|-
 
|  
 
|  
| style="width: 90%;"| 
+
| style="width: 50%;"| 
 
|-
 
|-
 
|}
 
|}

Revision as of 00:54, 18 January 2017

Return to Unit Reference


Description


Ultibo DNS client unit

Note: DNS Client is IPv4 based, for IPv6 see new Winsock2 functions

See RFC 1035 Section 4 for details

Constants



[Expand]
DNS specific constants DNS_*


[Expand]
DNS flag constants DNS_FLAG_*


[Expand]
DNS field masks constants DNS_OPCODE_*


[Expand]
DNS query code constants DNS_QUERY*


[Expand]
DNS response code constants DNS_NO_*


[Expand]
DNS record type constants DNS_TYPE_*


[Expand]
DNS address class constants DNS_CLASS_*


[Expand]
DNS message compression constants DNS_POINTER_*


Type definitions



DNS specific types

[Expand]

PDNSHeader = ^TDNSHeader;

TDNSHeader = packed record

DNS message

[Expand]

PDNSMessage = ^TDNSMessage;

TDNSMessage = packed record

DNA name

[Expand]

PDNSName = ^TDNSName;

TDNSName = array[0..MAX_DNS_NAME - 1] of Char;

DNS question

[Expand]

PDNSQuestion = ^TDNSQuestion;

TDNSQuestion = packed record

DNS resource

[Expand]

PDNSResource = ^TDNSResource;

TDNSResource = packed record

DNA client data

[Expand]

PDNSClientData = ^TDNSClientData;

TDNSClientData = record


Class definitions


To be documented

Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure DNSInit;
Description: To be documented


[Expand]
function DNSStart:LongWord;
Description: To be documented


[Expand]
function DNSStop:LongWord;
Description: To be documented


Return to Unit Reference