php.net |  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
Votes:13
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-03-25 22:34 UTC] valli at icsurselva dot ch
Description:
------------
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:
http://pear.php.net/manual/en/package.networking.net-dns.net-dns-resolver.query.php

Only with this feature would it be possible to
implement something like this.
http://centralops.net/asp/co/NsLookup.vbs.asp
(Of course it would be possible with PEAR::Net_DNS)

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-25 22:38 UTC] pajoye@php.net
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] pajoye@php.net
-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] pajoye@php.net
-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.
pajoye,
Can you post your patch so someone else can have a look at it?
 [2017-10-24 07:31 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: pajoye +Assigned To:
 [2022-12-10 08:34 UTC] asri dot jas352 at gmail dot com
I'm happy to see the issue is soon regulated. Thankful to you for supporting us with the outcome.A commitment of appreciation is all together for the information, keep on sharing such a data. (https://www.tecologin.com/)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC