nslookup, command not implemented?
I'm trying to use nslookup to look up zone info for a domain. But for some reason it tells me that some commands are not implemented, here is a copy of what I was trying to do (IP's and domains changed for security):
[root@localhost phalanx]# nslookup > server ns.dnsserver.com Default server: ns.dnsserver.com Address: 17.135.36.19#53 > set type=any > ls -d domain.com The 'ls' command is not implemented. > when I lookup the man pages for nslookup, this is what I get: INTERACTIVE COMMANDS host [server] Look up information for host using the current default server or using server, if specified. If host is an Internet address and the query type is A or PTR, the name of the host is returned. If host is a name and does not have a trailing period, the search list is used to qualify the name. To look up a host not in the current domain, append a period to the name. server domain lserver domain Change the default server to domain; lserver uses the initial server to look up information about domain, while server uses the current default server. If an authoritative answer can’t be found, the names of servers that might have the answer are returned. root not implemented finger not implemented ls not implemented view not implemented help not implemented ? not implemented exit Exits the program. What gives? what's with the commands not implemented? I am running Fedora Core 4 86x64 with everything updated and I'm running the commands as root. I don't understand why it says that these commands are not implemented, and what do I need to do to implement them? |
"I don't understand why it says that these commands are not implemented, and what do I need to do to implement them?"
The message means that the command is not implemented on the server that you are querying. Sometimes that means that the command does not exist and sometimes it means that for security reasons the command is disallowed. Here is a list of commands that could possibly be implemented: http://incubator.apache.org/ftpserver/ftp_commands.html ------------------------- Steve Stites |
If that's the case, how come I can do the nslookup under Windows XP and get the zone info from the same PC? I took the same steps in Windows that I did in Linux, just for some reason my Linux version of nslookup will not get the informatiion.
Basically, the server does allow the commands to be run (evident by my being able to run them from Windows), and the copy of what I found in the man pages for nslookup came from my local machine. What I need to find out is how to get the commands to work in Linux, why they are not "implemented". |
All times are GMT -5. The time now is 07:03 PM. |