Home » Networking » Net_DNS » Bug #2087
AXFR From Specific DNS Server
Details
| Request #2087 | AXFR From Specific DNS Server |
|---|---|
| Submitted | 2004-08-08 03:03 UTC |
| From | brandon at osuosl dot org |
| Assigned | ekilfoil |
| Status | Bogus |
| Package | Net_DNS |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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.