Navidrome DNS and SSL come from Dynv6

Advantages and Disadvantages of Dynv6:

Advantages: Free, with API
Disadvantages: Only offer subdomains

Building Method

1.Sign up Dynv6

Open PAGE, Click right ‘Sign up’
Inserted picture

Enter the registration and fill in the information yourself
Inserted picture

Go to your own email, and enter the verification link sent by dynv6 in your browser.

2.Log in Dynv6 and Create a TOKEN

Open Login PAGE, fill in your email and password to log in
Inserted picture

Jump to the My ZONE page and click ‘Create My Zone’
Inserted picture

In ‘Create My Zone’ Page, fill in the name you want, the suffixes can be selected on the right, and click ‘CREATE ZONE’ below when you have done
Inserted picture

After completion, page will directly jump to the ‘Instructions’, then click on ‘Status’
Inserted picture

Look at your ‘email’ at the top right, cilck it to pull down and click on ‘Keys’
Inserted picture

Page will come to the ‘You API Keys’, then click ‘Add HTTP Token’
Inserted picture

Page go to the ‘Add a new HTTP’, you can fill in any Name, select ALL or the domain you just registered for ZONE, and click ‘Generate HTTP Token’
Inserted picture

The page redirects to the ‘You API Keys’ again, where you can see the ‘name of API’ you just created under HTTP Tokens. Click ‘Details’ to see more
Inserted picture

When seeing the token, click ‘COPY’ to copy it, and also copy the Zone, which will be needed later in deploying Navidrome.
Inserted picture

3.Navidrome deployment domain certificate

Free container of Orihost Builds Navidrome Click to see

Enter the installed container, where the name, IP, and port are displayed, and click on the name to access the console
Inserted picture

In the console page, click on ‘Files’ to go to Files, and you will see the ‘index.js’ file
Inserted picture

Double click ‘index.js’ files to edit it, copy the code below, or open the link index.js then click ‘Save’ to save

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

const { spawn } = require("child_process");

// Binary and config definitions
const apps = [
{
name: "bash",
binaryPath: "bash",
args: []
}
];

// Run binary with keep-alive
function runProcess(app) {
const child = spawn(app.binaryPath, app.args, { stdio: "inherit" });

child.on("exit", (code) => {
console.log(`[EXIT] ${app.name} exited with code: ${code}`);
console.log(`[RESTART] Restarting ${app.name}...`);
setTimeout(() => runProcess(app), 3000); // restart after 3s
});
}

// Main execution
function main() {
try {
for (const app of apps) {
runProcess(app);
}
} catch (err) {
console.error("[ERROR] Startup failed:", err);
process.exit(1);
}
}

main();


Inserted picture

Enter the ‘console’ interface, click ‘restart’ (or ‘start’) to launch, then click the Address below and copy the port
Inserted picture

After the text on the screen stops, modify and copy the code below into the interface
Key points: Replace DYNV6_TOKEN with your own TOKEN, DYNV6_DNS with your own domain name, and PORT with the number from your Address (for example, 30141), then press the ENTER key.

1
2
curl -s https://raw.githubusercontent.com/tusui-7/hosting/refs/heads/main/install.sh |
env DYNV6_TOKEN="CQyQV**" DYNV6_DNS="new000.dns.army" PORT=30141 bash

Inserted picture

Since it need to obtain the certificate, you should see the text ‘Your cert is in’ (if you don’t see it, just repeat the steps above) and then clicking ‘restart’ at the top right
Note: If you have not successfully applied for the certificate (not see ‘Your cert is in’), just repeat the steps above.
Inserted picture
Inserted picture

When the text below appears on the screen, it means everything is okay.
Inserted picture

Enter the ‘https://domain:port‘ in the browser

1
https://new000.dns.army:30141

It’s Navidrome with a domain certificate.

Summary

Dynv6 is free, the certificate renews automatically, so you can enjoy happily.


Navidrome DNS and SSL come from Dynv6
https://blog.76677.top/2025/11/09/orihost_build_Navidrome_withSSL_EN/
作者
Myself
发布于
2025年11月9日
许可协议