- Integrated additional Zod validation schemas for improved input validation across various API routes. - Updated existing services to utilize the new validation middleware, ensuring better request integrity. - Improved error handling mechanisms in key services to provide clearer feedback on request failures. - Conducted code cleanup to enhance readability and maintainability of the API services.
105 lines
4.7 KiB
Plaintext
105 lines
4.7 KiB
Plaintext
; Cloudflare DNS Zone File for d-bis.org
|
|
; This file contains all DNS records for the eMoney Token Factory API services
|
|
;
|
|
; Zone: d-bis.org
|
|
; Cloudflare DNS Configuration
|
|
;
|
|
; Note: Replace placeholder IP addresses with actual production IPs
|
|
; Note: Replace placeholder IPv6 addresses with actual production IPv6 addresses
|
|
|
|
; ============================================================================
|
|
; PRODUCTION API SERVICES
|
|
; ============================================================================
|
|
|
|
; Main REST API Service
|
|
api.d-bis.org. 300 IN A 192.0.2.1
|
|
api.d-bis.org. 300 IN AAAA 2001:db8::1
|
|
|
|
; Mapping Service
|
|
mappings.api.d-bis.org. 300 IN A 192.0.2.2
|
|
mappings.api.d-bis.org. 300 IN AAAA 2001:db8::2
|
|
|
|
; Webhook Service
|
|
webhooks.api.d-bis.org. 300 IN A 192.0.2.3
|
|
webhooks.api.d-bis.org. 300 IN AAAA 2001:db8::3
|
|
|
|
; Orchestrator Service
|
|
orchestrator.api.d-bis.org. 300 IN A 192.0.2.4
|
|
orchestrator.api.d-bis.org. 300 IN AAAA 2001:db8::4
|
|
|
|
; Packet Service
|
|
packets.api.d-bis.org. 300 IN A 192.0.2.5
|
|
packets.api.d-bis.org. 300 IN AAAA 2001:db8::5
|
|
|
|
; ============================================================================
|
|
; STAGING API SERVICES
|
|
; ============================================================================
|
|
|
|
; Staging REST API Service
|
|
api-staging.d-bis.org. 300 IN A 192.0.2.10
|
|
api-staging.d-bis.org. 300 IN AAAA 2001:db8::10
|
|
|
|
; Staging Mapping Service
|
|
mappings.api-staging.d-bis.org. 300 IN A 192.0.2.11
|
|
mappings.api-staging.d-bis.org. 300 IN AAAA 2001:db8::11
|
|
|
|
; Staging Webhook Service
|
|
webhooks.api-staging.d-bis.org. 300 IN A 192.0.2.12
|
|
webhooks.api-staging.d-bis.org. 300 IN AAAA 2001:db8::12
|
|
|
|
; Staging Orchestrator Service
|
|
orchestrator.api-staging.d-bis.org. 300 IN A 192.0.2.13
|
|
orchestrator.api-staging.d-bis.org. 300 IN AAAA 2001:db8::13
|
|
|
|
; Staging Packet Service
|
|
packets.api-staging.d-bis.org. 300 IN A 192.0.2.14
|
|
packets.api-staging.d-bis.org. 300 IN AAAA 2001:db8::14
|
|
|
|
; ============================================================================
|
|
; CNAME RECORDS (if using load balancers or CDN)
|
|
; ============================================================================
|
|
|
|
; Uncomment if using Cloudflare Load Balancer or CDN
|
|
; api.d-bis.org. 300 IN CNAME api-lb.d-bis.org.
|
|
; mappings.api.d-bis.org. 300 IN CNAME mappings-lb.d-bis.org.
|
|
; webhooks.api.d-bis.org. 300 IN CNAME webhooks-lb.d-bis.org.
|
|
; orchestrator.api.d-bis.org. 300 IN CNAME orchestrator-lb.d-bis.org.
|
|
; packets.api.d-bis.org. 300 IN CNAME packets-lb.d-bis.org.
|
|
|
|
; ============================================================================
|
|
; TXT RECORDS (for verification, SPF, etc.)
|
|
; ============================================================================
|
|
|
|
; SPF Record (if sending emails)
|
|
d-bis.org. 300 IN TXT "v=spf1 include:_spf.google.com ~all"
|
|
|
|
; Domain verification (if needed)
|
|
d-bis.org. 300 IN TXT "google-site-verification=YOUR_VERIFICATION_CODE"
|
|
|
|
; ============================================================================
|
|
; MX RECORDS (if using email)
|
|
; ============================================================================
|
|
|
|
; Uncomment if email is needed
|
|
; d-bis.org. 300 IN MX 10 mail.d-bis.org.
|
|
|
|
; ============================================================================
|
|
; NS RECORDS (Cloudflare nameservers - update with your actual nameservers)
|
|
; ============================================================================
|
|
|
|
d-bis.org. 86400 IN NS ns1.cloudflare.com.
|
|
d-bis.org. 86400 IN NS ns2.cloudflare.com.
|
|
|
|
; ============================================================================
|
|
; SOA RECORD
|
|
; ============================================================================
|
|
|
|
d-bis.org. 3600 IN SOA ns1.cloudflare.com. admin.d-bis.org. (
|
|
2024010101 ; Serial
|
|
3600 ; Refresh
|
|
1800 ; Retry
|
|
604800 ; Expire
|
|
300 ; Minimum TTL
|
|
)
|
|
|