DNS: Difference between revisions

Content added Content deleted
Line 35: Line 35:
<br />
<br />
{| class="wikitable" style="margin: 0 auto; text-align:center; width:80%;"
{| class="wikitable" style="margin: 0 auto; text-align:center; width:80%;"
|+DNS Header
|+DNS Headers
|-
|-
| 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
| 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: Line 100:
1 Format Error
1 Format Error
2 Server Failure
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.
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.
4 Not Implemented Type of Query not supported by server.
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.
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: Line 111:


;QDCount:
;QDCount:
Specifies the number of questions in the Question section of the message.


;ANCount:
;ANCount:
Specifies the number of resource records in the Answer section of the message.


;NSCount:
;NSCount:
Specifies the number of resource records in the Authority section of the message.
NS stands for Name Server


;ARCount:
;ARCount:
Specifies the number of resource records in the Additional section of the message.


= Zone =
= Zone =