host or nslookup? absent from live cd?

Post Reply
gnomic
Posts: 26
Joined: 3. Feb 2010, 06:11

host or nslookup? absent from live cd?

Post by gnomic »

Using live CD rc1 and just now wanted to use the 'host' command, alternatively 'nslookup'. However they don't seem to be provided. Is this a Slackware thing? Have I missed their hiding place? Any alternative to provide the same function?
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: host or nslookup? absent from live cd?

Post by gapan »

Both host and nslookup are included in the bind package. It's not installed by default, so you'll have to install it to use them.
Image
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: host or nslookup? absent from live cd?

Post by Shador »

No, they are not provided by the Standard Installation discs and accordingly also not by the LiveCD.
But I think bind, the providing package, might be worth including in the default package sets.

Anyway, you can always add packages to your *running* live environment using slapt-get or gslapt. If you want to add them persistently to your live environment, you have to create a new module (e.g. 08-custom.lzm) in the salixlive/base directory of the ISO (easiest when exploded to USB). For the creation you can use the tools provided in the salixlive/tools directory. You probably need some deps to run them successfully, too.
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: host or nslookup? absent from live cd?

Post by Akuna »

Otherwise, you could simply, while in a LiveCD session, first create a persistence file (on a usb key for example) with the help of the dedicated utility that is right on the desktop.

After creating that persistent file, you must reboot the LiveCD, and from then on, any of your subsequent changes will be saved, that is all the packages you may install, all the work you may do or all the cosmetic changes you may apply on the Live environment.

In your case, after creating your persistence file & rebooting on the LiveCD, simply install bind & any other programs you may want to use in our LiveCD sessions from then on.
Image
What really matters is where you are going, not where you come from.
gnomic
Posts: 26
Joined: 3. Feb 2010, 06:11

Re: host or nslookup? absent from live cd?

Post by gnomic »

Thanks for explanation and suggestions. I see there are also various websites which will perform a lookup.
For example http://www.1pagedesign.com/name_server_lookup/, though this is a bad example, not recommended, presumably there are some that are genuinely useful and not just advertising traps for the unwary.
Post Reply