apertodns 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# ApertoDNS CLI
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/apertodns)
|
|
4
|
+
[](https://www.npmjs.com/package/apertodns)
|
|
4
5
|
[](https://github.com/1r0n3d3v3l0per/apertodns/blob/main/LICENSE)
|
|
5
6
|
[](https://nodejs.org)
|
|
6
7
|
|
|
@@ -8,6 +9,19 @@
|
|
|
8
9
|
|
|
9
10
|
ApertoDNS is a free Dynamic DNS service that lets you point a subdomain to your dynamic IP address. Perfect for home servers, IoT devices, game servers, NAS systems, and remote access.
|
|
10
11
|
|
|
12
|
+
## Why ApertoDNS?
|
|
13
|
+
|
|
14
|
+
| Feature | ApertoDNS | No-IP | DuckDNS | Dynu |
|
|
15
|
+
|---------|-----------|-------|---------|------|
|
|
16
|
+
| Free subdomains | Unlimited | 1 (free) | 5 | 4 |
|
|
17
|
+
| API Keys with scopes | Yes | No | No | Limited |
|
|
18
|
+
| CLI tool | Yes | No | No | No |
|
|
19
|
+
| IPv6 support | Yes | Paid | Yes | Yes |
|
|
20
|
+
| No forced renewal | Yes | 30 days | Yes | Yes |
|
|
21
|
+
| DynDNS2 compatible | Yes | Yes | No | Yes |
|
|
22
|
+
| Webhooks | Yes | No | No | No |
|
|
23
|
+
| Team sharing | Yes | No | No | No |
|
|
24
|
+
|
|
11
25
|
## Features
|
|
12
26
|
|
|
13
27
|
- **Easy Setup** - Login or register directly from CLI
|
|
@@ -28,7 +42,14 @@ ApertoDNS is a free Dynamic DNS service that lets you point a subdomain to your
|
|
|
28
42
|
## Installation
|
|
29
43
|
|
|
30
44
|
```bash
|
|
45
|
+
# npm
|
|
31
46
|
npm install -g apertodns
|
|
47
|
+
|
|
48
|
+
# yarn
|
|
49
|
+
yarn global add apertodns
|
|
50
|
+
|
|
51
|
+
# pnpm
|
|
52
|
+
pnpm add -g apertodns
|
|
32
53
|
```
|
|
33
54
|
|
|
34
55
|
Or use without installing:
|
|
@@ -204,6 +225,52 @@ Configuration is stored in platform-specific locations:
|
|
|
204
225
|
- **macOS**: `~/.config/apertodns/`
|
|
205
226
|
- **Windows**: `%APPDATA%\apertodns\`
|
|
206
227
|
|
|
228
|
+
## Troubleshooting
|
|
229
|
+
|
|
230
|
+
### Common Issues
|
|
231
|
+
|
|
232
|
+
**"Unable to detect IP address"**
|
|
233
|
+
- Check your internet connection
|
|
234
|
+
- Try a different IP detection service: the CLI automatically tries multiple fallbacks
|
|
235
|
+
- If behind a corporate proxy, the detected IP may be the proxy's IP
|
|
236
|
+
|
|
237
|
+
**"Authentication failed"**
|
|
238
|
+
- Run `apertodns --logout` then `apertodns --setup` to re-authenticate
|
|
239
|
+
- If using API key, verify it has the required scopes
|
|
240
|
+
- Check if the token/API key is still active in your dashboard
|
|
241
|
+
|
|
242
|
+
**"DNS not updating"**
|
|
243
|
+
- Use `apertodns --force` to force an immediate update
|
|
244
|
+
- Check `apertodns --status` to see current IP vs DNS IP
|
|
245
|
+
- DNS propagation can take up to 5 minutes
|
|
246
|
+
|
|
247
|
+
**IPv6 not working**
|
|
248
|
+
- IPv6 requires your ISP and network to support it
|
|
249
|
+
- Use `apertodns --my-ip --json` to check if IPv6 is detected
|
|
250
|
+
- Some networks only provide IPv4
|
|
251
|
+
|
|
252
|
+
**Permission denied on Linux**
|
|
253
|
+
- If installed globally, you may need sudo: `sudo npm install -g apertodns`
|
|
254
|
+
- Or use a Node version manager (nvm) to avoid permission issues
|
|
255
|
+
|
|
256
|
+
**Daemon mode exits unexpectedly**
|
|
257
|
+
- Check logs in `/var/log/apertodns.log` if using cron
|
|
258
|
+
- Ensure stable internet connection
|
|
259
|
+
- Consider using a process manager like PM2 or systemd
|
|
260
|
+
|
|
261
|
+
### Getting Help
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
# Show all commands
|
|
265
|
+
apertodns --help
|
|
266
|
+
|
|
267
|
+
# Check current status
|
|
268
|
+
apertodns --status
|
|
269
|
+
|
|
270
|
+
# Verify authentication
|
|
271
|
+
apertodns --verify
|
|
272
|
+
```
|
|
273
|
+
|
|
207
274
|
## Security
|
|
208
275
|
|
|
209
276
|
- Credentials are stored locally, never transmitted except to ApertoDNS servers
|
package/package.json
CHANGED