Req #43536 [Opn->Dup]: Specifying a nameserver for DNS requests
| From: | cmb@php.net | Date: | Fri, 30 Jul 2021 08:47:32 +0000 |
| Subject: | Req #43536 [Opn->Dup]: Specifying a nameserver for DNS requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235469@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=43536&edit=1
ID: 43536
Updated by: cmb@php.net
Reported by: marc at perkel dot com
Summary: Specifying a nameserver for DNS requests
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: Network related
Operating System: all
PHP Version: 5.2.5
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Indeed, a duplicate of bug #17819.
Previous Comments:
------------------------------------------------------------------------
[2017-01-23 13:47:51] narf at devilix dot net
Looks like a duplicate of https://bugs.php.net/bug.php?id=17819
------------------------------------------------------------------------
[2013-09-01 19:28:35] php at kriegt dot es
Wondering why no one voting for this feature request. Imho this is a feature
which is really missing from all those network features that PHP gives us.
This request is going to get 6 year old. Imho we should start to think about
what is usefull and what is trash. Imho trash features are possibilities for
brackets while defining an array:
$foo = [ 1, 2, 3 ];
A usefull feature would be this which was request in 2007.
Please think about it since perl or other languages are able to query specific
nameservers:
http://www.net-dns.org/docs/Net/DNS/Resolver.html
http://ruby-doc.org/stdlib-1.9.3/libdoc/resolv/rdoc/Resolv/DNS.html
...
Those PEAR packages which are fossiles in PHP history (sorry but these PHP 4
compatibility is pretty odd) can query specific nameservers, but tbh - I would
never use PEAR packages since the performance of that code is horrible.
Hopefully this feature will find its way to a new PHP Version.
------------------------------------------------------------------------
[2007-12-08 14:06:16] marc at perkel dot com
Description:
------------
It would be nice if there were a way to direct DNS requests to a specific nameserver so that one
could write code that tests what a specific nameserver is returning and avoid caching. That way if
you are writing a diagnostic tool to test name server configurations it will work correctly. Would
like to be able to write what DNSstuff does in PHP.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=43536&edit=1