forked from getnamingo/bind9-api-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv-sample
More file actions
43 lines (35 loc) · 1.52 KB
/
env-sample
File metadata and controls
43 lines (35 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# .env
# Debug mode for the application. Set to 'false' in production to disable detailed error messages.
DEBUG_MODE=true
# Directory where BIND9 stores zone files. Ensure this path is writable by the application user.
BIND9_ZONE_DIR=/etc/bind/zones
# Path to the BIND9 configuration file that includes the zone declarations. Modify if using a different config structure.
BIND9_CONF_FILE=/etc/bind/named.conf.local
# Email address used in the SOA (Start of Authority) record. Must be in the format: 'hostmaster.example.com.' with a trailing dot.
SOA_EMAIL=hostmaster.example.com.
# SOA record timing parameters:
# Time (in seconds) before the zone should be refreshed.
REFRESH=7200
# Time (in seconds) to wait before retrying a failed refresh.
RETRY=3600
# Time (in seconds) before the zone is considered expired.
EXPIRE=1209600
# Minimum TTL (in seconds) for cached resource records in the zone.
MIN_TTL=86400
# List of name servers (NS) for the zone. Add up to NS13 if needed.
NS1=ns1.example.com.
NS2=ns2.example.com.
NS3=ns3.example.com.
NS4=ns4.example.com.
NS5=ns5.example.com.
# Continue adding NS records up to NS13, as needed...
# Database connection settings for the application:
DB_TYPE=sqlite
DB_DATABASE=/opt/bind9_api/bind9_api.sqlite
# Rate limiting settings for the API:
# Enable or disable rate limiting. Set to 'true' to enable, 'false' to disable.
RATELY=false
# Maximum number of requests allowed during the specified period.
RATE_LIMIT=1000
# Time period (in seconds) for rate limiting. Default is 60 seconds.
RATE_PERIOD=60