[求助] 报错:`dns: buffer size too small`,导致网络异常 (不稳定复现)

写在前面

由于我个人能力不足,我无法独自确定出现这个问题的具体原因为何,因此撰写了此帖,希望可以得到解答。

操作系统

Windows 11 22621.1702 与 Android 12 (HarmonyOS 3.0.0.219)

安装类型

  • Windows:命令行程序
sing-box version 1.6.0

Environment: go1.21.3 windows/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_clash_api
Revision: 83c2ecc6b5fb9a132f36a9ca2a8a60d3b0e54cc5
CGO: disabled
  • Android:sing-box for Android 1.6.0

描述

通过脚本,使用自己编写的模板将机场订阅转换为配置文件,程序启动以后正常使用,经过一段时间以后开始报错,以下为节选 (Windows端日志):

+0800 2023-11-04 21:38:49 DEBUG [2636714266 37ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 21:38:49 ERROR [2636714266 37ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 21:38:49 ERROR [2636714266 37ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small

这个报错持续时间不确定,有时重复出现几次以后恢复正常,有时则一直报错不停止;持续出现这类报错时,网络连接会出现问题,如无法正常访问网页 (加载超时) 等。重启程序后立即恢复正常,此后又会不定时出现此错误。Windows 与 Android 设备中报错与异常现象是相同的。

此前,我正常使用 sing-box 无问题近一个月,而在今天早些时候开始,突然开始出现这个问题,在出现问题前我曾有对配置进行过修改 (例如,由于 dns 污染所以更换了解析出站所使用的 dns),我反复检查过我修改过的地方,然而受限于我的能力,我没能明白为何会出现此问题,甚至不清楚是否是配置不当的原因。

复现方法

描述中所述,使用我的配置文件,启动程序,正常使用不定时间后,出现报错。具体触发条件不明,所以复现的稳定性较低。

配置文件如下 (由于全篇幅较长,且我自己基于报错内容认为关键在于 dns 相关的部分,所以这里提供的配置忽略、简化了路由规则和部分出站的内容,如果需要,请让我补充):

{
  "log": {
    "disabled": false,
    "level": "debug",
    "output": "box.log",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "tag": "dns_remote",
        "address": "h3://1.0.0.1/dns-query",
        "strategy": "prefer_ipv6",
        "detour": "proxy"
      },
      {
        "tag": "dns_local",
        "address": "h3://223.6.6.6/dns-query",
        "strategy": "prefer_ipv6",
        "detour": "direct"
      },
      {
        "tag": "dns_node",
        "address": "https://pdns.itxe.net/dns-query",
        "address_resolver": "dns_local",
        "address_strategy": "prefer_ipv4",
        "detour": "direct"
      },
      {
        "tag": "dns_fake",
        "address": "fakeip"
      },
      {
        "tag": "dns_block",
        "address": "rcode://success"
      }
    ],
    "rules": [
      {
        "outbound": "any",
        "server": "dns_node"
      },
      {
        "query_type": "NIMLOC",
        "server": "dns_block",
        "disable_cache": true
      },
      {
        "geosite": "category-ads-all",
        "domain_suffix": [
          ".lan",
          "miav-cse.avlyun.com",
          "a0.app.xiaomi.com",
          "miui-fxcse.avlyun.com",
          "api.installer.xiaomi.com"
        ],
        "server": "dns_block",
        "disable_cache": true
      },
      {
        "clash_mode": "direct",
        "server": "dns_local"
      },
      {
        "clash_mode": "global",
        "server": "dns_remote"
      },
      {
        "geosite": "geolocation-!cn",
        "query_type": [
          "A",
          "AAAA"
        ],
        "server": "dns_fake",
        "disable_cache": true,
        "rewrite_ttl": 1
      },
      {
        "geosite": "geolocation-!cn",
        "server": "dns_remote"
      },
      {
        "geosite": [
          "cn",
          "private"
        ],
        "server": "dns_local"
      },
      {
        "query_type": [
          "A",
          "AAAA"
        ],
        "server": "dns_fake",
        "disable_cache": true,
        "rewrite_ttl": 1
      }
    ],
    "final": "dns_remote",
    "strategy": "prefer_ipv4",
    "disable_expire": false,
    "independent_cache": true,
    "reverse_mapping": false,
    "fakeip": {
      "enabled": true,
      "inet4_range": "198.18.0.0/15",
      "inet6_range": "fc00::/18"
    }
  },
  "experimental": {
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "external_ui": "ui",
      "default_mode": "rule",
      "store_selected": true
    }
  },
  "inbounds": [
    {
      "tag": "tun-in",
      "type": "tun",
      "interface_name": "sing-tun",
      "inet4_address": "172.31.0.1/30",
      "auto_route": true,
      "strict_route": true,
      "endpoint_independent_nat": false,
      "stack": "system",
      "sniff": true
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "type": "selector",
      "outbounds": [
        "auto",
        "hk-a",
        "tw-a",
        "jk-a",
        "na-a",
        "sg-a",
        "eu-a",
        "other-a",
        "manual",
        "direct"
      ]
    },
    {
      "tag": "manual",
      "type": "selector",
      "outbounds": [
        "全部节点"
      ]
    },
    {
      "tag": "auto",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "全部节点"
      ]
    },
    {
      "tag": "hk-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的香港地区节点"
      ]
    },
    {
      "tag": "tw-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的台湾地区节点"
      ]
    },
    {
      "tag": "jk-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的日本地区节点"
      ]
    },
    {
      "tag": "na-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的北美地区节点"
      ]
    },
    {
      "tag": "sg-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的新加坡地区节点"
      ]
    },
    {
      "tag": "eu-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的欧洲地区节点"
      ]
    },
    {
      "tag": "other-a",
      "type": "urltest",
      "url": "http://www.gstatic.com/generate_204",
      "interval": "30m",
      "tolerance": 50,
      "outbounds": [
        "过滤出的其他地区节点"
      ]
    },
    {
      "tag": "direct",
      "type": "direct"
    },
    {
      "tag": "block",
      "type": "block"
    },
    {
      "tag": "dns-out",
      "type": "dns"
    },
    {
      "tag": "单个节点示例,其他节点的配置方案均与此相同",
      "type": "shadowsocks",
      "server": "shbgp01.00117163.xyz",
      "server_port": 12345,
      "method": "chacha20-ietf-poly1305",
      "password": "password",
      "plugin": "obfs-local",
      "plugin_opts": "obfs=http;obfs-host=4362681c8a.iqiyi.com"
    }
  ],
  "route": {
    "geoip": {
      "path": "geoip.db",
      "download_url": "https://fastly.jsdelivr.net/gh/soffchen/sing-geoip@release/geoip.db",
      "download_detour": "proxy"
    },
    "geosite": {
      "path": "geosite.db",
      "download_url": "https://fastly.jsdelivr.net/gh/soffchen/sing-geosite@release/geosite.db",
      "download_detour": "proxy"
    },
    "rules": [],
    "final": "proxy",
    "auto_detect_interface": true,
    "override_android_vpn": false
  }
}

日志

由于提供的日志内容偏多,受篇幅限制,请查看回复。

日志

从启动程序到稳定出现报错经过了较长时间,所以提交的日志也缩略了部分内容。

+0800 2023-11-04 17:56:27 INFO router: loaded geoip database: 259 codes
+0800 2023-11-04 17:56:27 INFO router: loaded geosite database: 1440 codes
+0800 2023-11-04 17:56:27 INFO router: updated default interface 以太网, index 5
+0800 2023-11-04 17:56:27 DEBUG dns: lookup domain bjbgp01.00117163.xyz
+0800 2023-11-04 17:56:27 DEBUG dns: match[0] outbound=any => dns_node
+0800 2023-11-04 17:56:27 INFO outbound/shadowsocks[[M] 🇯🇵 高级 专线 日本 05]: outbound connection to www.gstatic.com:80
+0800 2023-11-04 17:56:27 DEBUG dns: exchanged pdns.itxe.net NOERROR 1
+0800 2023-11-04 17:56:27 INFO dns: exchanged pdns.itxe.net SOA itxe.net. 1 IN SOA alan.dnspod.net. freednsadmin.dnspod.com. 1699031136 3600 180 1209600 180
+0800 2023-11-04 17:56:27 INFO dns: exchanged pdns.itxe.net OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0001, udp: 4096
+0800 2023-11-04 17:56:27 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 219 IN A 221.131.165.165
+0800 2023-11-04 17:56:27 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 17:56:27 DEBUG dns: exchanged shbgp01.00117163.xyz NOERROR 247
+0800 2023-11-04 17:56:27 INFO dns: exchanged shbgp01.00117163.xyz A shbgp01.00117163.xyz. 247 IN A 117.186.136.28
+0800 2023-11-04 17:56:27 INFO dns: exchanged shbgp01.00117163.xyz OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x00f7, udp: 4096
+0800 2023-11-04 17:56:27 DEBUG outbound/urltest[jk-a]: outbound [M] 🇯🇵 高级 专线 日本 06 available: 125ms
+0800 2023-11-04 17:56:28 DEBUG dns: lookup succeed for shbgp01.00117163.xyz: 117.186.136.28
+0800 2023-11-04 17:56:29 INFO inbound/tun[tun-in]: started at sing-tun
+0800 2023-11-04 17:56:29 INFO sing-box started (1.811s)
...
+0800 2023-11-04 17:56:50 INFO [1717387724 0ms] inbound/tun[tun-in]: inbound packet connection from 172.31.0.1:62341
+0800 2023-11-04 17:56:50 INFO [1717387724 0ms] inbound/tun[tun-in]: inbound packet connection to 223.6.6.6:53
+0800 2023-11-04 17:56:50 INFO [3844333343 0ms] inbound/tun[tun-in]: inbound packet connection from 172.31.0.1:53797
+0800 2023-11-04 17:56:50 INFO [3844333343 0ms] inbound/tun[tun-in]: inbound packet connection to 223.6.6.6:53
+0800 2023-11-04 17:56:50 DEBUG [3844333343 0ms] router: sniffed packet protocol: dns
+0800 2023-11-04 17:56:50 DEBUG [1717387724 0ms] router: sniffed packet protocol: dns
+0800 2023-11-04 17:56:50 INFO [3844333343 0ms] router: failed to search process: process not found
+0800 2023-11-04 17:56:50 DEBUG [3844333343 0ms] router: match[0] port=53 => dns-out
+0800 2023-11-04 17:56:50 INFO [1717387724 0ms] router: failed to search process: process not found
+0800 2023-11-04 17:56:50 DEBUG [1717387724 0ms] router: match[0] port=53 => dns-out
+0800 2023-11-04 17:56:50 DEBUG dns: exchange dns.google. IN A
+0800 2023-11-04 17:56:50 DEBUG dns: exchange dns.google. IN HTTPS
+0800 2023-11-04 17:56:50 DEBUG dns: match[7] geosite=geolocation-!cn => dns_remote
+0800 2023-11-04 17:56:50 DEBUG dns: match[6] query_type=[A AAAA] geosite=geolocation-!cn => dns_fake
+0800 2023-11-04 17:56:50 INFO dns: exchanged dns.google. A dns.google. 1 IN A 198.18.0.3
...
+0800 2023-11-04 17:56:50 INFO [3382993181 0ms] inbound/tun[tun-in]: inbound packet connection from 172.31.0.1:137
+0800 2023-11-04 17:56:50 INFO [3382993181 0ms] inbound/tun[tun-in]: inbound packet connection to 172.31.0.3:137
+0800 2023-11-04 17:56:50 DEBUG [3382993181 0ms] router: sniffed packet protocol: dns
+0800 2023-11-04 17:56:50 INFO [3382993181 0ms] router: found process path: :System
+0800 2023-11-04 17:56:50 DEBUG [3382993181 0ms] router: match[1] protocol=dns => dns-out
+0800 2023-11-04 17:56:50 DEBUG dns: exchange EEEFFDELFEEPFACNFKFCCACACACACACA. IN NIMLOC
+0800 2023-11-04 17:56:50 DEBUG dns: exchange EEEFFDELFEEPFACNFKFCCACACACACAAA. IN NIMLOC
+0800 2023-11-04 17:56:50 DEBUG dns: exchange FHEPFCELEHFCEPFFFACACACACACACAAA. IN NIMLOC
+0800 2023-11-04 17:56:50 DEBUG dns: match[1] query_type=NIMLOC => dns_block
+0800 2023-11-04 17:56:50 DEBUG dns: match[1] query_type=NIMLOC => dns_block
+0800 2023-11-04 17:56:50 DEBUG dns: exchanged EEEFFDELFEEPFACNFKFCCACACACACACA NOERROR 300000
+0800 2023-11-04 17:56:50 INFO dns: exchanged EEEFFDELFEEPFACNFKFCCACACACACACA NIMLOC EEEFFDELFEEPFACNFKFCCACACACACACA. 300000 IN NIMLOC 0000AC1F0001
+0800 2023-11-04 17:56:50 DEBUG dns: exchanged EEEFFDELFEEPFACNFKFCCACACACACAAA NOERROR 300000
+0800 2023-11-04 17:56:50 INFO dns: exchanged EEEFFDELFEEPFACNFKFCCACACACACAAA NIMLOC EEEFFDELFEEPFACNFKFCCACACACACAAA. 300000 IN NIMLOC 0000AC1F0001
+0800 2023-11-04 17:56:50 DEBUG dns: match[1] query_type=NIMLOC => dns_block
+0800 2023-11-04 17:56:50 DEBUG dns: exchanged FHEPFCELEHFCEPFFFACACACACACACAAA NOERROR 300000
+0800 2023-11-04 17:56:50 INFO dns: exchanged FHEPFCELEHFCEPFFFACACACACACACAAA NIMLOC FHEPFCELEHFCEPFFFACACACACACACAAA. 300000 IN NIMLOC 8000AC1F0001
+0800 2023-11-04 17:56:50 INFO [2778226750 0ms] inbound/tun[tun-in]: inbound packet connection from 172.31.0.1:57676
+0800 2023-11-04 17:56:50 INFO [2778226750 0ms] inbound/tun[tun-in]: inbound packet connection to 172.31.0.2:53
+0800 2023-11-04 17:56:50 DEBUG [2778226750 0ms] router: sniffed packet protocol: dns
+0800 2023-11-04 17:56:50 INFO [2778226750 0ms] router: found process path: \Device\HarddiskVolume3\Windows\System32\svchost.exe
+0800 2023-11-04 17:56:50 DEBUG [2778226750 0ms] router: match[0] port=53 => dns-out
+0800 2023-11-04 17:56:50 DEBUG dns: exchange api.steampowered.com. IN A
+0800 2023-11-04 17:56:50 DEBUG dns: match[6] query_type=[A AAAA] geosite=geolocation-!cn => dns_fake
+0800 2023-11-04 17:56:50 INFO dns: exchanged api.steampowered.com. A api.steampowered.com. 1 IN A 198.18.0.4
+0800 2023-11-04 17:56:50 DEBUG outbound/urltest[auto]: outbound [M] 🇦🇷 购物 专线 阿根廷 available: 662ms
+0800 2023-11-04 17:56:50 INFO outbound/shadowsocks[[M] 🇩🇪 特殊 专线 德国 01]: outbound connection to www.gstatic.com:80
+0800 2023-11-04 17:56:50 DEBUG dns: lookup domain bjbgp01.00117163.xyz
+0800 2023-11-04 17:56:50 DEBUG dns: match[0] outbound=any => dns_node
+0800 2023-11-04 17:56:50 DEBUG dns: lookup succeed for bjbgp01.00117163.xyz: 49.7.210.115
+0800 2023-11-04 17:56:50 INFO [3449791610 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:9422
+0800 2023-11-04 17:56:50 INFO [3449791610 0ms] inbound/tun[tun-in]: inbound connection to 198.18.0.4:443
+0800 2023-11-04 17:56:50 DEBUG [3449791610 0ms] router: found fakeip domain: api.steampowered.com
+0800 2023-11-04 17:56:50 DEBUG outbound/urltest[auto]: outbound [M] 🇨🇳 标准 专线 台湾 01 available: 115ms
+0800 2023-11-04 17:56:50 INFO outbound/shadowsocks[[M] 🇩🇪 特殊 专线 德国 02]: outbound connection to www.gstatic.com:80
+0800 2023-11-04 17:56:50 DEBUG dns: lookup domain bjbgp01.00117163.xyz
+0800 2023-11-04 17:56:50 DEBUG dns: match[0] outbound=any => dns_node
+0800 2023-11-04 17:56:50 DEBUG dns: lookup succeed for bjbgp01.00117163.xyz: 49.7.210.115
+0800 2023-11-04 17:56:50 DEBUG outbound/urltest[hk-a]: outbound [M] 🇭🇰 高级 专线 香港 02 available: 46ms
+0800 2023-11-04 17:56:50 INFO outbound/shadowsocks[[M] 🇭🇰 标准 专线 香港 01]: outbound connection to www.gstatic.com:80
+0800 2023-11-04 17:56:50 DEBUG dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 17:56:50 DEBUG dns: match[0] outbound=any => dns_node
+0800 2023-11-04 17:56:50 DEBUG dns: lookup succeed for gzbgp01.00117163.xyz: 183.56.231.88 183.56.221.106
+0800 2023-11-04 17:56:50 DEBUG [3449791610 35ms] router: sniffed protocol: tls, domain: api.steampowered.com
+0800 2023-11-04 17:56:50 INFO [3449791610 35ms] router: found process path: \Device\HarddiskVolume5\Games\Steam\steam.exe
+0800 2023-11-04 17:56:50 DEBUG [3449791610 35ms] router: match[10] geosite=steam || process_name=Steam Desktop Authenticator.exe => steam
+0800 2023-11-04 17:56:50 INFO [3449791610 35ms] outbound/shadowsocks[[M] 🇦🇷 购物 专线 阿根廷]: outbound connection to api.steampowered.com:443
+0800 2023-11-04 17:56:50 DEBUG [3449791610 35ms] dns: lookup domain shbgp01.00117163.xyz
+0800 2023-11-04 17:56:50 DEBUG [3449791610 36ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 17:56:50 DEBUG [3449791610 36ms] dns: lookup succeed for shbgp01.00117163.xyz: 117.186.136.28
+0800 2023-11-04 17:56:50 DEBUG outbound/urltest[hk-a]: outbound [M] 🇭🇰 标准 专线 香港 03 available: 49ms
...
+0800 2023-11-04 22:28:38 INFO [258029297 0ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 DEBUG [258029297 0ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:38 INFO [258029297 0ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.175.58:80
+0800 2023-11-04 22:28:38 DEBUG [258029297 0ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [258029297 0ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 DEBUG dns: exchanged pdns.itxe.net NOERROR 1
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 221.131.165.165
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 36.156.184.156
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0001, udp: 4096
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 22:28:38 DEBUG dns: exchanged pdns.itxe.net NOERROR 1
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 36.156.184.156
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 221.131.165.165
+0800 2023-11-04 22:28:38 INFO dns: exchanged pdns.itxe.net OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0001, udp: 4096
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 DEBUG [81982036 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [81982036 17ms] outbound/urltest[sg-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [81982036 17ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:38 INFO [273018372 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10812
+0800 2023-11-04 22:28:38 INFO [273018372 0ms] inbound/tun[tun-in]: inbound connection to 149.154.175.50:80
+0800 2023-11-04 22:28:38 DEBUG [273018372 1ms] router: sniffed protocol: http, domain: 149.154.175.50
+0800 2023-11-04 22:28:38 INFO [273018372 2ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 DEBUG [273018372 2ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:38 INFO [273018372 2ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.175.50:80
+0800 2023-11-04 22:28:38 DEBUG [273018372 2ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [273018372 2ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 DEBUG [258029297 35ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [258029297 35ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [258029297 35ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 22:28:38 INFO [3085543300 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10815
+0800 2023-11-04 22:28:38 INFO [3085543300 0ms] inbound/tun[tun-in]: inbound connection to 149.154.175.58:80
+0800 2023-11-04 22:28:38 DEBUG [3085543300 1ms] router: sniffed protocol: http, domain: 149.154.175.58
+0800 2023-11-04 22:28:38 INFO [3085543300 2ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 DEBUG [3085543300 2ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:38 INFO [3085543300 2ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.175.58:80
+0800 2023-11-04 22:28:38 DEBUG [3085543300 2ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [3085543300 2ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 DEBUG [273018372 36ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [273018372 36ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [273018372 36ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 DEBUG [3085543300 30ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [3085543300 30ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [3085543300 30ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 INFO [3852380342 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10818
+0800 2023-11-04 22:28:38 INFO [3852380342 0ms] inbound/tun[tun-in]: inbound connection to 198.18.1.232:443
+0800 2023-11-04 22:28:38 DEBUG [3852380342 0ms] router: found fakeip domain: google.ru
+0800 2023-11-04 22:28:38 DEBUG [3852380342 1ms] router: sniffed protocol: tls, domain: google.ru
+0800 2023-11-04 22:28:38 INFO [3852380342 1ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 DEBUG [3852380342 1ms] router: match[26] geosite=google => proxy
+0800 2023-11-04 22:28:38 INFO [3852380342 1ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to google.ru:443
+0800 2023-11-04 22:28:38 DEBUG [3852380342 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [3852380342 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 DEBUG [3852380342 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [3852380342 17ms] outbound/urltest[hk-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 ERROR [3852380342 17ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:38 INFO [1111396087 301ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 INFO [293440424 300ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:38 DEBUG [1111396087 301ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:38 DEBUG [293440424 300ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:38 INFO [1111396087 301ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.175.58:443
+0800 2023-11-04 22:28:38 DEBUG [1111396087 301ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [1111396087 301ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 INFO [293440424 300ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.175.50:443
+0800 2023-11-04 22:28:38 DEBUG [293440424 301ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:38 DEBUG [293440424 301ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:38 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
...
+0800 2023-11-04 22:28:39 DEBUG dns: exchange functional.events.data.microsoft.com. IN A
+0800 2023-11-04 22:28:39 DEBUG dns: match[6] query_type=[A AAAA] geosite=geolocation-!cn => dns_fake
+0800 2023-11-04 22:28:39 INFO dns: exchanged functional.events.data.microsoft.com. A functional.events.data.microsoft.com. 1 IN A 198.18.0.16
+0800 2023-11-04 22:28:39 INFO [782776205 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10823
+0800 2023-11-04 22:28:39 INFO [782776205 0ms] inbound/tun[tun-in]: inbound connection to 198.18.0.16:443
+0800 2023-11-04 22:28:39 DEBUG [782776205 0ms] router: found fakeip domain: functional.events.data.microsoft.com
+0800 2023-11-04 22:28:39 DEBUG [782776205 1ms] router: sniffed protocol: tls, domain: functional.events.data.microsoft.com
+0800 2023-11-04 22:28:39 INFO [782776205 1ms] router: found process path: \Device\HarddiskVolume3\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
+0800 2023-11-04 22:28:39 DEBUG [782776205 1ms] router: match[28] geosite=geolocation-!cn => proxy
+0800 2023-11-04 22:28:39 INFO [782776205 1ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to functional.events.data.microsoft.com:443
+0800 2023-11-04 22:28:39 DEBUG [782776205 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:39 DEBUG [782776205 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:39 DEBUG [782776205 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:39 ERROR [782776205 17ms] outbound/urltest[hk-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:39 ERROR [782776205 17ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:39 INFO [3693286671 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10824
+0800 2023-11-04 22:28:39 INFO [3693286671 0ms] inbound/tun[tun-in]: inbound connection to 198.18.0.16:443
+0800 2023-11-04 22:28:39 DEBUG [3693286671 0ms] router: found fakeip domain: functional.events.data.microsoft.com
+0800 2023-11-04 22:28:39 DEBUG [3693286671 1ms] router: sniffed protocol: tls, domain: functional.events.data.microsoft.com
+0800 2023-11-04 22:28:39 INFO [3693286671 1ms] router: found process path: \Device\HarddiskVolume3\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
+0800 2023-11-04 22:28:39 DEBUG [3693286671 1ms] router: match[28] geosite=geolocation-!cn => proxy
+0800 2023-11-04 22:28:39 INFO [3693286671 1ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to functional.events.data.microsoft.com:443
+0800 2023-11-04 22:28:39 DEBUG [3693286671 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:39 DEBUG [3693286671 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:39 DEBUG [3693286671 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:39 ERROR [3693286671 17ms] outbound/urltest[hk-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:39 ERROR [3693286671 17ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:40 DEBUG [589643792 10.0s] inbound/tun[tun-in]: connection closed: io: read/write on closed pipe | upstream: context canceled
+0800 2023-11-04 22:28:41 INFO [905112166 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10825
+0800 2023-11-04 22:28:41 INFO [905112166 0ms] inbound/tun[tun-in]: inbound connection to 149.154.167.41:443
+0800 2023-11-04 22:28:41 INFO [4018405939 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10826
+0800 2023-11-04 22:28:41 INFO [4018405939 0ms] inbound/tun[tun-in]: inbound connection to 149.154.167.41:80
+0800 2023-11-04 22:28:41 DEBUG [4018405939 1ms] router: sniffed protocol: http, domain: 149.154.167.41
+0800 2023-11-04 22:28:41 INFO [4018405939 1ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:41 DEBUG [4018405939 1ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:41 INFO [4018405939 1ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.167.41:80
+0800 2023-11-04 22:28:41 DEBUG [4018405939 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:41 DEBUG [4018405939 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:41 DEBUG dns: exchange mozilla.cloudflare-dns.com. IN A
+0800 2023-11-04 22:28:41 DEBUG dns: match[6] query_type=[A AAAA] geosite=geolocation-!cn => dns_fake
+0800 2023-11-04 22:28:41 INFO dns: exchanged mozilla.cloudflare-dns.com. A mozilla.cloudflare-dns.com. 1 IN A 198.18.1.228
+0800 2023-11-04 22:28:41 INFO [817847389 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10827
+0800 2023-11-04 22:28:41 INFO [817847389 0ms] inbound/tun[tun-in]: inbound connection to 198.18.1.228:443
+0800 2023-11-04 22:28:41 DEBUG [817847389 0ms] router: found fakeip domain: mozilla.cloudflare-dns.com
+0800 2023-11-04 22:28:41 DEBUG [817847389 1ms] router: sniffed protocol: tls, domain: mozilla.cloudflare-dns.com
+0800 2023-11-04 22:28:41 INFO [817847389 1ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:41 DEBUG [817847389 1ms] router: match[28] geosite=geolocation-!cn => proxy
+0800 2023-11-04 22:28:41 INFO [817847389 1ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to mozilla.cloudflare-dns.com:443
+0800 2023-11-04 22:28:41 DEBUG [817847389 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:41 DEBUG [817847389 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:41 DEBUG dns: exchanged pdns.itxe.net NOERROR 1
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 36.156.184.156
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 221.131.165.165
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0001, udp: 4096
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:41 DEBUG dns: exchanged pdns.itxe.net NOERROR 1
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 221.131.165.165
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net A pdns.itxe.net. 1 IN A 36.156.184.156
+0800 2023-11-04 22:28:41 INFO dns: exchanged pdns.itxe.net OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x0001, udp: 4096
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 22:28:41 DEBUG [4018405939 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [4018405939 17ms] outbound/urltest[sg-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [4018405939 17ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:41 INFO [1865259482 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10830
+0800 2023-11-04 22:28:41 INFO [1865259482 0ms] inbound/tun[tun-in]: inbound connection to 149.154.167.41:80
+0800 2023-11-04 22:28:41 DEBUG [1865259482 1ms] router: sniffed protocol: http, domain: 149.154.167.41
+0800 2023-11-04 22:28:41 INFO [1865259482 1ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:41 DEBUG [1865259482 1ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:41 INFO [1865259482 2ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.167.41:80
+0800 2023-11-04 22:28:41 DEBUG [1865259482 2ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:41 DEBUG [1865259482 2ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 221.131.165.165:443
+0800 2023-11-04 22:28:41 DEBUG [817847389 29ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:41 ERROR [817847389 29ms] outbound/urltest[hk-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [817847389 29ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 DEBUG [1865259482 29ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [1865259482 29ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [1865259482 29ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 INFO outbound/direct[direct]: outbound connection to 36.156.184.156:443
+0800 2023-11-04 22:28:41 INFO [905112166 307ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:41 DEBUG [905112166 307ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:41 INFO [905112166 307ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.167.41:443
+0800 2023-11-04 22:28:41 DEBUG [905112166 307ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:41 DEBUG [905112166 307ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:41 DEBUG [905112166 324ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [905112166 324ms] outbound/urltest[sg-a]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
+0800 2023-11-04 22:28:41 ERROR [905112166 324ms] inbound/tun[tun-in]: exchange6: dns: buffer size too small | exchange4: dns: buffer size too small
...
+0800 2023-11-04 22:28:46 DEBUG dns: exchange google.com. IN A
+0800 2023-11-04 22:28:46 DEBUG dns: match[6] query_type=[A AAAA] geosite=geolocation-!cn => dns_fake
+0800 2023-11-04 22:28:46 INFO dns: exchanged google.com. A google.com. 1 IN A 198.18.1.233
+0800 2023-11-04 22:28:46 INFO [2639226644 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10860
+0800 2023-11-04 22:28:46 INFO [2639226644 0ms] inbound/tun[tun-in]: inbound connection to 198.18.1.233:443
+0800 2023-11-04 22:28:46 DEBUG [2639226644 0ms] router: found fakeip domain: google.com
+0800 2023-11-04 22:28:46 DEBUG [2639226644 2ms] router: sniffed protocol: tls, domain: google.com
+0800 2023-11-04 22:28:46 INFO [2639226644 2ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:46 DEBUG [2639226644 2ms] router: match[26] geosite=google => proxy
+0800 2023-11-04 22:28:46 INFO [2639226644 2ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to google.com:443
+0800 2023-11-04 22:28:46 DEBUG [2639226644 2ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:46 DEBUG [2639226644 2ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:46 DEBUG [2639226644 18ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [2639226644 18ms] outbound/urltest[hk-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [2639226644 18ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 INFO [1102272855 0ms] inbound/tun[tun-in]: inbound connection from 172.31.0.1:10861
+0800 2023-11-04 22:28:46 INFO [1102272855 0ms] inbound/tun[tun-in]: inbound connection to 198.18.0.113:443
+0800 2023-11-04 22:28:46 DEBUG [1102272855 0ms] router: found fakeip domain: login.live.com
+0800 2023-11-04 22:28:46 DEBUG [1102272855 1ms] router: sniffed protocol: tls, domain: login.live.com
+0800 2023-11-04 22:28:46 INFO [1102272855 1ms] router: found process path: \Device\HarddiskVolume3\Windows\System32\svchost.exe
+0800 2023-11-04 22:28:46 DEBUG [1102272855 1ms] router: match[28] geosite=geolocation-!cn => proxy
+0800 2023-11-04 22:28:46 INFO [1102272855 1ms] outbound/shadowsocks[[M] 🇭🇰 日用 专线 香港 [0.2]]: outbound connection to login.live.com:443
+0800 2023-11-04 22:28:46 DEBUG [1102272855 1ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:46 DEBUG [1102272855 1ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:46 DEBUG [1102272855 17ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [1102272855 17ms] outbound/urltest[hk-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [1102272855 17ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 INFO [3669007713 306ms] router: found process path: \Device\HarddiskVolume5\Portable\64Gram_x64\Telegram.exe
+0800 2023-11-04 22:28:46 DEBUG [3669007713 306ms] router: match[11] geosite=[pikpak telegram] geoip=telegram => tele
+0800 2023-11-04 22:28:46 INFO [3669007713 306ms] outbound/shadowsocks[[M] 🇸🇬 日用 专线 狮城 [0.2]]: outbound connection to 149.154.167.41:443
+0800 2023-11-04 22:28:46 DEBUG [3669007713 306ms] dns: lookup domain gzbgp01.00117163.xyz
+0800 2023-11-04 22:28:46 DEBUG [3669007713 306ms] dns: match[0] outbound=any => dns_node
+0800 2023-11-04 22:28:46 DEBUG [3669007713 320ms] dns: lookup failed for gzbgp01.00117163.xyz: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [3669007713 320ms] outbound/urltest[sg-a]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small
+0800 2023-11-04 22:28:46 ERROR [3669007713 320ms] inbound/tun[tun-in]: exchange4: dns: buffer size too small | exchange6: dns: buffer size too small

写在最后

在撰写本帖时,我在 Android 设备上把配置文件中将解析出站的 dns 修改为 dns_local 后在一小段时间内暂时还未观察到类似的错误现象。我个人猜测,这也许和我使用 https://pdns.itxe.net/dns-query 这个 doh 来解析节点域名有关:在以前稳定使用的时候,dns_node 中使用的 doh 为腾讯的,在这两天里由于污染我才更换为上述地址。不过由于这个问题的复现不稳定性,我不是很确定如此修改后是否解决了问题。

本人相关知识与能力实在有限,本帖如有疏忽或短见,还望海涵,十分感谢。

抱歉没有快速回复。我测试的结果是该 DoH 服务器 ( https://pdns.itxe.net/dns-query)返回了无效的 DNS 响应,由于该报错来自 DNS 解析程序且并不清,所以导致了混乱。

感谢测试与回复。

在帖子发布后,我使用 tls://pdns.itxe.net:853 替换了该 DoH 并使用至今,已不再出现帖子中的报错问题,因此我的需求已经解决。:slight_smile: