mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Prepare coreDNS for proxy tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Re-use public resolver to answer unknown queries
|
||||
. {
|
||||
forward . 1.1.1.1
|
||||
}
|
||||
|
||||
# Zones configuration
|
||||
webapp.com {
|
||||
file /mnt/resources/webapp.com.zone
|
||||
}
|
||||
|
||||
# Zones configuration
|
||||
wrong-a-webapp.com {
|
||||
file /mnt/resources/wrong-a-webapp.com.zone
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
; Nessessary setup
|
||||
$ORIGIN webapp.com.
|
||||
@ IN SOA ns1.webapp.com. hostmaster.webapp.com. (2025091201 7200 3600 1209600 3600)
|
||||
@ IN NS ns1.webapp.com.
|
||||
ns1 IN A 127.0.0.1
|
||||
|
||||
; Custom DNS records
|
||||
@ IN A 203.0.0.1
|
||||
|
||||
stage IN CNAME cname.tests.appwrite.io
|
||||
; No CAA record intentionally
|
||||
|
||||
stage-wrong-cname IN CNAME cname-wrong.tests.appwrite.io
|
||||
|
||||
stage-wrong-caa IN CNAME cname.tests.appwrite.io
|
||||
stage-wrong-caa IN CAA 0 issue "unknown-issuer.org"
|
||||
|
||||
stage-correct-caa IN CNAME cname.tests.appwrite.io
|
||||
stage-correct-caa IN CAA 0 issue "digicert.com"
|
||||
@@ -0,0 +1,8 @@
|
||||
; Nessessary setup
|
||||
$ORIGIN wrong-a-webapp.com.zone.
|
||||
@ IN SOA ns1.wrong-a-webapp.com.zone. hostmaster.wrong-a-webapp.com.zone. (2025091201 7200 3600 1209600 3600)
|
||||
@ IN NS ns1.wrong-a-webapp.com.zone.
|
||||
ns1 IN A 127.0.0.1
|
||||
|
||||
; Custom DNS records
|
||||
@ IN A 203.0.0.5
|
||||
Reference in New Issue
Block a user