diff --git a/src/index.ts b/src/index.ts index 5cf4a4f..e5dabc4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,8 +13,8 @@ export class HandshakeClient extends NetworkClient { public async query(method: string, params: any): Promise { return this.callModuleReturn("query", { method, params }); } - public async queryDns(fqdn: string, type: string): Promise { - return this.callModuleReturn("queryDns", { fqdn, type }); + public async dnsQuery(fqdn: string, type: string): Promise { + return this.callModuleReturn("dnsQuery", { fqdn, type }); } }