Comments (2)
Remove dns.ipveresion_prefer: 4
and use following template:
dns {
upstream {
...
}
request {
qtype(a) && qname(geosite:netflix) -> reject # reject ipv4 of netflix
qtype(aaaa) && qname(geosite:netflix) -> googledns # use googledns for ipv6 of netflix
qtype(aaaa) -> reject # for other domains, reject ipv6 so only ipv4 can be used
fallback: googledns # use googledns for other types of query
}
}
from dae.
Another simple method is keep dns.ipversion_prefer: 4
and just reject another query type:
If you want to use ipv6 for netflix:
dns {
ipversion_prefer: 4
upstream {
# ...
}
request {
qtype(a) && qname(geosite:netflix) -> reject # reject ipv4 of netflix so only ipv6 can be used
# ... other rules
}
}
from dae.
Related Issues (20)
- [Proposal] Remove automated starring HOT 4
- [Documentation] Carry over items in #418 HOT 1
- [Proposal] Detailed solution instead of raised error HOT 1
- [Enhancement] 只对指定的域名优先返回v4/v6 HOT 3
- [Bug Report] 配置 lan_interface 后导致局域网内部无法 ssh HOT 9
- [Bug Report] failed to fetch google fonts HOT 3
- [Feature Request] DNS group HOT 2
- [Bug Report] Devices with ipv6 address can't connect, with dae on openwrt HOT 5
- [Feature Request] Auto update subscribe HOT 3
- [Bug Report] 使用外部DNS服务的问题还是没有修复 HOT 24
- [Bug Report] Does not work with forward proxy HOT 5
- [Bug Report] WARN handlePkt: qName cannot be empty HOT 1
- [Bug Report] Capturing an incorrect DNS qname HOT 5
- [Bug Report] < DNS Response Failures With Log ‘sendto: network is unreachable’> HOT 3
- 支持 Hysteria1/2 协议 HOT 7
- [Workaround] 关于 Openwrt/ImmortalWrt 更新dae0.5.1后报 failed to add veth pair 的解决办法 HOT 3
- [Bug Report] Unable to compile trace/trace.go for arm64 HOT 10
- [Bug Report] Alpine rc-service stop 行为不正常 HOT 5
- [Bug Report] Failed to send udp dns request HOT 5
- [Bug Report] <pve下WAN口使用vlan时自动配置内核参数路径出现问题> HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dae.