hack: added as forwarding zone for dnsmasq and bind (IPv4 only)

This commit is contained in:
ohrensessel 2014-05-04 17:09:14 +02:00
parent 5167d61dfe
commit bcd06bfc61
2 changed files with 41 additions and 0 deletions

32
bind/hack.v4 Normal file
View file

@ -0,0 +1,32 @@
# config as of http://wiki.hamburg.ccc.de/ChaosVPN:DNS
# only works if host is directly in chaosvpn?
zone "hack" {
type static-stub;
server-addresses { 172.31.0.5; };
};
zone "31.172.in-addr.arpa" {
type static-stub;
server-addresses { 172.31.0.5; };
};
zone "100.10.in-addr.arpa" {
type static-stub;
server-addresses { 172.31.0.5; };
};
zone "101.10.in-addr.arpa" {
type static-stub;
server-addresses { 172.31.0.5; };
};
zone "102.10.in-addr.arpa" {
type static-stub;
server-addresses { 172.31.0.5; };
};
zone "103.10.in-addr.arpa" {
type static-stub;
server-addresses { 172.31.0.5; };
};

9
dnsmasq/hack.v4 Normal file
View file

@ -0,0 +1,9 @@
# config as of http://wiki.hamburg.ccc.de/ChaosVPN:DNS
# only works if host is directly in chaosvpn?
server=/hack/172.31.0.5
server=/31.172.in-addr.arpa/172.31.0.5
server=/100.10.in-addr.arpa/172.31.0.5
server=/101.10.in-addr.arpa/172.31.0.5
server=/102.10.in-addr.arpa/172.31.0.5
server=/103.10.in-addr.arpa/172.31.0.5