dns_resolver 0.1.3 copy "dns_resolver: ^0.1.3" to clipboard
dns_resolver: ^0.1.3 copied to clipboard

Dart package that implements DNS over HTTPS client for Google Public DNS and Cloudflare DNS.

Dart package that implements DNS over HTTPS client

Features #

This package provides a simple way to resolve DNS queries using DNS over HTTPS (DoH) protocol. At the moment it supports Google Public DNS and Cloudflare Resolvers only. Resolver class implements DnsCache, so subsequent queries for the same domain will be resolved from cache. For simplicity, if the domain resolves to multiple IP addresses, only the last one will be returned.

TODO:

  • [*] Implement dns-json models
  • [*] add support for Cloudflare 1.1.1.1
  • [*] add support for Google Public DNS
  • [*] add support for custom resolvers

Getting started #

Install with dart

dart pub add dns_resolver

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dns_resolver: ^0.1.1
1
likes
150
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

Dart package that implements DNS over HTTPS client for Google Public DNS and Cloudflare DNS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on dns_resolver