hack: added as forwarding zone for dnsmasq and bind (IPv4 only)
This commit is contained in:
parent
5167d61dfe
commit
bcd06bfc61
32
bind/hack.v4
Normal file
32
bind/hack.v4
Normal 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
9
dnsmasq/hack.v4
Normal 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
|
Loading…
Reference in a new issue