Skip to content

rogerthomas84/ohdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OhDns

Introduction...

OhDns is a DNS record lookup library for PHP.

Usage...

See test.php for examples of retrieving DNS records by type.

Additionally, this library provides a more advanced email validation by verifying the MX records associated to the domain actually exist.

<?php
$valid = \OhDns\Validators\EmailAddressValidator::isValid(
    '[email protected]'
);
if ($valid) {
    echo ' YES: [email protected] is a valid email address.';
} else {
    echo '  NO: [email protected] is NOT a valid email address.';
}

Composer...

composer require rogerthomas84/ohdns

About

OhDns is a DNS record lookup library for PHP.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages