|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-10-22 19:57 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2020-10-22 19:57 UTC] requinix@php.net
[2020-11-01 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 22:00:01 2025 UTC |
Description: ------------ Issue 1 :- Expected behaviour :- Should return string as value field for TXT records Current Behaviour :- Array returned as value for TXT records Issue 2 :- Expected behaviour :- Names of nameservers should be unique and should be returning both IPV4 and IPV6 values Current Behaviour :- Names of nameservers repeated several times and no IPV4 or IPV6 values returned Issue 3 :- For Facebook.com dns_get_record () returns the following SOA records multiple times which are not shown by Google Dig tool ( https://toolbox.googleapps.com/apps/dig ) / nslookup on windows :- BODIS.com IN 984 SOA ns1.BODIS.com dnsadmin.BODIS.com 2017062202 10800 3600 1209600 3600 Test script: --------------- <?php $dns_result = dns_get_record ( "facebook.com" , DNS_ALL , $authns , $addtnl ) ; try { foreach ( $dns_result as $dns_result_key => $dns_result_value ) { $rec = $dns_result_value ; foreach ( $rec as $key => $value) { echo "$value  " ; } echo "<br>" ; } foreach ( $authns as $key_authns => $value_authns ) { foreach ( $value_authns as $key_value_authns => $value_value_authns ) { echo "$value_value_authns  " ; } echo "<br>" ; } } catch ( Exception $e ) { echo "$e->getMessage()" ; } ?>