OPNsense Forum

English Forums => General Discussion => Topic started by: eguun on August 18, 2022, 10:34:38 PM

Title: nslookup from command line?
Post by: eguun on August 18, 2022, 10:34:38 PM
dear all,

looking for advise

I'm surprized that the nslookup tool isn't available out-of-the-box on opnsense.

What's the recommended/pragmatic way to make simple resolve of fqdn from the command line?
Is there a tool I oversaw?
Should I install nslookup from /usr/port?

Thanks
Title: Re: nslookup from command line?
Post by: Patrick M. Hausen on August 18, 2022, 11:30:01 PM
nslookup has been deprecated for ages. Just use ˋdigˋ.
Title: Re: nslookup from command line?
Post by: eguun on August 19, 2022, 12:54:21 AM
Thanks for the response.

But dig also seems missing from out of the box.

What's the recommendation towards my initial question?
Title: Re: nslookup from command line?
Post by: axsdenied on August 19, 2022, 03:14:35 AM
Both Dig and Nslookup were tools associated with BIND which was removed.  "Host" however is still "in the box."
Title: Re: nslookup from command line?
Post by: Patrick M. Hausen on August 19, 2022, 06:14:46 AM
Ah ... I have BIND installed, sorry.

drill is the base system replacement for dig.
Title: Re: nslookup from command line?
Post by: eguun on August 19, 2022, 07:37:29 AM
Quote from: pmhausen on August 19, 2022, 06:14:46 AM
Ah ... I have BIND installed, sorry.

drill is the base system replacement for dig.

Many thanks!
Was exactly what I was after :)