forked from LittleChest/dns-packet
sort record types in README alphabetically
This commit is contained in:
parent
a0687b3c14
commit
ec4d317696
32
README.md
32
README.md
@ -211,6 +211,22 @@ And an answer, additional, or authority looks like this
|
||||
}
|
||||
```
|
||||
|
||||
#### `NAPTR`
|
||||
|
||||
``` js
|
||||
{
|
||||
data:
|
||||
{
|
||||
order: 100,
|
||||
preference: 10,
|
||||
flags: 's',
|
||||
services: 'SIP+D2U',
|
||||
regexp: '!^.*$!sip:customer-service@example.com!',
|
||||
replacement: '_sip._udp.example.com'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### `NS`
|
||||
|
||||
``` js
|
||||
@ -366,22 +382,6 @@ The options `PADDING`, `CLIENT_SUBNET`, `TCP_KEEPALIVE` and `KEY_TAG` support en
|
||||
}
|
||||
```
|
||||
|
||||
#### `NAPTR`
|
||||
|
||||
``` js
|
||||
{
|
||||
data:
|
||||
{
|
||||
order: 100,
|
||||
preference: 10,
|
||||
flags: 's',
|
||||
services: 'SIP+D2U',
|
||||
regexp: '!^.*$!sip:customer-service@example.com!',
|
||||
replacement: '_sip._udp.example.com'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
When encoding, scalar values are converted to an array and strings are converted to UTF-8 encoded Buffers. When decoding, the return value will always be an array of Buffer.
|
||||
|
||||
If you need another record type, open an issue and we'll try to add it.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user