Bug #12510 Updated: checkdnsrr gives strange answers
ID: 12510
User updated by: honey@7thGuard.net
Reported By: honey@7thGuard.net
Status: Bogus
Bug Type: *Network Functions
Operating System: Linux
PHP Version: 4.0.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (5 messages)