Source Code:
(back to article)
<?php $domain = "example.com"; if (checkdnsrr($domain)) { echo "DNS record exists for $domain"; } else { echo "DNS record does not exist for $domain"; }
Result:
Report an issue