|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47780 [FR] dns_get_record: possibility to specify nameserver that should be queried
Submitted: 2009-03-25 22:34 UTC Modified: 2017-10-24 07:31 UTC
Avg. Score:4.4 ± 0.7
Reproduced:11 of 12 (91.7%)
Same Version:8 (72.7%)
Same OS:6 (54.5%)
From: valli at icsurselva dot ch Assigned:
Status: Open Package: *Network Functions
PHP Version: * OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: valli at icsurselva dot ch
New email:
PHP Version: OS:


 [2009-03-25 22:34 UTC] valli at icsurselva dot ch
Feature request for the dns_get_record function:

It would be nice to specify an array of nameserver
IP addresses that should be queried.

Like in PEAR::Net_DNS (Net_DNS_Resolver::query()).
See $nameservers array in:

Only with this feature would it be possible to
implement something like this.
(Of course it would be possible with PEAR::Net_DNS)

Reproduce code:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-25 22:38 UTC]
I was about to enable this feature on windows but it would have introduced some portability issues again. But I think it would be useful.

I have a patch for windows to allow that, porting it to the other platforms. 
 [2010-04-25 19:19 UTC]
-Package: Feature/Change Request +Package: *General Issues -Operating System: Linux +Operating System: * -PHP Version: 5.2.9 +PHP Version: *
 [2010-04-25 19:19 UTC]
-Package: *General Issues +Package: *Network Functions
 [2010-05-19 12:29 UTC] bantu at phpbb dot com
Duplicates #39671 IMO
 [2013-08-12 02:11 UTC] yehuda at ymkatz dot net
This bug has gone a while with no change.
Can you post your patch so someone else can have a look at it?
 [2017-10-24 07:31 UTC]
-Status: Assigned +Status: Open -Assigned To: pajoye +Assigned To:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 20 11:03:34 2021 UTC