Bind dig host DNS Util

Post here if you are a new Porteus member and you're looking for some help.
leclaw
White ninja
White ninja
Posts: 18
Joined: 02 Nov 2018, 19:52
Distribution: Porteus 4.0

Bind dig host DNS Util

Post#1 by leclaw » 14 Jan 2019, 21:30

I would like to use the 'dig' and/or 'host' terminal commands to inspect, and possibly modify, the DNS servers that my 'homerouter-to-wifi-to-laptop' connection is using.
Should this already be included in Porteus 4 or is it a component that I need to fetch from somewhere?
I can't tell if usm has this or if I might already have it installed(?)

Code: Select all

root@porteus:/usr/bin# usm -s bind
bind-9.10.8_P1-x86_64-1_slack14.2.txz was found in slackwarepatches [downgrade]
rpcbind-0.2.4-x86_64-2_slack14.2.txz was found in slackwarepatches [installed]
valabind-1.4.0-x86_64-1_slonly.txz was found in slackonly [not installed]......

I can't seem to find the dig or host commands on my machine.
It seems that I could download Bind 9 (source code) from https://www.isc.org/downloads/bind/ but I have never tried to build source code into an xzm...
Is there a 'best way' for a newbie to proceed on this?
Tks.
b
Porteus v.4.0. Booting from Sandisk Ultra 32GB flash drive. Persistence via save.dat. Fat32. Hardware HP2000 laptop. USB 3.0. Browser current ver. Firefox.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3932
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Bind dig host DNS Util

Post#2 by ncmprhnsbl » 15 Jan 2019, 03:19

afaics, porteus-4.0 doesn't have bind installed by default (unless one of the DE modules has it? or perhaps one your other modules?)
to check:

Code: Select all

ls /var/log/packages/bind*
if not, it looks like bind-9.10.8_P1-x86_64-1_slack14.2.txz should work:

Code: Select all

guest@porteus:~$ ldd /usr/bin/dig | grep "not found"
guest@porteus:~$ ldd /usr/bin/host | grep  "not found"
ie. doesn't appear to have any missing or incompatible libs..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

leclaw
White ninja
White ninja
Posts: 18
Joined: 02 Nov 2018, 19:52
Distribution: Porteus 4.0

Re: Bind dig host DNS Util

Post#3 by leclaw » 15 Jan 2019, 14:48

Looking in

Code: Select all

ls /var/log/packages/bind*
I can confirm that Bind is not in my list of installed packages. Therefore, seemingly not provided by default in Porteus 4.0.
I'll try the "bind-9.10.8_P1-x86_64-1_slack14.2.txz" package and post the result.
I'm making a list of all the commands you give me, for my future reference...
tks.
b
Porteus v.4.0. Booting from Sandisk Ultra 32GB flash drive. Persistence via save.dat. Fat32. Hardware HP2000 laptop. USB 3.0. Browser current ver. Firefox.

leclaw
White ninja
White ninja
Posts: 18
Joined: 02 Nov 2018, 19:52
Distribution: Porteus 4.0

Re: Bind dig host DNS Util

Post#4 by leclaw » 15 Jan 2019, 18:14

Confirming: "bind-9.10.8_P1-x86_64-1_slack14.2.txz" package does work on my Porteus 4.0 system.
It turns out that the dig, host, and nslookup commands are a bit overkill for what I was looking for, but still good to learn about.
The bind module has no missing deps on my system with the following modules installed:

Code: Select all

root@porteus:/mnt/live/memory/images# ls
000-kernel.xzm/                         epdfview-0.1.8-x86_64-3gv.xzm/
001-core.xzm/                           firefox-63.0-x86_64-1.xzm/
002-xorg.xzm/                           fvd-module-1.0.8-4.x86_64.xzm/
003-kde.xzm/                            nmap-7.12-x86_64-bundle.xzm/
avidemux-2.7.1-x86_64-bundle.xzm/       qt-4.8.7-x86_64-bundle.xzm/
bind-9.10.8_P1-x86_64-1_slack14.2.xzm/  vlc2-2.2.8-x86_64-bundle.xzm/
b.
Porteus v.4.0. Booting from Sandisk Ultra 32GB flash drive. Persistence via save.dat. Fat32. Hardware HP2000 laptop. USB 3.0. Browser current ver. Firefox.

Post Reply