Allow custom massdns path
This commit is contained in:
parent
d3b244f317
commit
883942ba55
|
@ -3,3 +3,4 @@ CACHE_SIZE=536870912
|
||||||
MASSDNS_HASHMAP_SIZE=1000
|
MASSDNS_HASHMAP_SIZE=1000
|
||||||
PROFILE=0
|
PROFILE=0
|
||||||
SINGLE_PROCESS=0
|
SINGLE_PROCESS=0
|
||||||
|
MASSDNS_BINARY=massdns
|
||||||
|
|
|
@ -17,7 +17,7 @@ pv subdomains/*.list | ./validate_list.py --domain | rev | sort -u | rev > temp/
|
||||||
|
|
||||||
log "Resolving subdomain…"
|
log "Resolving subdomain…"
|
||||||
date +%s > "last_updates/massdns.txt"
|
date +%s > "last_updates/massdns.txt"
|
||||||
massdns --output Snrql --retry REFUSED,SERVFAIL --hashmap-size "$MASSDNS_HASHMAP_SIZE" --resolvers temp/all_nameservers_ip4.list --outfile temp/all_resolved.txt temp/all_subdomains.list
|
"$MASSDNS_BINARY" --output Snrql --retry REFUSED,SERVFAIL --hashmap-size "$MASSDNS_HASHMAP_SIZE" --resolvers temp/all_nameservers_ip4.list --outfile temp/all_resolved.txt temp/all_subdomains.list
|
||||||
|
|
||||||
log "Importing into database…"
|
log "Importing into database…"
|
||||||
[ $SINGLE_PROCESS -eq 1 ] && EXTRA_ARGS="--single-process"
|
[ $SINGLE_PROCESS -eq 1 ] && EXTRA_ARGS="--single-process"
|
||||||
|
|
Loading…
Reference in a new issue