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

discontinued

A package for working with the DNS protocol.

example/dns.dart

import 'package:dns/dns.dart';
import 'dart:async';

Future<void> main(List<String> args) async {
  for (var arg in args) {
    final client = HttpDnsClient.google();
    final result = await client.lookup("google.com");
    print("$arg --> ${result.join(' | ')}");
  }
}
6
likes
30
pub points
43%
popularity

Publisher

verified publisherdint.dev

A package for working with the DNS protocol.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

args, ip, meta, raw, universal_io

More

Packages that depend on dns