Skip to content

v2.0

Latest
Compare
Choose a tag to compare
@jungaretti jungaretti released this 01 Feb 21:30
· 3 commits to main since this release
2011532

Bacon v2 enforces .yml config file validation and adds support for Porkbun's priority property. v2 may break your deployment pipeline if your config file isn't valid. See Bacon's README for more details about validation.

Screenshot of the new error message

In order for a config file to be valid, all of the following must be true:

  1. The config file must have a domain field.
  2. Each record must have a host field.
  3. Each record must have a type field.
  4. Each record must have a content field.
  5. Each record must have a ttl field.
  6. Each record's type must be A, MX, CNAME, ALIAS, TXT, NS, AAAA, SRV, TLSA, CAA, HTTPS, or SVCB.
  7. Each record's ttl must be greater than or equal to 600.
  8. Each record with a priority must have type of MX or SRV.
  9. Each CNAME record must have a unique host.
  10. Non-CNAME records may not share host with any CNAME record.

These validations ensure consistency between deployments.