From d8e5b94efe977b9d526b0d81a5b1fd13c0ce319d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 23 Aug 2022 14:24:43 -0400 Subject: [PATCH] *Pass the value not the record --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7c04aa3..5336b72 100644 --- a/src/index.ts +++ b/src/index.ts @@ -197,7 +197,7 @@ export default class Handshake extends AbstractResolverModule { ...options, options: { subquery: true, - nameserver: hnsNs.records.pop(), + nameserver: hnsNs.records.pop()?.value, }, }); }