-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sort record types in README alphabetically
- Loading branch information
1 parent
a0687b3
commit ec4d317
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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:[email protected]!', | ||
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:[email protected]!', | ||
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. | ||
|