diff --git a/bind/hack.v4 b/bind/hack.v4 new file mode 100644 index 0000000..f28f588 --- /dev/null +++ b/bind/hack.v4 @@ -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; }; +}; diff --git a/dnsmasq/hack.v4 b/dnsmasq/hack.v4 new file mode 100644 index 0000000..5fcc862 --- /dev/null +++ b/dnsmasq/hack.v4 @@ -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