add docs for OPT

This commit is contained in:
silverwind 2018-04-04 17:12:42 +02:00
parent f6db3d3d5f
commit 25ae0d23ac
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -256,6 +256,21 @@ When encoding, scalar values are converted to an array and strings are converted
}
```
#### `OPT`
``` js
{
type: 'OPT',
name: '.',
udpPayloadSize: 4096,
flags: packet.DNSSEC_OK,
options: [{
code: 12,
data: Buffer.alloc(31)
}]
}
```
If you need another one, open an issue and we'll try to add it.
## License