sing-box/.github
世界 48f84b31d6
Improve local DNS server on darwin
We mistakenly believed that `libresolv`'s `search` function worked correctly in NetworkExtension, but it seems only `getaddrinfo` does.

This commit changes the behavior of the `local` DNS server in NetworkExtension to prefer DHCP, falling back to `getaddrinfo` if DHCP servers are unavailable.

It's worth noting that `prefer_go` does not disable DHCP since it respects Dial Fields, but `getaddrinfo` does the opposite. The new behavior only applies to NetworkExtension, not to all scenarios (primarily command-line binaries) as it did previously.

In addition, this commit also improves the DHCP DNS server to use the same robust query logic as `local`.
2026-01-17 05:44:28 +08:00
..
ISSUE_TEMPLATE Add sponsor link to issue template 2024-03-13 19:39:59 +08:00
workflows Improve local DNS server on darwin 2026-01-17 05:44:28 +08:00
deb2ipk.sh release: Add openwrt packages 2025-04-18 08:54:40 +08:00
FUNDING.yml Add sponsor button 2024-01-19 11:22:13 +08:00
renovate.json Add renovate config 2023-02-09 17:39:15 +08:00
setup_go_for_windows7.sh Update Go to 1.25.6 2026-01-17 05:10:56 +08:00
update_clients.sh platform: Unify client versions 2024-02-24 13:20:27 +08:00
update_dependencies.sh Fix processing vmess termination signal 2022-09-07 19:16:20 +08:00