forked from LittleChest/dns-packet
add docs for OPT
This commit is contained in:
parent
f6db3d3d5f
commit
25ae0d23ac
15
README.md
15
README.md
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user