Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201466 - net-misc/proxychains should depend on net-dns/bind-tools
Summary: net-misc/proxychains should depend on net-dns/bind-tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 08:43 UTC by gtlinuxman
Modified: 2007-12-08 07:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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