分类: 系统运维
2012-02-08 22:21:55
If you've upgraded to BIND 9 and don't have a named-xfer binary, you can still use nslookup or dig to do a zone transfer. Either query tool will give you some of the information that named-xfer would have given you.
For example, to use dig to do the same zone transfer we showed you earlier, you can run:
% dig @toystory.movie.edu movie.edu. axfrWith nslookup, you can change your nameserver and use the ls -d command from interactive mode.
Unfortunately, both dig and nslookup are more limited than named-xfer is in reporting errors. If nslookup can't transfer a zone, it usually reports an "unspecified error":
> ls movie.edu. [toystory.movie.edu] *** Can't list domain movie.edu: Unspecified errorThis could be caused by an allow-transfer access list, the fact that isn't actually authoritative for , or a number of other problems. To tell which, you may just have to send other, related queries or check the syslog output on the master