Scheduled maintenance: Community available only in read-only mode until 6:00 AM (PT)

USG: Install unix commands 'nslookup' and 'dig'

Submitted by
Status: Implemented

Sometimes you need to check a domain name, see if it gets resolved correctly and maybe adding a static route. 

 

Having the standard unix tools 'nslookup' and 'dig' would really help on the administration side.

Comments
by Ubiquiti Employee
on ‎11-30-2017 08:07 PM
Status changed to: Implemented

this has been added for USG 4.4.15 and newer.

by
on ‎04-01-2018 08:34 PM

not added in USG 4.4.18.5052172

by
on ‎04-06-2018 01:25 PM

Can't find in 4.4.18.5052168 

by
on ‎08-16-2018 05:27 PM

Same. Not available by default, but this worked for me on Unify Security Gateway v4.4.22

 

curl http://http.us.debian.org/debian/pool/main/b/bind9/dnsutils_9.8.4.dfsg.P1-6+nmu2+deb7u10_mips.deb -o /tmp/dnsutils.deb
sudo dpkg -i /tmp/dnsutils.deb

nslookup google.com
dig +short google.com MX

#use 127.0.0.1 as the DNS server to get results from /etc/host or /etc/dnsmasq.d/whatever.conf files
nslookup hostname.home.arpa 127.0.0.1 #assuming home.arpa is your local domain
dig myusg @127.0.0.1
by
on ‎03-05-2019 10:09 PM

this has been added for USG 4.4.15 and newer.

 

sysadmin@TLG-Gateway-IS1:~$ dig
-vbash: dig: command not found

 

On 4.4.36.