nslookup from command line?

Started by eguun, August 18, 2022, 10:34:38 PM

Previous topic - Next topic
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

nslookup has been deprecated for ages. Just use ˋdigˋ.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thanks for the response.

But dig also seems missing from out of the box.

What's the recommendation towards my initial question?

Both Dig and Nslookup were tools associated with BIND which was removed.  "Host" however is still "in the box."
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

Ah ... I have BIND installed, sorry.

drill is the base system replacement for dig.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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 :)