protocol-error-codes.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [[cmd]]
  2. name = "Running with ‘formerr.invalid’ displays the error code"
  3. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} A formerr.invalid"
  4. stdout = { string = "Status: Format Error" }
  5. stderr = { empty = true }
  6. status = 0
  7. tags = [ "protocol", "madns" ]
  8. [[cmd]]
  9. name = "Running with ‘servfail.invalid’ displays the error code"
  10. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} A servfail.invalid"
  11. stdout = { string = "Status: Server Failure" }
  12. stderr = { empty = true }
  13. status = 0
  14. tags = [ "protocol", "madns" ]
  15. [[cmd]]
  16. name = "Running with ‘nxdomain.invalid’ displays the error code"
  17. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} A nxdomain.invalid"
  18. stdout = { string = "Status: NXDomain" }
  19. stderr = { empty = true }
  20. status = 0
  21. tags = [ "protocol", "madns" ]
  22. [[cmd]]
  23. name = "Running with ‘notimp.invalid’ displays the error code"
  24. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} A notimp.invalid"
  25. stdout = { string = "Status: Not Implemented" }
  26. stderr = { empty = true }
  27. status = 0
  28. tags = [ "protocol", "madns" ]
  29. [[cmd]]
  30. name = "Running with ‘refused.invalid’ displays the error code"
  31. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} A refused.invalid"
  32. stdout = { string = "Status: Query Refused" }
  33. stderr = { empty = true }
  34. status = 0
  35. tags = [ "protocol", "madns" ]