#12510 [Com]: checkdnsrr gives strange answers
| From: | sex-to42 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:12:14 +0000 |
| Subject: | #12510 [Com]: checkdnsrr gives strange answers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63121@lists.php.net to get a copy of this message | ||
ID: 12510
Comment by: sex-to42 at hotmail dot com
Reported By: honey at 7thGuard dot net
Status: Bogus
Bug Type: *Network Functions
Operating System: Linux
PHP Version: 4.0.6
New Comment:
<a href=http://nbig-handcuff-sex-p.da.ru>sex
to</a>
Previous Comments:
------------------------------------------------------------------------
[2001-08-01 09:04:39] andy@php.net
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
------------------------------------------------------------------------
[2001-08-01 09:01:03] honey at 7thGuard dot 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 at 7thGuard dot 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