PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_DNS » Bug #2087

AXFR From Specific DNS Server

Details

Request #2087AXFR From Specific DNS Server
Submitted2004-08-08 03:03 UTC
Frombrandon at osuosl dot org
Assignedekilfoil
StatusBogus
PackageNet_DNS
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-08-08 03:03 UTC] brandon at osuosl dot org

Description:
------------
A way of requesting an AXFR transfer for a domain from any DNS server would be fantastic.

[2004-08-08 03:04 UTC] brandon at osuosl dot org

Bug->Feature

[2005-04-03 04:17 UTC] richarde at users dot sourceforge dot net

This can already be done:

$res = new Net_DNS_Resolver();
//$res->debug = 1;
$res->persistent_tcp=1;
$res->nameservers=array($server);

$answers = $res->axfr($domain);

where $domain contains the domain name to transfer and $server is the DNS server to transfer from (ip address or dns name). There can be multiple servers in the nameserver array - they will be attempted in order.