ID: 49183 Updated by: paj...@php.net Reported By: sunnyseh at hotmail dot com -Status: Feedback +Status: Assigned Bug Type: Network related Operating System: windows PHP Version: 5.3.0 Assigned To: pajoye New Comment:
Found the problem and have the fix already, I will commit it when I'm back from holidays on Monday. Previous Comments: ------------------------------------------------------------------------ [2009-08-07 10:00:24] sunnyseh at hotmail dot com here you go... output from: print_r(dns_get_record('ben.tel', DNS_ALL)); Array ( [0] => Array ( [host] => ben.tel [type] => A [ip] => 194.77.54.2 [class] => IN [ttl] => 86400 ) [1] => Array ( [host] => ben.tel [type] => NS [target] => a0.cth.dns.nic.tel [class] => IN [ttl] => 3600 ) [2] => Array ( [host] => ben.tel [type] => NS [target] => d0.cth.dns.nic.tel [class] => IN [ttl] => 3600 ) [3] => Array ( [host] => ben.tel [type] => NS [target] => n0.cth.dns.nic.tel [class] => IN [ttl] => 3600 ) [4] => Array ( [host] => ben.tel [type] => NS [target] => s0.cth.dns.nic.tel [class] => IN [ttl] => 3600 ) [5] => Array ( [host] => ben.tel [type] => NS [target] => t0.cth.dns.nic.tel [class] => IN [ttl] => 3600 ) [6] => Array ( [host] => ben.tel [type] => TXT [txt] => .tsm1pddx1 [entries] => Array ( [0] => .tsm [1] => 1 [2] => pddx [3] => 1 ) [class] => IN [ttl] => 60 ) [7] => Array ( [host] => ben.tel [type] => TXT [txt] => Welcome to .tel, the new way to communicate! You can't have Laura's telephone number, but more information is available about her and the movie below. ;)) [entries] => Array ( [0] => Welcome to .tel, the new way to communicate! You can't have Laura's telephone number, but more information is available about her and the movie below. ;)) ) [class] => IN [ttl] => 60 ) [8] => Array ( [host] => ben.tel [class] => IN [ttl] => 60 ) [9] => Array ( [host] => ben.tel [class] => IN [ttl] => 60 ) [10] => Array ( [host] => ben.tel [class] => IN [ttl] => 60 ) [11] => Array ( [host] => ben.tel [class] => IN [ttl] => 60 ) ) and if you actually browse to ben.tel you'll see the following additional records: Web (Buy YOUR dottel here) telnic.org/business-buy.html Go to More About The Movie Web (Learn more) www.telnic.org Work Email commun...@telnic.org These are all naptr records stored in the dns of ben.tel. Let me know if you need further info. Thanks for looking at this so quickly :) ------------------------------------------------------------------------ [2009-08-07 09:44:21] j...@php.net This short thing returns quite a long list: # php -r 'var_dump(dns_get_record("ben.tel", DNS_NAPTR));' Not sure what you actually expected it to return since you didn't mention that. Your bug report is a bit buggy.. ------------------------------------------------------------------------ [2009-08-07 08:58:19] sunnyseh at hotmail dot com sorry don't have access to a unix env to give it a go. was on windows - tested with several dot tel domains try henri.tel or ben.tel view these dot tel domains in a browser and you'll notice all the naptr records, when using the php function you only get back the text records ------------------------------------------------------------------------ [2009-08-06 19:27:17] paj...@php.net Does it return it on unix? Which domain did you use to test? ------------------------------------------------------------------------ [2009-08-06 19:07:30] sunnyseh at hotmail dot com Description: ------------ when you use the dns_get_record function it only returns txt records from dot tel domains. When you use the DNS_NAPTR option it still doesnt return dot tel NAPTR records. Is this supported functionality or on the roadmap? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49183&edit=1