PHP get DNS Nameserver , Cname , MX , A records of a domain

PHP has a useful function called dns_get_record that can be used to get different types of records for a give domain , very easily. These include the nameserver records, A records, CNAME records, MX records, SOA records etc. The following examples are using the interactive shell, but you would use the function the same way … Continue reading PHP get DNS Nameserver , Cname , MX , A records of a domain