Bug #12510 Updated: checkdnsrr gives strange answers

From: Date: Wed, 01 Aug 2001 13:04:40 +0000
Subject: Bug #12510 Updated: checkdnsrr gives strange answers
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61746@lists.php.net to get a copy of this message
ID: 12510 Updated by: andy Reported By: honey@7thGuard.net Status: Bogus Bug Type: *Network Functions Operating System: Linux PHP Version: 4.0.6 New Comment: no it doesn't 7bulls.com may have MX records, but no "*.7bulls.com" nslookup on *.7bulls.com > set type=MX >*.7bulls.com **207-230-75-222.deltacom.net can't find *.7bulls.com: Non- existant host/domain Previous Comments: ------------------------------------------------------------------------ [2001-08-01 09:01:03] honey@7thGuard.net adny wrote: > *.7thGuard.net has MX records. By default, checkdnsrr looks for > MX recors. Not a PHP bug but, for example, checkdnsrr("*.7bulls.com") returns false. 7bulls.com also has MX. ------------------------------------------------------------------------ [2001-08-01 08:57:57] andy@php.net When I used nslookup on your site I got... > set type=MX (The default type that PHP looks for) > 7thGuard.net 7thGuard.net preference=10, mail exchanger = mail.7thGuard.net [...] > *.7thGuard.net Name: *.7thGuard.net *.7thGuard.net preference=10, mail exchanger = mail.7thGuard.net [...] > So, *.7thGuard.net has MX records. By default, checkdnsrr looks for MX records. Not a PHP bug. ------------------------------------------------------------------------ [2001-08-01 08:57:56] andy@php.net When I used nslookup on your site I got... > set type=MX (The default type that PHP looks for) > 7thGuard.net 7thGuard.net preference=10, mail exchanger = mail.7thGuard.net [...] > *.7thGuard.net Name: *.7thGuard.net *.7thGuard.net preference=10, mail exchanger = mail.7thGuard.net [...] > So, *.7thGuard.net has MX records. By default, checkdnsrr looks for MX records. Not a PHP bug. ------------------------------------------------------------------------ [2001-08-01 06:48:25] honey@7thGuard.net checkdnsrr for *.domanname.com gives "not found". It's okay. It works for most domains in internet. But on my system checkdnsrr("*.7thGuard.net") and checkdnsrr("*.7thGuard.com") returns true. Should't it always return "fasle"? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12510&edit=1

« previous php.dev (#61746) next »