Home » Networking » Net_DNS » Bug #4123
double query in search and no trailing dot for in-addr.arpa.
Details
| Submitted | 2005-04-11 22:39 UTC |
|---|---|
| From | m dot reidenbach at everytruckjob dot com |
| Assigned | ekilfoil |
| Status | Closed |
| Package | Net_DNS |
| PHP Version | Irrelevant |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2005-04-11 22:39 UTC] m dot reidenbach at everytruckjob dot com
Description:
------------
If the name to be queried in the "search" method does not contain a '.', queries for both "name." and "name" are run with only the one for "name" being checked.
There are also two instances of "in-addr.arpa" that should include a trailing dot.
Reproduce code:
---------------
This patch fixes a few incorrect comments and includes whitespace, spellings, and grammar fixes. The patch also uses "if (strpos($name, '.') === false)" instead of "if (! strlen(strstr($name, '.')))" to check for a name without a dot.
http://www.tuscaloosadesigncompany.com/Resolver.1.diff
Patch for "in-addr.arpa.":
http://www.tuscaloosadesigncompany.com/Resolver.2.diff