Created
March 23, 2013 00:19
-
-
Save rdmarsh/5225741 to your computer and use it in GitHub Desktop.
Piratebox DNS hijack rc.local - /etc/rc.local from http://www.reddit.com/r/Piratebox/comments/zpdqh/a_more_complete_dns_hijack_for_piratbox/ http://pastebin.com/j7sAES1V
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
# Put your custom commands here that should be executed once | |
# the system init finished. By default this file does nothing. | |
# GoogleDNS | |
ifconfig eth0:1 8.8.8.8 netmask 255.255.255.0 | |
ifconfig eth0:2 8.8.4.4 netmask 255.255.255.0 | |
# Level3 | |
ifconfig eth0:3 4.2.2.2 netmask 255.255.255.0 | |
ifconfig eth0:4 4.2.2.1 netmask 255.255.255.0 | |
ifconfig eth0:5 4.2.2.3 netmask 255.255.255.0 | |
ifconfig eth0:6 4.2.2.4 netmask 255.255.255.0 | |
ifconfig eth0:7 4.2.2.5 netmask 255.255.255.0 | |
ifconfig eth0:8 4.2.2.6 netmask 255.255.255.0 | |
# OpenDNS | |
ifconfig eth0:9 208.67.222.222 netmask 255.255.255.0 | |
ifconfig eth0:10 208.67.220.220 netmask 255.255.255.0 | |
ifconfig eth0:11 208.67.222.220 netmask 255.255.255.0 | |
ifconfig eth0:12 208.67.220.222 netmask 255.255.255.0 | |
# Comodo SecureDNS | |
ifconfig eth0:13 8.26.56.26 netmask 255.255.255.0 | |
ifconfig eth0:14 8.20.247.20 netmask 255.255.255.0 | |
# Norton DNS | |
ifconfig eth0:15 198.153.192.40 netmask 255.255.255.0 | |
ifconfig eth0:16 198.153.194.40 netmask 255.255.255.0 | |
ifconfig eth0:17 198.153.192.50 netmask 255.255.255.0 | |
ifconfig eth0:18 198.153.194.50 netmask 255.255.255.0 | |
ifconfig eth0:19 198.153.192.60 netmask 255.255.255.0 | |
ifconfig eth0:20 198.153.194.60 netmask 255.255.255.0 | |
# DNS Advantage | |
ifconfig eth0:21 156.154.70.1 netmask 255.255.255.0 | |
ifconfig eth0:22 156.154.71.1 netmask 255.255.255.0 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment