[getdns-api] OPT Record fields

Paul Hoffman paul.hoffman at vpnc.org
Fri Feb 14 09:18:30 MST 2014


On Feb 13, 2014, at 1:26 PM, Goyal, Neel <ngoyal at verisign.com> wrote:

> Section 4.1 of the spec states that Resource Records have the following fields: type, class, ttl, and rdata.  The OPT record is one of those weird ones where class is interpreted as a udp payload size, and ttl is actually broken up into extended rcode, version, z, and do bit.
> 
> I propose we call out that the OPT RR will not have ttl and class, and instead be replaced with the following fields:
> 	• udp_payload_size
> 	• extended_rcode
> 	• version
> 	• do
> 	• z
> type, rdata_raw, and options are already called out in the spec and are valid fields.
> 
> Thoughts?

I'm always of two minds on this one. OPT is an uglyandbrilliant hack, and we should keep the names the same as for other RRs. Or: people who don't know OPT need to be reminded with the new fields.

So, I'll defer to others.

--Paul Hoffman


More information about the getdns-api mailing list