Skip to main content

apiverve_fullyqualifieddomain 1.2.3 copy "apiverve_fullyqualifieddomain: ^1.2.3" to clipboard
apiverve_fullyqualifieddomain: ^1.2.3 copied to clipboard

Fully Qualified Domain resolves an IP address to its fully qualified domain name using reverse DNS PTR records. It returns the host FQDN, base domain, TLD, subdomain, and domain level count.

Fully Qualified Domain API - Dart/Flutter Client #

Fully Qualified Domain resolves an IP address to its fully qualified domain name using reverse DNS PTR records. It returns the host FQDN, base domain, TLD, subdomain, and domain level count.

pub package License: MIT

This is the Dart/Flutter client for the Fully Qualified Domain API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_fullyqualifieddomain: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_fullyqualifieddomain/apiverve_fullyqualifieddomain.dart';

void main() async {
  final client = FullyqualifieddomainClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'ip': '199.30.24.0'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "ip": "199.30.24.0",
    "baseDomain": "msn.com",
    "fqdn": "msnbot-199-30-24-0.search.msn.com",
    "tld": "com",
    "subdomain": "msnbot-199-30-24-0.search",
    "domainLevels": 5,
    "detected": true
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
0
points
953
downloads

Publisher

unverified uploader

Weekly Downloads

Fully Qualified Domain resolves an IP address to its fully qualified domain name using reverse DNS PTR records. It returns the host FQDN, base domain, TLD, subdomain, and domain level count.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_fullyqualifieddomain