feat: add queryDns method

This commit is contained in:
Derrick Hammer 2023-08-02 17:37:14 -04:00
parent 66544eaed8
commit 0ef0d1cb8e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ export class HandshakeClient extends NetworkClient {
public async query(method: string, params: any): Promise<Response> {
return this.callModuleReturn("query", { method, params });
}
public async queryDns(fqdn: string, type: string): Promise<Response> {
return this.callModuleReturn("queryDns", { fqdn, type });
}
}
export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE);