Currently this package only supports A and CNAME records in it's implementation and after a quick chat with @clue earlier today we decided we need to come up with a good way support IPv6 and more record types. Here is a quick hack up to get the discussion started:
$resolver = newResolver('8.8.8.8', Options::PREFER_IPV6);
// Tries to resolve AAAA (IPv6) record first and then tries the A (IPv4) record.$resolver->resolve('wyrihaximus.net');$resolver = newResolver('8.8.8.8');
// Resolves to NS record$resolver->resolve('wyrihaximus.net', RecordType::NS);
Currently this package only supports A and CNAME records in it's implementation and after a quick chat with @clue earlier today we decided we need to come up with a good way support IPv6 and more record types. Here is a quick hack up to get the discussion started: