resolve_messages.mes 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. # Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  8. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  10. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  11. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  12. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  13. # PERFORMANCE OF THIS SOFTWARE.
  14. $NAMESPACE isc::resolve
  15. % RESLIB_ANSWER answer received in response to query for <%1>
  16. A debug message reporting that an answer has been received to an upstream
  17. query for the specified question. Previous debug messages will have
  18. indicated the server to which the question was sent.
  19. % RESLIB_CNAME CNAME received in response to query for <%1>
  20. A debug message recording that CNAME response has been received to an
  21. upstream query for the specified question. Previous debug messages will
  22. have indicated the server to which the question was sent.
  23. % RESLIB_DEEPEST did not find <%1> in cache, deepest delegation found is %2
  24. A debug message, a cache lookup did not find the specified <name,
  25. class, type> tuple in the cache; instead, the deepest delegation found
  26. is indicated.
  27. % RESLIB_EMPTY_RESPONSE empty response received to query for <%1>
  28. A debug message, the response to the specified query from an upstream
  29. nameserver did not contain anything in the answer or authority sections,
  30. although in all other respects it was a valid response. A SERVFAIL will
  31. be returned to the system making the original query.
  32. % RESLIB_ERROR_RESPONSE unspecified error received in response to query for <%1>
  33. A debug message, the response to the specified query to an upstream
  34. nameserver indicated that the response was classified as an erroneous
  35. response, but that the nature of the error cannot be identified.
  36. A SERVFAIL will be returned to the system making the original query.
  37. % RESLIB_EXTRADATA_RESPONSE extra data in response to query for <%1>
  38. A debug message indicating that the response to the specified query
  39. from an upstream nameserver contained too much data. This can happen if
  40. an ANY query was sent and the answer section in the response contained
  41. multiple RRs with different names. A SERVFAIL will be returned to the
  42. system making the original query.
  43. % RESLIB_FOLLOW_CNAME following CNAME chain to <%1>
  44. A debug message, a CNAME response was received and another query is
  45. being issued for the <name, class, type> tuple.
  46. % RESLIB_INVALID_NAMECLASS_RESPONSE invalid name or class in response to query for <%1>
  47. A debug message, the response to the specified query from an upstream
  48. nameserver (as identified by the ID of the response) contained either
  49. an answer not matching the query name or an answer having a different
  50. class to that queried for. A SERVFAIL will be returned to the system
  51. making the original query.
  52. % RESLIB_INVALID_QNAME_RESPONSE invalid name or class in response to query for <%1>
  53. A debug message, the response to the specified query from an upstream
  54. nameserver (as identified by the ID of the response) contained a name
  55. in the question section that did not match that of the query. A SERVFAIL
  56. will be returned to the system making the original query.
  57. % RESLIB_INVALID_TYPE_RESPONSE invalid name or class in response to query for <%1>
  58. A debug message, the response to the specified query from an upstream
  59. nameserver (as identified by the ID of the response) contained an
  60. invalid type field. A SERVFAIL will be returned to the system making
  61. the original query.
  62. % RESLIB_LONG_CHAIN CNAME received in response to query for <%1>: CNAME chain length exceeded
  63. A debug message recording that a CNAME response has been received to an upstream
  64. query for the specified question (Previous debug messages will have indicated
  65. the server to which the question was sent). However, receipt of this CNAME
  66. has meant that the resolver has exceeded the CNAME chain limit (a CNAME chain
  67. is where on CNAME points to another) and so an error is being returned.
  68. % RESLIB_MULTIPLE_CLASS_RESPONSE response to query for <%1> contained multiple RRsets with different classes
  69. A debug message reporting that the response to an upstream query for
  70. the specified name contained multiple RRsets in the answer and not all
  71. were of the same class. This is a violation of the standard and so a
  72. SERVFAIL will be returned.
  73. % RESLIB_NOTSINGLE_RESPONSE response to query for <%1> was not a response
  74. A debug message, the response to the specified query from an upstream
  75. nameserver was a CNAME that had mutiple RRs in the RRset. This is
  76. an invalid response according to the standards so a SERVFAIL will be
  77. returned to the system making the original query.
  78. % RESLIB_NOT_ONE_QNAME_RESPONSE not one question in response to query for <%1>
  79. A debug message, the response to the specified query from an upstream
  80. nameserver (as identified by the ID of the response) did not contain
  81. one name in the question section as required by the standard. A SERVFAIL
  82. will be returned to the system making the original query.
  83. % RESLIB_NOT_RESPONSE response to query for <%1> was not a response
  84. A debug message, the response to the specified query from an upstream
  85. nameserver (as identified by the ID of the response) did not have the QR
  86. bit set (thus indicating that the packet was a query, not a response).
  87. A SERVFAIL will be returned to the system making the original query.
  88. % RESLIB_NO_NS_RRSET no NS RRSet in referral response received to query for <%1>
  89. A debug message, this indicates that a response was received for the specified
  90. query and was categorized as a referral. However, the received message did
  91. not contain any NS RRsets. This may indicate a programming error in the
  92. response classification code.
  93. % RESLIB_NSAS_LOOKUP looking up nameserver for zone %1 in the NSAS
  94. A debug message, the RunningQuery object is querying the NSAS for the
  95. nameservers for the specified zone.
  96. % RESLIB_NXDOM_NXRR NXDOMAIN/NXRRSET received in response to query for <%1>
  97. A debug message recording that either a NXDOMAIN or an NXRRSET response has
  98. been received to an upstream query for the specified question. Previous debug
  99. messages will have indicated the server to which the question was sent.
  100. % RESLIB_OPCODE_RESPONSE response to query for <%1> did not have query opcode
  101. A debug message, the response to the specified query from an upstream
  102. nameserver was a response that did not have the opcode set to that of
  103. a query. According to the standards, this is an invalid response to
  104. the query that was made, so a SERVFAIL will be returned to the system
  105. making the original query.
  106. % RESLIB_PROTOCOL protocol error in answer for %1: %3
  107. A debug message indicating that a protocol error was received. As there
  108. are no retries left, an error will be reported.
  109. % RESLIB_PROTOCOL_RETRY protocol error in answer for %1: %2 (retries left: %3)
  110. A debug message indicating that a protocol error was received and that
  111. the resolver is repeating the query to the same nameserver. After this
  112. repeated query, there will be the indicated number of retries left.
  113. % RESLIB_RCODE_ERROR response to query for <%1> returns RCODE of %2
  114. A debug message, the response to the specified query indicated an error
  115. that is not covered by a specific code path. A SERVFAIL will be returned.
  116. % RESLIB_RECQ_CACHE_FIND found <%1> in the cache (resolve() instance %2)
  117. This is a debug message and indicates that a RecursiveQuery object found the
  118. the specified <name, class, type> tuple in the cache. The instance number
  119. at the end of the message indicates which of the two resolve() methods has
  120. been called.
  121. % RESLIB_RECQ_CACHE_NO_FIND did not find <%1> in the cache, starting RunningQuery (resolve() instance %2)
  122. This is a debug message and indicates that the look in the cache made by the
  123. RecursiveQuery::resolve() method did not find an answer, so a new RunningQuery
  124. object has been created to resolve the question. The instance number at
  125. the end of the message indicates which of the two resolve() methods has
  126. been called.
  127. % RESLIB_REFERRAL referral received in response to query for <%1>
  128. A debug message recording that a referral response has been received to an
  129. upstream query for the specified question. Previous debug messages will
  130. have indicated the server to which the question was sent.
  131. % RESLIB_REFER_ZONE referred to zone %1
  132. A debug message indicating that the last referral message was to the specified
  133. zone.
  134. % RESLIB_RESOLVE asked to resolve <%1> (resolve() instance %2)
  135. A debug message, the RecursiveQuery::resolve method has been called to resolve
  136. the specified <name, class, type> tuple. The first action will be to lookup
  137. the specified tuple in the cache. The instance number at the end of the
  138. message indicates which of the two resolve() methods has been called.
  139. % RESLIB_RRSET_FOUND found single RRset in the cache when querying for <%1> (resolve() instance %2)
  140. A debug message, indicating that when RecursiveQuery::resolve queried the
  141. cache, a single RRset was found which was put in the answer. The instance
  142. number at the end of the message indicates which of the two resolve()
  143. methods has been called.
  144. % RESLIB_RTT round-trip time of last query calculated as %1 ms
  145. A debug message giving the round-trip time of the last query and response.
  146. % RESLIB_RUNQ_CACHE_FIND found <%1> in the cache
  147. This is a debug message and indicates that a RunningQuery object found
  148. the specified <name, class, type> tuple in the cache.
  149. % RESLIB_RUNQ_CACHE_LOOKUP looking up up <%1> in the cache
  150. This is a debug message and indicates that a RunningQuery object has made
  151. a call to its doLookup() method to look up the specified <name, class, type>
  152. tuple, the first action of which will be to examine the cache.
  153. % RESLIB_RUNQ_FAIL failure callback - nameservers are unreachable
  154. A debug message indicating that a RunningQuery's failure callback has been
  155. called because all nameservers for the zone in question are unreachable.
  156. % RESLIB_RUNQ_SUCCESS success callback - sending query to %1
  157. A debug message indicating that a RunningQuery's success callback has been
  158. called because a nameserver has been found, and that a query is being sent
  159. to the specified nameserver.
  160. % RESLIB_TCP_TRUNCATED TCP response to query for %1 was truncated
  161. This is a debug message logged when a response to the specified query to an
  162. upstream nameserver returned a response with the TC (truncation) bit set. This
  163. is treated as an error by the code.
  164. % RESLIB_TEST_SERVER setting test server to %1(%2)
  165. This is a warning message only generated in unit tests. It indicates
  166. that all upstream queries from the resolver are being routed to the
  167. specified server, regardless of the address of the nameserver to which
  168. the query would normally be routed. If seen during normal operation,
  169. please submit a bug report.
  170. % RESLIB_TEST_UPSTREAM sending upstream query for <%1> to test server at %2
  171. This is a debug message and should only be seen in unit tests. A query for
  172. the specified <name, class, type> tuple is being sent to a test nameserver
  173. whose address is given in the message.
  174. % RESLIB_TIMEOUT query <%1> to %2 timed out
  175. A debug message indicating that the specified upstream query has timed out and
  176. there are no retries left.
  177. % RESLIB_TIMEOUT_RETRY query <%1> to %2 timed out, re-trying (retries left: %3)
  178. A debug message indicating that the specified query has timed out and that
  179. the resolver is repeating the query to the same nameserver. After this
  180. repeated query, there will be the indicated number of retries left.
  181. % RESLIB_TRUNCATED response to query for <%1> was truncated, re-querying over TCP
  182. A debug message, this indicates that the response to the specified query was
  183. truncated and that the resolver will be re-querying over TCP. There are
  184. various reasons why responses may be truncated, so this message is normal and
  185. gives no cause for concern.
  186. % RESLIB_UPSTREAM sending upstream query for <%1> to %2
  187. A debug message indicating that a query for the specified <name, class, type>
  188. tuple is being sent to a nameserver whose address is given in the message.