-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:swiftwave-org/dns
- Loading branch information
Showing
6 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Swiftwave DNS | ||
|
||
--- | ||
|
||
Micro DNS Server for auto resolve *.swiftwave.xyz domain to IP address to provision domain to all swiftwave users and facilitate TLS generation in swiftwave server to keep swiftwave safe and secure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# !/bin/env sh | ||
|
||
sudo systemctl stop systemd-resolved | ||
sudo systemctl disable systemd-resolved | ||
sudo systemctl mask systemd-resolved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# !/bin/env sh | ||
|
||
sudo systemctl start systemd-resolved | ||
sudo systemctl enabled systemd-resolved | ||
sudo systemctl unmask systemd-resolved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# !/bin/env sh | ||
|
||
# Move binary to /usr/bin | ||
sudo mv ./swiftwave-dns /usr/bin/ | ||
|
||
# Move service file to /etc/systemd/system/ | ||
sudo mv ./swiftwave-dns.service /etc/systemd/system/ | ||
|
||
# Daemon reload and enable | ||
sudo systemctl daemon-reload | ||
sudo systemctl enable swiftwave-dns.service | ||
sudo systemctl start swiftwave-dns.service | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Swiftwave DNS | ||
After=multi-user.target | ||
|
||
[Service] | ||
ExecStart=/usr/bin/swiftwave-dns | ||
Type=simple | ||
|
||
[Install] | ||
WantedBy=multi-user.target |