Update the DNS instructions for NanoKVM

This commit is contained in:
BuGu
2026-04-30 15:27:58 +08:00
committed by GitHub
4 changed files with 26 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ keywords: NanoKVM, Remote desktop, Lichee, PiKVM, RISCV, tool
1. Refer to [this link](https://wiki.sipeed.com/hardware/zh/kvm/NanoKVM/system/updating.html#%E8%8E%B7%E5%8F%96-IP) to connect the development board.
2. Execute: `python /etc/kvm/update-nanokvm.py`
> Users outside of China may experience download failures due to DNS issues. Please add `nameserver 119.29.29.29` or `nameserver 223.5.5.5` to `/etc/resolv.conf` and try again.
> Users outside of China may experience download failures due to DNS issues. Please refer to [Detailed DNS Configuration Guide for NanoKVM Cube/Lite/PCIe](https://wiki.sipeed.com/hardware/en/kvm/NanoKVM/user_guide.html#Setting-DNS) to add recommended DNS servers and try again.
> Earlier versions of the application may not have this script file. Please download [here](https://github.com/sipeed/NanoKVM/blob/main/kvmapp/system/update-nanokvm.py), extract it, and grant execute permissions before trying again.
### About Password

View File

@@ -140,6 +140,18 @@ Note:
### Setting DNS
+ If you need to set a DNS list, create `/boot/resolv.conf`. This will enforce your own DNS configuration after booting.
+ NanoKVM will automatically read the DNS configuration from `/boot/resolv.conf` during startup. If `/boot/resolv.conf` does not exist or is empty, the default DNS configuration will be used.
+ Recommended DNS servers:
```
nameserver 119.29.29.29 # Tencent Cloud DNS
nameserver 182.254.116.116 # Tencent Cloud DNS
nameserver 223.5.5.5 # Aliyun DNS
nameserver 223.6.6.6 # Aliyun DNS
nameserver 8.8.8.8 # Google DNS
nameserver 8.8.4.4 # Google DNS
nameserver 1.1.1.1 # Cloudflare DNS
nameserver 1.0.0.1 # Cloudflare DNS
```
### About mDNS

View File

@@ -8,7 +8,7 @@ keywords: NanoKVM, Remote desktop, Lichee, PiKVM, RISCV, tool
**以下解决方法都基于最新的应用,如果遇到问题,请先更新应用,若无法在网页端更新,请参照以下步骤完成强制更新:**
1. 参考[这里](https://wiki.sipeed.com/hardware/zh/kvm/NanoKVM/system/updating.html#%E8%8E%B7%E5%8F%96-IP)连接开发板
2. 执行:`python /etc/kvm/update-nanokvm.py`
> 国外用户可能因为DNS原因下载失败在 `/etc/resolv.conf` 添加`nameserver 119.29.29.29`或`nameserver 223.5.5.5`后再试
> 国外用户可能因为DNS原因下载失败参考[NanoKVM Cube/Lite/PCIe操作DNS的详细说明](https://wiki.sipeed.com/hardware/zh/kvm/NanoKVM/user_guide.html#设置DNS)添加推荐的DNS后再试
> 早期版本应用可能不存在该脚本文件,请下载 https://github.com/sipeed/NanoKVM/blob/main/kvmapp/system/update-nanokvm.py 解压赋予执行权限后再试
### 关于密码

View File

@@ -136,6 +136,18 @@ NanoKVM 的 USB 会默认虚拟出 RNDIS USB网卡从设备当 NanoKVM
### 设置DNS
+ 如果需要设置DNS列表请在创建/boot/resolv.conf这将在启动后强制使用你自己的DNS配置
+ NanoKVM会在开机时自动从 `/boot/resolv.conf` 读取DNS配置`/boot/resolv.conf` 不存在或为空则会使用默认的DNS配置
+ 推荐的DNS
```
nameserver 119.29.29.29 # 腾讯云DNS
nameserver 182.254.116.116 # 腾讯云DNS
nameserver 223.5.5.5 # 阿里云DNS
nameserver 223.6.6.6 # 阿里云DNS
nameserver 8.8.8.8 # Google DNS
nameserver 8.8.4.4 # Google DNS
nameserver 1.1.1.1 # Cloudflare DNS
nameserver 1.0.0.1 # Cloudflare DNS
```
### 关于mDNS