Internet Direct (Indy)
Home
PreviousUpNext
TDNSHeader.RCode Property

Result code returned in a DNS response.

Pascal
property RCode: Word;

RCode is a Word property that represents the result code returned by a DNS server as part of a response to a DNS query. RCode may contain one of the following values and associated meanings: 

 

Value 
Meaning 
No error condition. 
Query Format error. The name server was unable to interpret the query. 
Server failure. The name server was unable to process this query due to a problem with the name server. 
Name Error. Meaningful only for responses from an authoritative name server, this code signifies that the domain name referenced in the query does not exist. 
Not Implemented. The name server does not support the requested kind of query. 
Operation Refused. The name server refuses to perform the specified operation for policy reasons. For example, a name server may not wish to provide the information to the particular requester, or a name server may not wish to perform a particular operation (e.g., zone transfer) for particular data. 
Reserved for future use. 
Reserved for future use. 
Reserved for future use. 
Reserved for future use. 
10 
Reserved for future use. 
11 
Reserved for future use. 
12 
Reserved for future use. 
13 
Reserved for future use. 
14 
Reserved for future use. 
15 
Reserved for future use. 

 

RCode is represented in a DNS header as a 4-bit field. Changing the value of RCode ensures that the appropriate bit field is updated in the DNS header for the message packet.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.