The OPT record is stored in the additional section of the DNS packet, and the additional section RR count includes the OPT record. The count is found in the header. The following excerpt from zonemaster-cli google.com --test nameserver --level debug3 shows that Zonemaster gives wrong figure of the count:
The OPT record is stored in the additional section of the DNS packet, and the additional section RR count includes the OPT record. The count is found in the header. The following excerpt from
zonemaster-cli google.com --test nameserver --level debug3
shows that Zonemaster gives wrong figure of the count: