Currently we don't have any tests to test DNSRecordGetter. We can use PHPUnit Bridge from symphony framework to mock DNS records. To test dns_get_record we can use:
I didn't know about this mock, I was looking at starting a Docker container with some DNS server, but this looks way easier :D
Might take a look before the end of the week
Currently we don't have any tests to test
DNSRecordGetter
. We can use PHPUnit Bridge from symphony framework to mock DNS records. To testdns_get_record
we can use: