DNS: Difference between revisions

Line 35:
<br />
{| class="wikitable" style="margin: 0 auto; text-align:center; width:80%;"
|+DNS HeaderHeaders
|-
| colspan="16"| Identification || colspan="1"| QR || colspan="4"| Opcode || cellpadding="1"|<tt>A<br>A</tt>|||<tt>T<br>C</tt>|||<tt>R<br>D</tt>|||<tt>R<br>A</tt>|||<tt>Z</tt>|||<tt>A<br>D</tt>|||<tt>C<br>D</tt>|| colspan="4"| RCode
Line 100:
1 Format Error
2 Server Failure
3 Name Error Name specified in query does not exist in domain, This code can be used by Authoritative Server for a zone (as it knows all objects & subdomains) or by caching server that implements negative caching.
implements negative caching.
4 Not Implemented Type of Query not supported by server.
5 Refused Server refused to process the query, generally for policy reasons - operations such as Zone Transfer are restricted, Server will honor Zone Transfer only from certain devices.
Line 110 ⟶ 111:
 
;QDCount:
Specifies the number of questions in the Question section of the message.
 
;ANCount:
Specifies the number of resource records in the Answer section of the message.
 
;NSCount:
Specifies the number of resource records in the Authority section of the message.
NS stands for Name Server
 
;ARCount:
Specifies the number of resource records in the Additional section of the message.
 
= Zone =