Last active
December 1, 2017 07:10
-
-
Save mohan-mu/f27b9214a39459df7c07a0707e55aa2c to your computer and use it in GitHub Desktop.
Dust
This file contains hidden or 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
sudo i -t nat -A POSTROUTING -o th -j MASQUERADE | |
S I -t nat -A PREROUTING -i th -j DNAT --to-destination thip | |
named.conf.local | |
db.forward.com | |
zone "rvcemca.com"{ | |
type master; | |
file "/etc/bind/db.forward.com"; | |
} | |
zone "122.168.192.in-addr.arpa"{ | |
type master; | |
notify no; | |
file "/etc/bind/db.reverse.com"; | |
} | |
cp db.local db.forward.com | |
vi db.forward.com | |
ns.rvcemca.com | |
@ IN NS ns.rvce.com | |
ns A 178 | |
desktop A 42 | |
server A 150 | |
db.reverse.com | |
cp db.127 db.reverse.com | |
vi db.reverse.com | |
@ IN NS ns | |
178 A ns.rvcemca.com | |
42 PTR server.rvemca.com | |
50 PTR desktop.rvemca.com | |
db.reverse.com | |
restart bind | |
vi /etc/resolv.conf | |
nameserver 192.168.122.178 | |
search rvcemca.com | |
domain rvcemca.com | |
ping server | |
ping server.rvcemca.com | |
seeee | |
dnsmasq | |
/etc/resolv.conf 127.0.0.1 | |
sudo dhcient e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment