Command Problem

StarBuck

Registered
Hi

This might be a silly question but if I type a command like nslookup -type=mx I get a error message back saying unknown option -type=mx.

If I login as another user it works I have x11 installed I pretty sure it stopped working after I installed this.

Any ideas

Thanks
 
Why don't you go into nslookup and type in:

set type=MX
set all

and see, if it has accepted your option there. If so, it should print "querytype=MX" somewhere

As it works for one user, but not for another, I assume the problem lies somewhere in the user environment (shell etc.) rather than in nslookup itself. So, the procedure above, might do :)
 
-type is not a valid nslookup command line option. Instead, use -query:
nslookup -query=MX yourdomain.com
 
Well just so you folks know my system totally died yesterday I ended up re-intalling 10.2.6.

I can now type

nslookup -type=mx yourdomain.com

It works fine again but thanks for the other ways of getting the same results.
 
that sucks... at least things worked out for you....
you should've tried Firestarter FX, it does wonderful things.
 
Also greetings from Germany -> rhg :)
I was born in Velbert... and to complete the issue: "query", "type" and "querytype" are synonyms, either from command line or in interactive mode.
 
Back
Top