Can query flags in +yaml be made a list?
dig's new YAML output (
+yaml), the query flags are reported as a string (e.g.
flags: qr rd ra ad)
"flags": "qr rd ra ad"
I think it'd be more natural to have them returned as a list (e.g.
flags: [ qr, rd, ra, ad ]) which would result in
"flags": [ "qr", "rd", "ra", "ad" ]
The benefit I see is that this change would make it easier to find out programatically whether a specific flag is set.