resolver-dns.d.ts 362 B

12345678910111213
  1. /**
  2. * The default TCP port to connect to if not explicitly specified in the target.
  3. */
  4. export declare const DEFAULT_PORT = 443;
  5. /**
  6. * Set up the DNS resolver class by registering it as the handler for the
  7. * "dns:" prefix and as the default resolver.
  8. */
  9. export declare function setup(): void;
  10. export interface DnsUrl {
  11. host: string;
  12. port?: string;
  13. }