Bug #17496 [Opn]: $_nicServers should be FQDN
| From: | ken at linux dot ie | Date: | Tue, 15 Jun 2010 16:59:27 +0000 |
| Subject: | Bug #17496 [Opn]: $_nicServers should be FQDN | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3943@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17496&edit=1
ID: 17496
Updated by: ken@linux.ie
Reported By: hm2k at php dot net
Summary: $_nicServers should be FQDN
Status: Open
Type: Bug
Package: Net_Whois
Package Version: SVN
PHP Version: 5.3.2
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: kguest
Previous Comments:
------------------------------------------------------------------------
[2010-06-15 16:48:22] hm2k
Description:
------------
For example, whois.nic.gov should become whois.nic.gov.
The problem arises when your server is part of a domain.
Most of the time this isn't a problem unless the domain is
unresolvable, for example:
* Dns unable to resolve whois.nic.mil
* Dns unable to resolve mil.whois-servers.net
The problem arises if your domain is "example.com" and it uses wildcard
dns (where *.example.com resolves to an IP).
If mil.whois-servers.net doesn't exist (which it doesn't) then the
server assumes you mean mil.whois-servers.net.example.com which may
resolve.
This will then attempt to connect to the whois server on that IP rather
than the intended whois.
A resolution is to use fully qualified domain names (FQDN) by adding a
trailing dot on hostnames.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17496&edit=1