Automatically download nameserver list
This commit is contained in:
parent
1bbc17a8ec
commit
7df00fc859
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
*.log
|
||||
nameservers
|
||||
nameservers.head
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Get a list of nameservers
|
||||
|
||||
rm -f nameservers
|
||||
touch nameservers
|
||||
[ -f nameservers.head ] && cat nameservers.head >> nameservers
|
||||
curl https://public-dns.info/nameservers.txt | sort -R >> nameservers
|
||||
|
||||
# Filter out the subdomains not pointing to a first-party tracker
|
||||
|
||||
cat subdomains/*.list | sort -u > temp/all_subdomains.list
|
||||
|
|
Loading…
Reference in a new issue