`local` DNS server does not work well with `systemd-resolved`
Operating system
Linux
System version
Fedora Linux 43.20260309.0 (Silverblue)
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
sing-box version 1.13.2
Environment: go1.25.7 linux/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_acme,with_clash_api,with_tailscale,with_ccm,with_ocm,with_naive_outbound,badlinkname,tfogo_checklinkname0,with_musl
Revision: c0d45aebfadae9988e160c761f32e9edf8e0d8e4
CGO: enabled
Description
The system is configured with NetworkManager and systemd-resolved (listening on 127.0.0.1:53). systemd-resolved manages /etc/resolv.conf, with the following content (does not change when enable/disable sing-box):
nameserver 127.0.0.53
options edns0 trust-ad
A domain-suffix rule is applied to captive.apple.com to resolve this domain using local DNS server.
When sing-box is enabled with the configuration provided in reproduction step, systemd-resolved changed it's DNS server list to 172.19.0.2, fdfe:dcba:9876::2.
Output of systemctl status systemd-resolved.service:
Aug 05 10:28:12 safe-computer systemd-resolved[114514]: tun0: Bus client set search domain list to: ~.
Aug 05 10:28:12 safe-computer systemd-resolved[114514]: tun0: Bus client set default route setting: yes
Aug 05 10:28:12 safe-computer systemd-resolved[114514]: tun0: Bus client set DNS server list to: 172.19.0.2, fdfe:dcba:9876::2
Aug 05 10:28:13 safe-computer systemd-resolved[114514]: Flushed all caches.
DNS resolution timed out when resolving captive.apple.com, but works perfectly for all other domains.
Reproduction
Enable systemd-resolved without any configuration (No /etc/systemd/resolved.conf, empty /etc/systemd/resolved.conf.d/). The system uses DHCP to obtain IP address and DNS.
Run sing-box with the following config.json:
{
"log": {
"disabled": false,
"level": "trace",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns-system",
"type": "local"
},
{
"tag": "dns-direct",
"type": "udp",
"server": "223.5.5.5"
}
],
"rules": [
{
"domain_suffix": [
"captive.apple.com"
],
"action": "route",
"server": "dns-system"
}
],
"final": "dns-direct"
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"address": [
"172.19.0.1/30",
"fdfe:dcba:9876::1/126"
],
"auto_route": true,
"strict_route": false
}
],
"outbounds": [
{
"type": "direct",
"tag": "out-direct"
}
],
"route": {
"rules": [
{
"inbound": "tun-in",
"action": "sniff"
},
{
"protocol": "dns",
"action": "hijack-dns"
}
],
"final": "out-direct",
"auto_detect_interface": true,
"default_domain_resolver": "dns-direct"
}
}
Then use nslookup command to resolve captive.apple.com and www.apple.com. The former will time out, and the latter will resolve successfully.
I tested the same configuration file on Windows and it does not exhibit the behavior described above, captive.apple.com and www.apple.com resolves successfully.
Not sure if the DNS resolution failure is expected under Linux with systemd-resolved thus posting here to ask if it is a bug.
resolvectl status:
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp1s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 119.29.29.29
DNS Servers: 223.5.5.5 119.29.29.29
Default Route: yes
Link 3 (wlp2s0)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Default Route: no
Link 4 (eth0)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Default Route: no
Link 5 (virbr0)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Default Route: no
Link 10 (tun0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: fdfe:dcba:9876::2
DNS Servers: 172.19.0.2 fdfe:dcba:9876::2
DNS Domain: ~.
Default Route: yes
ip route:
default via 192.168.1.1 dev enp1s0 proto dhcp src 192.168.1.233 metric 100
192.168.1.1/24 dev enp1s0 proto kernel scope link src 192.168.1.233 metric 100
172.19.0.0/30 dev tun0 proto kernel scope link src 172.19.0.1
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
ip rule:
0: from all lookup local
9000: from all to 172.19.0.0/30 lookup 2022
9001: from all lookup 2022 suppress_prefixlength 0
9002: not from all dport 53 lookup main suppress_prefixlength 0
9002: from all iif tun0 goto 9010
9003: not from all iif lo lookup 2022
9003: from 0.0.0.0 iif lo lookup 2022
9003: from 172.19.0.0/30 iif lo lookup 2022
9010: from all nop
32766: from all lookup main
32767: from all lookup default
Logs
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize networkmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 INFO network: updated default interface enp1s0, index 114514
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize networkmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize transportmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 DEBUG dns/local[dns-system]: using systemd-resolved service as resolver
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize transportmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize connectionmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize connectionmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: initialize outbound/direct[out-direct]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: initialize outbound/direct[out-direct] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: initialize inbound/tun[tun-in]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: initialize inbound/tun[tun-in] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE initialize manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start transportmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start transportmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start networkmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start networkmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start connectionmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start connectionmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: start inbound/tun[tun-in]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound/tun[tun-in]: creating stack
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 INFO inbound/tun[tun-in]: started at tun0
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: start inbound/tun[tun-in] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: post-start outbound/direct[out-direct]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: post-start outbound/direct[out-direct] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start networkmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start networkmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start transportmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start transportmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start connectionmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start connectionmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: post-start inbound/tun[tun-in]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: post-start inbound/tun[tun-in] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE post-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start networkmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start networkmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start transportmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start transportmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start connectionmanager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start connectionmanager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start router
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start router completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: finish-start outbound/direct[out-direct]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE outbound: finish-start outbound/direct[out-direct] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: finish-start inbound/tun[tun-in]
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE inbound: finish-start inbound/tun[tun-in] completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 TRACE finish-start manager completed (0.00s)
Mar 09 06:29:34 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:34 INFO sing-box started (0.00s)
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:47837
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1939500187 0ms] router: match[0] inbound=tun-in => sniff
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1939500187 0ms] router: sniffed packet protocol: dns
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1939500187 0ms] router: match[1] protocol=dns => hijack-dns
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1939500187 0ms] dns: exchange www.apple.com. IN A
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1939500187 9ms] dns: exchanged www.apple.com NOERROR 6
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 9ms] dns: exchanged CNAME www.apple.com. 6 IN CNAME www-apple-com.v.aaplimg.com.
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 9ms] dns: exchanged CNAME www-apple-com.v.aaplimg.com. 6 IN CNAME e6858.e19.s.tl88.net.
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 9ms] dns: exchanged A e6858.e19.s.tl88.net. 6 IN A 222.138.3.126
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1939500187 9ms] dns: exchanged OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0006, udp: 4096
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1669417259 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:48681
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1669417259 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1669417259 0ms] router: match[0] inbound=tun-in => sniff
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1669417259 0ms] router: sniffed packet protocol: dns
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1669417259 0ms] router: match[1] protocol=dns => hijack-dns
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1669417259 0ms] dns: exchange e6858.e19.s.tl88.net. IN AAAA
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 DEBUG [1669417259 9ms] dns: exchanged e6858.e19.s.tl88.net NOERROR 397
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1669417259 9ms] dns: exchanged SOA e19.s.tl88.net. 397 IN SOA n0e19.s.tl88.net. hostmaster.akamai.com. 1773037576 1000 1000 1000 1800
Mar 09 06:29:39 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:39 INFO [1669417259 9ms] dns: exchanged OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x018d, udp: 4096
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:48988
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 0ms] router: match[0] inbound=tun-in => sniff
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 0ms] router: sniffed packet protocol: dns
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 0ms] router: match[1] protocol=dns => hijack-dns
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 0ms] dns: exchange captive.apple.com. IN A
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 0ms] dns: match[1] domain_suffix=captive.apple.com => route(dns-system)
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 19ms] dns: exchanged captive.apple.com NOERROR 72
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.131.131
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.194
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.190.6
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.190.97
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.187.97
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.187.98
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.132.70
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.132.68
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.132.69
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.197
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 39.91.187.100
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.131
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.132
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.130
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: exchanged A k128-mzstatic.gslb.ksyuncdn.com. 72 IN A 116.196.132.196
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 19ms] dns: exchange captive.apple.com. IN A
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 19ms] dns: match[1] domain_suffix=captive.apple.com => route(dns-system)
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [3465482125 19ms] dns: cached captive.apple.com NOERROR 71
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.131.131
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.194
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.190.6
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.190.97
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.187.97
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.187.98
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.132.70
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.132.68
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.132.69
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.197
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 39.91.187.100
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.131
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.132
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.130
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [3465482125 19ms] dns: cached A k128-mzstatic.gslb.ksyuncdn.com. 71 IN A 116.196.132.196
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [314397502 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:48699
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 INFO [314397502 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [314397502 0ms] router: match[0] inbound=tun-in => sniff
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [314397502 0ms] router: sniffed packet protocol: dns
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [314397502 0ms] router: match[1] protocol=dns => hijack-dns
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [314397502 0ms] dns: exchange captive.apple.com. IN AAAA
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 DEBUG [314397502 0ms] dns: match[1] domain_suffix=captive.apple.com => route(dns-system)
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 ERROR [314397502 15ms] dns: exchange failed for captive.apple.com. IN AAAA: resolve record via resolved: Name 'k128-mzstatic.gslb.ksyuncdn.com' does not have any RR of the requested type
Mar 09 06:29:41 safe-computer sing-box[114514]: +0000 2026-03-09 06:29:41 ERROR [314397502 15ms] router: process DNS packet: resolve record via resolved: Name 'k128-mzstatic.gslb.ksyuncdn.com' does not have any RR of the requested type
Supporter
- [ ] I am a sponsor
Integrity requirements
- [x] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- [x] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- [x] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- [x] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
This issue provides insufficient information. Please provide: sing-box logs, resolvectl status, ip route, and ip rule results.
Information are now provided in the original post. Let me know if any other information are needed.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days