Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 201466

Summary: net-misc/proxychains should depend on net-dns/bind-tools
Product: Gentoo Linux Reporter: gtlinuxman <gtlinuxman>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gtlinuxman 2007-12-06 08:43:59 UTC
% equery f proxychains | grep '/bin'
/usr/bin
/usr/bin/proxychains
/usr/bin/proxyresolv

% proxyresolv gentoo.org
/usr/bin/proxyresolv: line 16: dig: command not found

% cat /usr/bin/proxyresolv
#!/bin/sh
# This script is called by proxychains to resolve DNS names

# DNS server used to resolve names
DNS_SERVER=4.2.2.2


if [ $# = 0 ] ; then
        echo "  usage:"
        echo "          proxyresolv <hostname> "
        exit
fi


export LD_PRELOAD=libproxychains.so
dig $1 @$DNS_SERVER +tcp | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'



% esearch -S 'dig, '
[ Results for search key : dig,  ]
[ Applications found : 1 ]

*  net-dns/bind-tools
      Latest version available: 9.4.1_p1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 18,578 kB
      Homepage:    http://www.isc.org/products/BIND/bind9.html
      Description: bind tools: dig, nslookup, and host
      License:     as-is