|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-16 19:21 UTC] johannes@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: pajoye
[2010-06-17 02:14 UTC] felipe@php.net
[2010-06-17 11:26 UTC] pajoye@php.net
[2010-06-17 11:27 UTC] pajoye@php.net
-Status: Assigned
+Status: Closed
[2010-06-17 11:27 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ When calling dns_get_record($host, DNS_AAAA) for a single specific hostname ("snowflake.nullroute.eu.org"), random garbage is appended to the 'ipv6' field of the DNS response. The DNS response itself is valid (tested using Wireshark). <tshark-output filter="udp port 53"> 192.168.1.94 -> 8.8.8.8 DNS Standard query AAAA snowflake.nullroute.eu.org 8.8.8.8 -> 192.168.1.94 DNS Standard query response AAAA 2001:470:1f0b:614:2ff:76ff:fe90:0 </tshark-output> PHP 5.3.2 (cli) (built: Mar 3 2010 20:47:01) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies Test script: --------------- <?php foreach (dns_get_record('snowflake.nullroute.eu.org', DNS_AAAA) as $r) var_dump($r['ipv6']); Expected result: ---------------- string(33) "2001:470:1f0b:614:2ff:76ff:fe90::" Actual result: -------------- string(37) "2001:470:1f0b:614:2ff:76ff:fe90:XXXXX" (where XXXXX is five random bytes)