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

Dart implementation of DNS-over-HTTPS.

example/dns_client_example.dart

import 'package:dns_client/dns_client.dart';

void main() async {
  final dns = DnsOverHttps.google();
  final response = await dns.lookup('google.com');
  response.forEach((address) {
    print(address.toString());
  });
}
10
likes
90
pub points
81%
popularity

Publisher

unverified uploader

Dart implementation of DNS-over-HTTPS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

freezed_annotation, http, json_annotation

More

Packages that depend on dns_client