<?php dns_get_record( string $hostname, int $type = DNS_ANY, array &$authoritative_name_servers = null, array &$additional_records = null, bool $raw = false): array|false
<?php protected function getDnsRecords($hostname, $type) { return dns_get_record($hostname, $type); }