summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-12-10 10:29:57 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-12-10 10:29:57 +0100
commit17311f14d83bb8e4d0a28d7d5bfeff3ebb94d30f (patch)
tree8a906251c992885e1bf5779aa97420a6066d9a6e
parentc17f89bfbba9feb0bc5141562e10d9607af6d02a (diff)
downloadOpenBSD-firewall-17311f14d83bb8e4d0a28d7d5bfeff3ebb94d30f.tar.gz
OpenBSD-firewall-17311f14d83bb8e4d0a28d7d5bfeff3ebb94d30f.tar.bz2
added archlinux32 mirror to private DNS config
-rw-r--r--config/obr/nsd-external/zones/andreasbaumann.cc43
-rw-r--r--config/obr/nsd-internal/zones/andreasbaumann.cc3
-rw-r--r--config/obr/relayd.conf4
3 files changed, 28 insertions, 22 deletions
diff --git a/config/obr/nsd-external/zones/andreasbaumann.cc b/config/obr/nsd-external/zones/andreasbaumann.cc
index d6912bf..3d895a9 100644
--- a/config/obr/nsd-external/zones/andreasbaumann.cc
+++ b/config/obr/nsd-external/zones/andreasbaumann.cc
@@ -3,37 +3,38 @@
$TTL 60
@ IN SOA ns.andreasbaumann.cc. admin.andreasbaumann.cc. (
- 2017010800 ; serial
+ 2017121000 ; serial
3h ; refresh
15m ; retry
2w ; expire
60 ; minimum TTL
)
- IN NS d.ns.buddyns.com.
- IN NS e.ns.buddyns.com.
- IN NS h.ns.buddyns.com.
- IN MX 10 smtp.andreasbaumann.cc.
- IN TXT "v=spf1 mx ip4:83.150.2.48/24 ~all"
+ IN NS d.ns.buddyns.com.
+ IN NS e.ns.buddyns.com.
+ IN NS h.ns.buddyns.com.
+ IN MX 10 smtp.andreasbaumann.cc.
+ IN TXT "v=spf1 mx ip4:83.150.2.48/24 ~all"
$ORIGIN andreasbaumann.cc.
- IN A 83.150.2.48
+ IN A 83.150.2.48
-ns IN A 83.150.2.48
-smtp IN A 83.150.2.48
+ns IN A 83.150.2.48
+smtp IN A 83.150.2.48
-www IN A 83.150.2.48
-cloud IN A 83.150.2.48
-blog IN A 83.150.2.48
-ftp IN A 83.150.2.48
-imap IN A 83.150.2.48
-pop IN A 83.150.2.48
-smtp IN A 83.150.2.48
-webmail IN A 83.150.2.48
-git IN A 83.150.2.48
-devel IN A 83.150.2.48
-mon IN A 83.150.2.48
+www IN A 83.150.2.48
+cloud IN A 83.150.2.48
+blog IN A 83.150.2.48
+ftp IN A 83.150.2.48
+imap IN A 83.150.2.48
+pop IN A 83.150.2.48
+smtp IN A 83.150.2.48
+webmail IN A 83.150.2.48
+git IN A 83.150.2.48
+devel IN A 83.150.2.48
+mon IN A 83.150.2.48
+archlinux32 IN A 83.150.2.48
; this is hosted at GoDaddy
-backup IN A 192.186.235.194
+backup IN A 192.186.235.194
diff --git a/config/obr/nsd-internal/zones/andreasbaumann.cc b/config/obr/nsd-internal/zones/andreasbaumann.cc
index 4157c2b..2f8e4b3 100644
--- a/config/obr/nsd-internal/zones/andreasbaumann.cc
+++ b/config/obr/nsd-internal/zones/andreasbaumann.cc
@@ -3,7 +3,7 @@
$TTL 60
@ IN SOA ns.andreasbaumann.cc. root.andreasbaumann.cc. (
- 2017010800 ; serial
+ 2017121000 ; serial
3h ; refresh
15m ; retry
2w ; expire
@@ -31,6 +31,7 @@ www A 192.168.1.15
git A 192.168.1.15
devel A 192.168.1.12
mon A 192.168.1.16
+archlinux32 A 192.168.1.12
; hosted at godaddy
backup A 192.186.235.194
diff --git a/config/obr/relayd.conf b/config/obr/relayd.conf
index 6be42f6..f9cf007 100644
--- a/config/obr/relayd.conf
+++ b/config/obr/relayd.conf
@@ -10,6 +10,7 @@ EXT_IF = 83.150.2.48
table <euroweb> { euroweb.lan }
table <euroserver> { euroserver.lan }
+table <eurobuild3> { eurobuild3.lan }
http protocol "http_protocol" {
@@ -45,6 +46,8 @@ http protocol "http_protocol" {
forward to <euroweb> no tag
match request quick header "Host" value "mon.andreasbaumann.cc" \
forward to <euroserver> no tag
+ match request quick header "Host" value "archlinux32.andreasbaumann.cc" \
+ forward to <eurobuild3> no tag
block request tagged disallowed_host label "BAD host"
}
@@ -55,5 +58,6 @@ relay http_relay {
forward to <euroweb> port 80
forward to <euroserver> port 80
+ forward to <eurobuild3> port 8080
}