|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #43536 Specifying a nameserver for DNS requests
Submitted: 2007-12-08 14:06 UTC Modified: 2021-07-30 08:47 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: marc at perkel dot com Assigned: cmb (profile)
Status: Duplicate Package: Network related
PHP Version: 5.2.5 OS: all
Private report: No CVE-ID: None
 [2007-12-08 14:06 UTC] marc at perkel dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-01 19:28 UTC] 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 

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.
 [2017-01-23 13:47 UTC] narf at devilix dot net
Looks like a duplicate of
 [2021-07-30 08:47 UTC]
-Status: Open +Status: Duplicate -Package: Feature/Change Request +Package: Network related -Assigned To: +Assigned To: cmb
 [2021-07-30 08:47 UTC]
Indeed, a duplicate of bug #17819.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 13:01:25 2023 UTC