caa-records.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # CAA record successes
  2. [[cmd]]
  3. name = "Running with ‘caa.example’ prints the correct CAA record"
  4. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA caa.example"
  5. stdout = { file = "outputs/caa.example.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ "caa", "madns" ]
  9. [[cmd]]
  10. name = "Running with ‘critical.caa.example’ prints the correct CAA record with the flag"
  11. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA critical.caa.example"
  12. stdout = { file = "outputs/critical.caa.example.ansitxt" }
  13. stderr = { empty = true }
  14. status = 0
  15. tags = [ "caa", "madns" ]
  16. [[cmd]]
  17. name = "Running with ‘others.caa.example’ prints the correct CAA record and ignores the flags"
  18. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA others.caa.example"
  19. stdout = { file = "outputs/others.caa.example.ansitxt" }
  20. stderr = { empty = true }
  21. status = 0
  22. tags = [ "caa", "madns" ]
  23. # CAA record invalid packets
  24. [[cmd]]
  25. name = "Running with ‘empty.caa.invalid’ displays a protocol error"
  26. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA empty.caa.invalid"
  27. stdout = { empty = true }
  28. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  29. status = 1
  30. tags = [ "caa", "madns" ]
  31. [[cmd]]
  32. name = "Running with ‘incomplete.caa.invalid’ displays a protocol error"
  33. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA incomplete.caa.invalid"
  34. stdout = { empty = true }
  35. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  36. status = 1
  37. tags = [ "caa", "madns" ]