Skip to content

Instantly share code, notes, and snippets.

@halidaltuner
Created November 26, 2010 14:09
Show Gist options
  • Save halidaltuner/716753 to your computer and use it in GitHub Desktop.
Save halidaltuner/716753 to your computer and use it in GitHub Desktop.
basic model get dns record
<?php
$sonuc = dns_get_record("halid.org", DNS_A + DNS_MX + DNS_CNAME + DNS_NS + DNS_PTR + DNS_TXT + DNS_HINFO + DNS_SOA + DNS_AAAA + DNS_A6 + DNS_SRV + DNS_NAPTR);
print_r($sonuc);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment