mirror of
https://github.com/haad/proxychains.git
synced 2026-09-14 11:05:48 +05:00
Using OpenDNS and Drill (ldns-utils)
This commit is contained in:
parent
0c39bb25a6
commit
fdbce6cf24
@ -2,7 +2,7 @@
|
||||
# This script is called by proxychains to resolve DNS names
|
||||
|
||||
# DNS server used to resolve names
|
||||
DNS_SERVER=8.8.8.8
|
||||
DNS_SERVER=208.67.222.222
|
||||
|
||||
|
||||
if [ $# = 0 ] ; then
|
||||
@ -17,4 +17,4 @@ if [[ "$?" -eq "0" ]]; then
|
||||
fi
|
||||
|
||||
export LD_PRELOAD=libproxychains.so
|
||||
dig $1 @$DNS_SERVER +tcp | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'
|
||||
drill $1 @$DNS_SERVER -t | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user