resolverdef.mes 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. $PREFIX RESOLVER_
  15. # No namespace declaration - these constants go in the global namespace
  16. # along with the resolver methods.
  17. % AXFRTCP AXFR request received over TCP
  18. A debug message, the resolver received a NOTIFY message over TCP. The server
  19. cannot process it and will return an error message to the sender with the
  20. RCODE set to NOTIMP.
  21. % AXFRUDP AXFR request received over UDP
  22. A debug message, the resolver received a NOTIFY message over UDP. The server
  23. cannot process it (and in any case, an AXFR request should be sent over TCP)
  24. and will return an error message to the sender with the RCODE set to FORMERR.
  25. % CONFIGCHAN configuration channel created
  26. A debug message, output when the resolver has successfully established a
  27. connection to the configuration channel.
  28. % CONFIGERR error in configuration: %1
  29. An error was detected in a configuration update received by the resolver. This
  30. may be in the format of the configuration message (in which case this is a
  31. programming error) or it may be in the data supplied (in which case it is
  32. a user error). The reason for the error, given as a parameter in the message,
  33. will give more details.
  34. % CONFIGLOAD configuration loaded
  35. A debug message, output when the resolver configuration has been successfully
  36. loaded.
  37. % CONFIGUPD configuration updated: %1
  38. A debug message, the configuration has been updated with the specified
  39. information.
  40. % DNSMSGRCVD DNS message received: %1
  41. A debug message, this always precedes some other logging message and is the
  42. formatted contents of the DNS packet that the other message refers to.
  43. % DNSMSGSENT DNS message of %1 bytes sent: %2
  44. A debug message, this contains details of the response sent back to the querying
  45. system.
  46. % CLTMOSMALL client timeout of %1 is too small
  47. An error indicating that the configuration value specified for the query
  48. timeout is too small.
  49. % CREATED main resolver object created
  50. A debug message, output when the Resolver() object has been created.
  51. % FAILED resolver failed, reason: %1
  52. This is an error message output when an unhandled exception is caught by the
  53. resolver. All it can do is to shut down.
  54. % FWDADDR setting forward address %1(%2)
  55. This message may appear multiple times during startup, and it lists the
  56. forward addresses used by the resolver when running in forwarding mode.
  57. % FWDQUERY processing forward query
  58. The received query has passed all checks and is being forwarded to upstream
  59. servers.
  60. % HDRERR message received, exception when processing header: %1
  61. A debug message noting that an exception occurred during the processing of
  62. a received packet. The packet has been dropped.
  63. % IXFR IXFR request received
  64. The resolver received a NOTIFY message over TCP. The server cannot process it
  65. and will return an error message to the sender with the RCODE set to NOTIMP.
  66. % LKTMOSMALL lookup timeout of %1 is too small
  67. An error indicating that the configuration value specified for the lookup
  68. timeout is too small.
  69. % NFYNOTAUTH NOTIFY arrived but server is not authoritative
  70. The resolver received a NOTIFY message. As the server is not authoritative it
  71. cannot process it, so it returns an error message to the sender with the RCODE
  72. set to NOTAUTH.
  73. % NORMQUERY processing normal query
  74. The received query has passed all checks and is being processed by the resolver.
  75. % NOTIN non-IN class request received, returning REFUSED message
  76. A debug message, the resolver has received a DNS packet that was not IN class.
  77. The resolver cannot handle such packets, so is returning a REFUSED response to
  78. the sender.
  79. % NOROOTADDR no root addresses available
  80. A warning message during startup, indicates that no root addresses have been
  81. set. This may be because the resolver will get them from a priming query.
  82. % NOTONEQUES query contained %1 questions, exactly one question was expected
  83. A debug message, the resolver received a query that contained the number of
  84. entires in the question section detailed in the message. This is a malformed
  85. message, as a DNS query must contain only one question. The resolver will
  86. return a message to the sender with the RCODE set to FORMERR.
  87. % OPCODEUNS opcode %1 not supported by the resolver
  88. A debug message, the resolver received a message with an unsupported opcode
  89. (it can only process QUERY opcodes). It will return a message to the sender
  90. with the RCODE set to NOTIMP.
  91. % PARSEERR error parsing received message: %1 - returning %2
  92. A debug message noting that the resolver received a message and the parsing
  93. of the body of the message failed due to some non-protocol related reason
  94. (although the parsing of the header succeeded). The message parameters give
  95. a textual description of the problem and the RCODE returned.
  96. % PRINTMSG print message command, aeguments are: %1
  97. This message is logged when a "print_message" command is received over the
  98. command channel.
  99. % PROTERR protocol error parsing received message: %1 - returning %2
  100. A debug message noting that the resolver received a message and the parsing
  101. of the body of the message failed due to some protocol error (although the
  102. parsing of the header succeeded). The message parameters give a textual
  103. description of the problem and the RCODE returned.
  104. % QUSETUP query setup
  105. A debug message noting that the resolver is creating a RecursiveQuery object.
  106. % QUSHUT query shutdown
  107. A debug message noting that the resolver is destroying a RecursiveQuery object.
  108. % QUTMOSMALL query timeout of %1 is too small
  109. An error indicating that the configuration value specified for the query
  110. timeout is too small.
  111. % RECURSIVE running in recursive mode
  112. This is an informational message that appears at startup noting that the
  113. resolver is running in recursive mode.
  114. % RECVMSG resolver has received a DNS message
  115. A debug message indicating that the resolver has received a message. Depending
  116. on the debug settings, subsequent log output will indicate the nature of the
  117. message.
  118. % RETRYNEG negative number of retries (%1) specified in the configuration
  119. An error message indicating that the resolver configuration has specified a
  120. negative retry count. Only zero or positive values are valid.
  121. % ROOTADDR setting root address %1(%2)
  122. This message may appear multiple times during startup; it lists the root
  123. addresses used by the resolver.
  124. % SERVICE service object created
  125. A debug message, output when the main service object (which handles the
  126. received queries) is created.
  127. % SETPARAM query timeout: %1, client timeout: %2, lookup timeout: %3, retry count: %4
  128. A debug message, lists the parameters associated with the message. These are:
  129. query timeout: the timeout (in ms) used for queries originated by the resolver
  130. to upstream servers. Client timeout: the interval to resolver a query by
  131. a client: after this time, the resolver sends back a SERVFAIL to the client
  132. whilst continuing to resolver the query. Lookup timeout: the time at which the
  133. resolver gives up trying to resolve a query. Retry count: the number of times
  134. the resolver will retry a query to an upstream server if it gets a timeout.
  135. The client and lookup timeouts require a bit more explanation. The
  136. resolution of the clent query might require a large number of queries to
  137. upstream nameservers. Even if none of these queries timeout, the total time
  138. taken to perform all the queries may exceed the client timeout. When this
  139. happens, a SERVFAIL is returned to the client, but the resolver continues
  140. with the resolution process. Data received is added to the cache. However,
  141. there comes a time - the lookup timeout - when even the resolve gives up.
  142. At this point it will wait for pending upstream queries to complete or
  143. timeout and drop the query.
  144. % SHUTDOWN resolver shutdown complete
  145. This information message is output when the resolver has shut down.
  146. % STARTED resolver started
  147. This informational message is output by the resolver when all initialization
  148. has been completed and it is entering its main loop.
  149. % STARTING starting resolver with command line '%1'
  150. An informational message, this is output when the resolver starts up.
  151. % UNEXRESP received unexpected response, ignoring
  152. A debug message noting that the server has received a response instead of a
  153. query and is ignoring it.