Skip to content

Commit d83565f

Browse files
feat: initial commit
0 parents  commit d83565f

16 files changed

Lines changed: 1960 additions & 0 deletions

.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# External-DNS Firewalla Webhook Configuration
2+
3+
# Required: Comma-separated list of domain filters
4+
# Example: example.com,*.example.com,test.local
5+
DOMAIN_FILTER=example.com
6+
7+
# Optional: Provider API port (default: 8888)
8+
PORT_PROVIDER=8888
9+
10+
# Optional: Health check API port (default: 8080)
11+
PORT_HEALTH=8080
12+
13+
# Optional: Default TTL for DNS records in seconds (default: 300)
14+
DNS_TTL=300
15+
16+
# Optional: Path to dnsmasq configuration directory
17+
# Default: /home/pi/.firewalla/config/dnsmasq_local
18+
DNSMASQ_DIR=/home/pi/.firewalla/config/dnsmasq_local
19+
20+
# Optional: Log level (error, warn, info, debug) (default: info)
21+
LOG_LEVEL=info
22+
23+
# Optional: Dry run mode - don't actually make changes (default: false)
24+
DRY_RUN=false

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Node.js
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Environment
8+
.env
9+
.env.local
10+
.env.*.local
11+
12+
# Logs
13+
logs/
14+
*.log
15+
16+
# OS
17+
.DS_Store
18+
Thumbs.db
19+
20+
# IDE
21+
.vscode/
22+
.idea/
23+
*.swp
24+
*.swo
25+
*~
26+
27+
# Testing
28+
coverage/
29+
.nyc_output/
30+
31+
# Temporary files
32+
*.tmp
33+
*.temp

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 TheOutdoorProgrammer
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)