Skip to content

gbxyz/p5-data-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYNOPSIS

use Data::DNS;

if (Data::DNS->exists("org")) {
    $org = Data::DNS->get("org");

    say ".org is operated by ".$org->rdap_record->registrant->jcard->first('org')->value;
}

DESCRIPTION

Information about the DNS root zone is distributed across multiple data sources. This module organises this information and provides a single entry point to it.

PACKAGE METHODS

exists($tld)

This method returns true if the TLD specified by $tld exists in the root zone.

get($tld)

This method returns a Data::DNS::TLD object corresponding to the TLD specified by $tld. An exception will be thrown if the TLD does not exist.

About

An interface to the DNS root zone database.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages