Có hướng dẫn trong tab Setup của nextdns mà thím
* Dùng server ultralow ở VN với lệnh cmd này
Code:
/tool fetch url=https://curl.se/ca/cacert.pem
/certificate import file-name=cacert.pem
/ip dns set servers=
/ip dns static add name=dns.nextdns.io address=203.162.172.59 type=A
/ip dns static add name=dns.nextdns.io address=103.199.17.192 type=A
/ip dns static add name=dns.nextdns.io address=2404:fbc0::1:0:0:bb:6d75 type=AAAA
/ip dns set use-doh-server=“https://dns.nextdns.io/fd88ba” verify-doh-cert=yes
Địa chỉ IP có thể thay đổi, để lấy dãy IP mới ở đây (chọn IP với hostname
han
để sử dụng server ở VN)
https://router.nextdns.io/?limit=10&stack=dual
* Dùng server anycast thì dùng cmd này
Code:
/tool fetch url=https://curl.se/ca/cacert.pem
/certificate import file-name=cacert.pem
/ip dns set servers=
/ip dns static add name=dns.nextdns.io address=45.90.28.0 type=A
/ip dns static add name=dns.nextdns.io address=45.90.30.0 type=A
/ip dns static add name=dns.nextdns.io address=2a07:a8c0:: type=AAAA
/ip dns static add name=dns.nextdns.io address=2a07:a8c1:: type=AAAA
/ip dns set use-doh-server=“https://dns.nextdns.io/fd88ba” verify-doh-cert=yes
* Lưu ý:
- Nếu không thích dùng IPv6, xóa các dòng
type=AAAA
trong script
- Ultralow là server được đặt tại từng quốc gia (ở VN là các hostname có tên
han
)
- Server ultralow chỉ hoạt động khi sử dụng DNS mã hóa (Mikrotik sử dụng DoH)
- ID fd88ba trong script để lọc qc, nếu muốn dùng DNS public của nextdns thì xoá ID là được (DNS public vẫn kết nối đến server ultralow)
* Đăng ký ID xài riêng
https://nextdns.io/?from=nxyre65e
* Tất tần tật mọi thứ về nextdns ở thớt này
https://voz.vn/t/tat-tan-tat-ve-dich-vu-nextdns.522718/