Edit report at https://bugs.php.net/bug.php?id=43536&edit=1

 ID:                 43536
 Comment by:         php at kriegt dot es
 Reported by:        marc at perkel dot com
 Summary:            Specifying a nameserver for DNS requests
 Status:             Open
 Type:               Feature/Change Request
 Package:            Feature/Change Request
 Operating System:   all
 PHP Version:        5.2.5
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to