diff --git a/src/core.ts b/src/core.ts index 43d61f7..3e3ca74 100644 --- a/src/core.ts +++ b/src/core.ts @@ -317,7 +317,7 @@ export class DnsCore { if (stream) { (r).write(res); } else { - return r; + return res; } } } \ No newline at end of file