Closed mrzhiin closed 1 month ago
openwrt 下启用 dae 后,设备获取到的所有的 dns 的 ttl 都为 0 是正常的吗?
局域网设备向网关查询到的所有 dns ttl 为 0
ttl 为实际缓存时长
dns { upstream { alidns: 'udp://dns.alidns.com:53' googledns: 'tcp+udp://dns.google.com:53' local: 'udp://127.0.0.1:53' } routing { request { fallback: local } } }
启用 dae ,在设备上查询 dns
doggo www.qq.com "@192.168.4.1"
响应
www.qq.com. CNAME IN 0s www.qq.com.eo.dnse2.com. 192.168.4.1:53 www.qq.com.eo.dnse2.com. A IN 0s 43.159.107.192 192.168.4.1:53
dae version 0.6.0 go runtime go1.21.11 linux/arm64 Copyright (c) 2022-2024 @daeuniverse License GNU AGPLv3 https://github.com/daeuniverse/dae/blob/main/LICENSE
ImmortalWrt 23.05.2
Linux R4S 5.15.150
No response
Thanks for opening this issue!
正常的,domain模式下需要保证每次dns请求都经过dae分流,dae本身就是有dns cache的
Checks
Support Request
openwrt 下启用 dae 后,设备获取到的所有的 dns 的 ttl 都为 0 是正常的吗?
Current Behavior
局域网设备向网关查询到的所有 dns ttl 为 0
Expected Behavior
ttl 为实际缓存时长
Steps to Reproduce
启用 dae ,在设备上查询 dns
响应
Environment
dae version 0.6.0 go runtime go1.21.11 linux/arm64 Copyright (c) 2022-2024 @daeuniverse License GNU AGPLv3 https://github.com/daeuniverse/dae/blob/main/LICENSE
ImmortalWrt 23.05.2
Linux R4S 5.15.150
Anything else?
No response