clash/dns
KaitoHH 257fcef0b8
Fix: adjust DNS TTL values based on minimum value (#2706)
This commit adds an updated function that adjusts
the TTL values of DNS records are based on the minimum TTL
the value found in the records list so that all records share the
same TTL value. This ensures consistency in the cache
expiry time for all records to prevent caching issues.
2023-04-30 12:18:20 +08:00
..
client.go Feature: sync missing resolver logic from premium, but still net.IP on opensource 2022-08-13 13:07:35 +08:00
dhcp.go Chore: reduce dhcp dns client cost 2022-08-24 21:36:19 +08:00
doh.go Feature: sync missing resolver logic from premium, but still net.IP on opensource 2022-08-13 13:07:35 +08:00
enhancer.go Chore: remove old cache implementation 2022-08-17 11:43:20 +08:00
filters.go Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
middleware.go Change: remove `redir-host` as config 2023-02-01 15:19:36 +08:00
resolver.go Fix: adjust DNS TTL values based on minimum value (#2706) 2023-04-30 12:18:20 +08:00
server.go Fix: ignore empty dns server error 2022-01-05 11:41:31 +08:00
util.go Fix: adjust DNS TTL values based on minimum value (#2706) 2023-04-30 12:18:20 +08:00