Functions
getExternalAddresses
- getExternalAddresses(): { address: string; family: string }[]
Returns { address: string; family: string }[]
parseRecord
- parseRecord(record: any, options?: { binaryTXT?: boolean }): SRV | TXT | A | AAAA | PTR
Parameters
record: any
options: { binaryTXT?: boolean } = {}
Optional binaryTXT?: boolean
parseTXTData
- parseTXTData(data: Buffer, options?: { binary?: boolean }): TXTData
Parameters
data: Buffer
options: { binary?: boolean } = ...
Optional binary?: boolean
sameRecord
Parameters
Returns boolean
serializeRecord
- serializeRecord(record: any, options?: { binaryTXT?: boolean }): SRV | TXT | A | AAAA | PTR
Parameters
record: any
options: { binaryTXT?: boolean } = {}
Optional binaryTXT?: boolean
serializeTXTData
- serializeTXTData(data: TXTData, options?: { binary?: boolean }): Buffer
Parameters
options: { binary?: boolean } = ...
Optional binary?: boolean
Returns Buffer