libddns_messages.mes 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # Copyright (C) 2012 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. # No namespace declaration - these constants go in the global namespace
  15. # of the libddns_messages python module.
  16. % LIBDDNS_DATASRC_ERROR update client %1 failed due to data source error: %2
  17. An update attempt failed due to some error in the corresponding data
  18. source. This is generally an unexpected event, but can still happen
  19. for various reasons such as DB lock contention or a failure of the
  20. backend DB server. The cause of the error is also logged. It's
  21. advisable to check the message, and, if necessary, take an appropriate
  22. action (e.g., restarting the DB server if it dies). If this message
  23. is logged the data source isn't modified due to the
  24. corresponding update request. When used by the b10-ddns, the server
  25. will return a response with an RCODE of SERVFAIL.
  26. % LIBDDNS_PREREQ_FORMERR update client %1 for zone %2: Format error in prerequisite (%3). Non-zero TTL.
  27. The prerequisite with the given name, class and type is not well-formed.
  28. The specific prerequisite is shown. In this case, it has a non-zero TTL value.
  29. A FORMERR error response is sent to the client.
  30. % LIBDDNS_PREREQ_FORMERR_ANY update client %1 for zone %2: Format error in prerequisite (%3). Non-zero TTL or rdata found.
  31. The prerequisite with the given name, class and type is not well-formed.
  32. The specific prerequisite is shown. In this case, it either has a non-zero
  33. TTL value, or has rdata fields. A FORMERR error response is sent to the client.
  34. % LIBDDNS_PREREQ_FORMERR_CLASS update client %1 for zone %2: Format error in prerequisite (%3). Bad class.
  35. The prerequisite with the given name, class and type is not well-formed.
  36. The specific prerequisite is shown. In this case, the class of the
  37. prerequisite should either match the class of the zone in the Zone Section,
  38. or it should be ANY or NONE, and it is not. A FORMERR error response is sent
  39. to the client.
  40. % LIBDDNS_PREREQ_FORMERR_NONE update client %1 for zone %2: Format error in prerequisite (%3). Non-zero TTL or rdata found.
  41. The prerequisite with the given name, class and type is not well-formed.
  42. The specific prerequisite is shown. In this case, it either has a non-zero
  43. TTL value, or has rdata fields. A FORMERR error response is sent to the client.
  44. % LIBDDNS_PREREQ_NAME_IN_USE_FAILED update client %1 for zone %2: 'Name is in use' prerequisite not satisfied (%3), rcode: %4
  45. A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
  46. was not satisfied is shown. The client is sent an error response with the
  47. given rcode.
  48. In this case, the specific prerequisite is 'Name is in use'. From RFC2136:
  49. Name is in use. At least one RR with a specified NAME (in
  50. the zone and class specified by the Zone Section) must exist.
  51. Note that this prerequisite is NOT satisfied by empty
  52. nonterminals.
  53. % LIBDDNS_PREREQ_NAME_NOT_IN_USE_FAILED update client %1 for zone %2: 'Name is not in use' (%3) prerequisite not satisfied, rcode: %4
  54. A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
  55. was not satisfied is shown. The client is sent an error response with the
  56. given rcode.
  57. In this case, the specific prerequisite is 'Name is not in use'.
  58. From RFC2136:
  59. Name is not in use. No RR of any type is owned by a
  60. specified NAME. Note that this prerequisite IS satisfied by
  61. empty nonterminals.
  62. % LIBDDNS_PREREQ_NOTZONE update client %1 for zone %2: prerequisite not in zone (%3)
  63. A DNS UPDATE prerequisite has a name that does not appear to be inside
  64. the zone specified in the Zone section of the UPDATE message.
  65. The specific prerequisite is shown. A NOTZONE error response is sent to
  66. the client.
  67. % LIBDDNS_PREREQ_RRSET_DOES_NOT_EXIST_FAILED update client %1 for zone %2: 'RRset does not exist' (%3) prerequisite not satisfied, rcode: %4
  68. A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
  69. was not satisfied is shown. The client is sent an error response with the
  70. given rcode.
  71. In this case, the specific prerequisite is 'RRset does not exist'.
  72. From RFC2136:
  73. RRset does not exist. No RRs with a specified NAME and TYPE
  74. (in the zone and class denoted by the Zone Section) can exist.
  75. % LIBDDNS_PREREQ_RRSET_EXISTS_FAILED update client %1 for zone %2: 'RRset exists (value independent)' (%3) prerequisite not satisfied, rcode: %4
  76. A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
  77. was not satisfied is shown. The client is sent an error response with the
  78. given rcode.
  79. In this case, the specific prerequisite is 'RRset exists (value independent)'.
  80. From RFC2136:
  81. RRset exists (value dependent). A set of RRs with a
  82. specified NAME and TYPE exists and has the same members
  83. with the same RDATAs as the RRset specified here in this
  84. Section.
  85. % LIBDDNS_PREREQ_RRSET_EXISTS_VAL_FAILED update client %1 for zone %2: 'RRset exists (value dependent)' (%3) prerequisite not satisfied, rcode: %4
  86. A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
  87. was not satisfied is shown. The client is sent an error response with the
  88. given rcode.
  89. In this case, the specific prerequisite is 'RRset exists (value dependent)'.
  90. From RFC2136:
  91. RRset exists (value independent). At least one RR with a
  92. specified NAME and TYPE (in the zone and class specified by
  93. the Zone Section) must exist.
  94. =======
  95. >>>>>>> 644c706... [1458] cleanup: reorder log message files
  96. % LIBDDNS_UPDATE_APPROVED update client %1 for zone %2 approved
  97. Debug message. An update request was approved in terms of the zone's
  98. update ACL.
  99. % LIBDDNS_UPDATE_DENIED update client %1 for zone %2 denied
  100. Informational message. An update request was denied because it was
  101. rejected by the zone's update ACL. When this library is used by
  102. b10-ddns, the server will respond to the request with an RCODE of
  103. REFUSED as described in Section 3.3 of RFC2136.
  104. % LIBDDNS_UPDATE_DROPPED update client %1 for zone %2 dropped
  105. Informational message. An update request was denied because it was
  106. rejected by the zone's update ACL. When this library is used by
  107. b10-ddns, the server will then completely ignore the request; no
  108. response will be sent.
  109. % LIBDDNS_UPDATE_ERROR update client %1 for zone %2: %3
  110. Debug message. An error is found in processing a dynamic update
  111. request. This log message is used for general errors that are not
  112. normally expected to happen. So, in general, it would mean some
  113. problem in the client implementation or an interoperability issue
  114. with this implementation. The client's address, the zone name and
  115. class, and description of the error are logged.
  116. % LIBDDNS_UPDATE_FORWARD_FAIL update client %1 for zone %2: update forwarding not supported
  117. Debug message. An update request is sent to a secondary server. This
  118. is not necessarily invalid, but this implementation does not yet
  119. support update forwarding as specified in Section 6 of RFC2136 and it
  120. will simply return a response with an RCODE of NOTIMP to the client.
  121. The client's address and the zone name/class are logged.
  122. % LIBDDNS_UPDATE_NOTAUTH update client %1 for zone %2: not authoritative for update zone
  123. Debug message. An update request was received for a zone for which
  124. the receiving server doesn't have authority. In theory this is an
  125. unexpected event, but there are client implementations that could send
  126. update requests carelessly, so it may not necessarily be so uncommon
  127. in practice. If possible, you may want to check the implementation or
  128. configuration of those clients to suppress the requests. As specified
  129. in Section 3.1 of RFC2136, the receiving server will return a response
  130. with an RCODE of NOTAUTH.
  131. % LIBDDNS_UPDATE_PREREQUISITE_FAILED prerequisite failed in update update client %1 for zone %2: result code %3
  132. The handling of the prerequisite section (RFC2136 Section 3.2) found
  133. that one of the prerequisites was not satisfied. The result code
  134. should give more information on what prerequisite type failed.
  135. If the result code is FORMERR, the prerequisite section was not well-formed.
  136. An error response with the given result code is sent back to the client.