dns_client 0.2.0 copy "dns_client: ^0.2.0" to clipboard
dns_client: ^0.2.0 copied to clipboard

outdated

Dart implementation of DNS-over-HTTPS.

Dart implementation of DNS-over-HTTPS.

CodeFactor pub.dev license

Usage #

A simple usage example:

import 'package:dns_client/dns_client.dart';

main() async {
  final dns = DnsOverHttps.google();
  var response = await dns.lookup('google.com');
  response.forEach((address) {
    print(address.toString());
  });}
import 'package:dns_client/dns_client.dart';

main() async {
  final dns = DnsOverHttps.cloudflare();
  var response = await dns.lookup('google.com');
  response.forEach((address) {
    print(address.toString());
  });}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

14
likes
0
points
357
downloads

Publisher

verified publisheramond.dev

Weekly Downloads

Dart implementation of DNS-over-HTTPS.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

freezed_annotation, http, json_annotation

More

Packages that depend on dns_client