Bug #12510 Updated: checkdnsrr gives strange answers

From: Date: Wed, 01 Aug 2001 12:57:57 +0000
Subject: Bug #12510 Updated: checkdnsrr gives strange answers
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61743@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:

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.


Previous Comments:
------------------------------------------------------------------------

[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)

« previous php.dev (#61743) next »