|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull Requests
Pull requests: 
 HistoryAllCommentsChangesGit/SVN commits              [2020-05-04 13:53 UTC] cmb@php.net
 
-Status:      Open
+Status:      Verified
-Assigned To:
+Assigned To: cmb
  [2020-05-04 13:53 UTC] cmb@php.net
  [2020-05-04 14:29 UTC] cmb@php.net
  [2020-05-04 14:46 UTC] cmb@php.net
  [2020-05-04 21:03 UTC] cmb@php.net
  [2020-05-04 21:03 UTC] cmb@php.net
 
-Status: Verified
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
Description: ------------ It seems, the DNS_CAA resource record is not supported by Windows builds. Excluding DNS_CAA from DNS_ALL results in successful query. I think, if library does not support specific RR directly, the relevant bit should be removed from DNS_ALL. Additionally: Attempting a raw query with RR=257 results in empty response even if relevant record exists. F.e. google.com: > nslookup -type=CAA google.com. Server: 192.168.1.12 Address: 192.168.1.12#53 Non-authoritative answer: google.com rdata_257 = 0 issue "pki.goog" Authoritative answers can be found from: google.com nameserver = ns4.google.com. google.com nameserver = ns3.google.com. google.com nameserver = ns1.google.com. google.com nameserver = ns2.google.com. ns1.google.com internet address = 216.239.32.10 ns2.google.com internet address = 216.239.34.10 ns3.google.com internet address = 216.239.36.10 ns4.google.com internet address = 216.239.38.10 > php -r 'print_r(dns_get_record("google.com", 257, $x, $y, true));' Array ( ) Possible related: https://bugs.php.net/bug.php?id=52260 Test script: --------------- <?php $rr = dns_get_record("www.php.net", DNS_ALL);// & ~DNS_CAA); print_r($rr); Expected result: ---------------- A resulting array or false is returned. Silently! Actual result: -------------- PHP Warning: dns_get_record(): Type '251721779' not supported in … Excluding DNS_CAA from DNS_ALL results in successful query.