unioslo / mreg

GNU General Public License v3.0
7 stars 13 forks source link

Support for CAA records #494

Open oyvindhagberg opened 1 year ago

oyvindhagberg commented 1 year ago

It would be nice to have support for CAA records, including a sensible form of access control:

For uio.no sonen sin del, så er det primært to ting som ligger i _extra filen : 2) Ca 140 CAA-innslag. Dette er jo ting som det kanskje vil bli mer av etterhvert, og hvor det kan være ønskelig å delegere tilganger til e.g. www-drift? Så det med å få støtte for CAA-records i mreg tror jeg egentlig hadde vært en fin ting, dersom DIA har kapasitet til det. Jeg kan evt. høre med Frank om hvor stort behovet er?

Anders

terjekv commented 1 year ago

Okay, so if I understand https://datatracker.ietf.org/doc/html/rfc6844#section-3 our CAA records need to support three fields:

And in the zone file we are to output something the CAA records as such:

$ORIGIN example.com
   .       CAA 0 issue "ca.example.net"
   .       CAA 0 iodef "mailto:security@example.com"
   .       CAA 0 iodef "http://iodef.example.com/"

It is worth noting that CAAs can be set for both domains and specific hosts.

Oh, and there would have to be a specific access control for the record type itself, rather than following the host. Typically a specific list of groups may have access.

Have I understood the request?