Created
December 21, 2020 15:29
-
-
Save ksc91u/47c12872695a47c4315ff6b9d40fcb95 to your computer and use it in GitHub Desktop.
netflix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www.us-east-1.internal.dradis.netflix.com. | |
www.us-east-2.internal.dradis.netflix.com. | |
www.us-west-1.internal.dradis.netflix.com. | |
www.us-west-2.internal.dradis.netflix.com. | |
www.eu-west-1.internal.dradis.netflix.com. | |
www.netflix.com | |
netflix.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/sbin/ipset restore </config/user-data/as-nflx | |
for n in `cat /config/user-data/netflix` | |
do | |
for i in `host $n|grep IPv4|cut -d " " -f 5 ` | |
do | |
echo "Add nflx $i" | |
/sbin/ipset add AS_nflx $i | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment