Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need a new DNS binary data resolve interface. Due to the unstable state of deno.listendatagram on the Deno server. #833

Open
masx200 opened this issue Mar 14, 2025 · 1 comment

Comments

@masx200
Copy link

masx200 commented Mar 14, 2025

We need a new DNS binary data resolve interface. Due to the unstable state of deno.listendatagram on the Deno server.

This way, a DNS UDP protocol to DoH forwarding server can be deployed on the Deno server.

@masx200
Copy link
Author

masx200 commented Mar 14, 2025

interface DnsBinaryResolver {
  resolveDnsBinary(
    query: Uint8Array,

    options?: ResolveDnsOptions,
  ): Promise<Uint8Array>;
}
interface ResolveDnsOptions {
  nameServer?: { ipAddr: string; port?: number };
  signal?: AbortSignal;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant