Discussion:
axfr-get: fatal: unable to write to network: file descriptor not open
David Benfell
2002-07-29 11:12:45 UTC
Permalink
Hello all,

My zone transfer script yields the following error for each attempt:

axfr-get: fatal: unable to write to network: file descriptor not open

I am attempting the following transfers from domains I'm supposed to
be a secondary DNS for:

axfr-get starshine.org starshine.org-data starshine.org-tmp
axfr-get horizonpr.com horizonpr.com-data horizonpr.com-tmp

A Google search on the error yields nothing. What does this error
message mean?

Thanks!
--
David Benfell, LCP
***@parts-unknown.org
---
Resume available at http://www.parts-unknown.org/resume.html
Adrian Ho
2002-07-29 13:13:24 UTC
Permalink
Post by David Benfell
axfr-get: fatal: unable to write to network: file descriptor not open
[...]
axfr-get starshine.org starshine.org-data starshine.org-tmp
axfr-get horizonpr.com horizonpr.com-data horizonpr.com-tmp
A Google search on the error yields nothing.
A list archive search, OTOH, yields at least half a dozen matches.
Post by David Benfell
What does this error message mean?
It means you should read the axfr-get man page more closely, in
particular the 2nd para:

Normally axfr-get is run under tcpclient, which sets up descriptors
6 and 7 as a TCP connection to a remote host.
--
Adrian Ho Tinker, Drifter, Fixer, Bum aho-djb-***@03s.net
ListArchive: <http://marc.theaimsgroup.com/?l=djbdns>
Useful URLs: <http://cr.yp.to/djbdns.html> <http://tinydns.org/>
<http://www.lifewithdjbdns.org/> <http://djbdns.faqts.com/>
John Peacock
2002-07-29 13:11:26 UTC
Permalink
Post by David Benfell
axfr-get: fatal: unable to write to network: file descriptor not open
A Google search on the error yields nothing. What does this error
message mean?
It means that you didn't read the docs for axfr-get very carefully; don't feel
bad, this particular section of the docs desperately needs an actual example of
usage, rather than the terse discussion found there. axfr-get is not a fully
functional client; it requires tcpclient to operate. Try this instead:

tcpclient ns.starshine.org 53 axfr-get starshine.org starshine.org-data
starshine.org-tmp

HTH

John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
Loading...