Links: GitHub -> Gitea git.bobyrev.com (GitHub accounts suspended)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
10
README.md
10
README.md
@@ -17,7 +17,7 @@
|
|||||||
Одна команда — скачивает репозиторий, ставит пакеты Entware (`smartdns`, `lighttpd`, …), поднимает сервисы:
|
Одна команда — скачивает репозиторий, ставит пакеты Entware (`smartdns`, `lighttpd`, …), поднимает сервисы:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/install.sh | sh
|
curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
После установки откройте в браузере **`http://<IP_роутера_в_LAN>:3200`**. Токен для входа покажут в консоли (файл `/opt/etc/keenetic-split-dns/token`).
|
После установки откройте в браузере **`http://<IP_роутера_в_LAN>:3200`**. Токен для входа покажут в консоли (файл `/opt/etc/keenetic-split-dns/token`).
|
||||||
@@ -25,13 +25,13 @@ curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/mai
|
|||||||
Удаление:
|
Удаление:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/uninstall.sh | sh
|
curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/uninstall.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
С удалением пакетов Entware:
|
С удалением пакетов Entware:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/uninstall.sh | sh -s -- --purge
|
curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/uninstall.sh | sh -s -- --purge
|
||||||
```
|
```
|
||||||
|
|
||||||
## Как это устроено (коротко)
|
## Как это устроено (коротко)
|
||||||
@@ -97,8 +97,8 @@ MIT — см. [LICENSE](LICENSE).
|
|||||||
|
|
||||||
## English (short)
|
## English (short)
|
||||||
|
|
||||||
**Keenetic Split DNS** adds split-DNS on Keenetic routers with Entware: listed domains (Yandex, VK, Mail.ru, OK, etc.) resolve via a chosen DNS-over-TLS upstream (e.g. Yandex DoT); everything else uses your ISP/Keenetic DNS. Keenetic’s built-in global DoT cannot map domains to different servers — disable it and use this stack instead. Web UI on port **3200** (LAN only). Install: `curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/install.sh | sh`. Works alongside [HydraRoute Neo](https://github.com/Ground-Zerro/HydraRoute/tree/main/Neo) when clients use the router as DNS and `dns-override` points to SmartDNS.
|
**Keenetic Split DNS** adds split-DNS on Keenetic routers with Entware: listed domains (Yandex, VK, Mail.ru, OK, etc.) resolve via a chosen DNS-over-TLS upstream (e.g. Yandex DoT); everything else uses your ISP/Keenetic DNS. Keenetic’s built-in global DoT cannot map domains to different servers — disable it and use this stack instead. Web UI on port **3200** (LAN only). Install: `curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/install.sh | sh`. Works alongside [HydraRoute Neo](https://github.com/Ground-Zerro/HydraRoute/tree/main/Neo) when clients use the router as DNS and `dns-override` points to SmartDNS.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[andrey271192](https://github.com/andrey271192)
|
[andrey271192](https://git.bobyrev.com/PCA)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Keenetic-Split-DNS — one-line installer for Keenetic + Entware
|
# Keenetic-Split-DNS — one-line installer for Keenetic + Entware
|
||||||
# curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/install.sh | sh
|
# curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/install.sh | sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ if [ -z "$SRC_DIR" ]; then
|
|||||||
trap 'rm -rf "$TMP"' EXIT INT HUP
|
trap 'rm -rf "$TMP"' EXIT INT HUP
|
||||||
log "Downloading repository..."
|
log "Downloading repository..."
|
||||||
if command -v git >/dev/null 2>&1; then
|
if command -v git >/dev/null 2>&1; then
|
||||||
git clone --depth 1 https://github.com/andrey271192/Keenetic-Split-DNS.git "$TMP/repo"
|
git clone --depth 1 https://git.bobyrev.com/PCA/Keenetic-Split-DNS.git "$TMP/repo"
|
||||||
SRC_DIR="$TMP/repo"
|
SRC_DIR="$TMP/repo"
|
||||||
else
|
else
|
||||||
die "git not found. On router: opkg install git git-http. Or clone repo manually and run install.sh from it."
|
die "git not found. On router: opkg install git git-http. Or clone repo manually and run install.sh from it."
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Keenetic-Split-DNS uninstaller
|
# Keenetic-Split-DNS uninstaller
|
||||||
# curl -fsSL https://raw.githubusercontent.com/andrey271192/Keenetic-Split-DNS/main/uninstall.sh | sh
|
# curl -fsSL https://git.bobyrev.com/PCA/Keenetic-Split-DNS/raw/branch/main/uninstall.sh | sh
|
||||||
# Add --purge to remove Entware packages (smartdns, lighttpd)
|
# Add --purge to remove Entware packages (smartdns, lighttpd)
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user