Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有办法实现,远程 dns 解析只返回 ipv4,国内 dns 解析双栈返回? #1710

Open
tsgo606 opened this issue Mar 24, 2024 · 2 comments

Comments

@tsgo606
Copy link

tsgo606 commented Mar 24, 2024

需求应用场景
不想国外的地址走 ipv6。

  1. 固件信息
@PikuZheng
Copy link
Contributor

怎么区分一个域名是用远程dns还是国内dns的,如果是用bind区分,在bind指定-force-aaaa-soa;如果是用域名区分,在域名规则指定# 6

@wzssyqa
Copy link

wzssyqa commented Apr 17, 2024

server-tls 8.8.8.8  -group oversea -exclude-default-group
server 192.168.1.1  -group isp
domain-set -name domain-forwarding-list -file /etc/smartdns/domain-forwarding.list
domain-rules /domain-set:domain-forwarding-list/  -nameserver oversea -address #6

自己搞个/etc/smartdns/domain-forwarding.list,把需要的域名塞进去即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants