From 25ae0d23ac4bc12439989471927f5ccea06e10db Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 4 Apr 2018 17:12:42 +0200 Subject: [PATCH] add docs for OPT --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index a22a00a..b967e0c 100644 --- a/README.md +++ b/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