Coder Social home page Coder Social logo

Comments (3)

zfl9 avatar zfl9 commented on August 20, 2024

不应该吧,结合verbose日志看看,日志里面显示的是tag是什么

from chinadns-ng.

zfl9 avatar zfl9 commented on August 20, 2024

无法复现你说的问题。

测试过程如下,默认 gfwlist.txt/chnlist.txt 没有 hysteria.network,所以我在 domain.txt 加了它。

$ zig build run -- -v -l55 -m res/chnlist.txt -g res/gfwlist.txt -g domain.txt
2024-04-23 11:07:04 I [main.zig:116 main] local listen addr: 127.0.0.1#55@tcp+udp
2024-04-23 11:07:04 I [groups.zig:119 on_start] tag:chn upstream: tcpi://114.114.114.114
2024-04-23 11:07:04 I [groups.zig:119 on_start] tag:chn upstream: udpi://114.114.114.114
2024-04-23 11:07:04 I [groups.zig:119 on_start] tag:gfw upstream: tcpi://8.8.8.8
2024-04-23 11:07:04 I [groups.zig:119 on_start] tag:gfw upstream: udpi://8.8.8.8
2024-04-23 11:07:04 I [dnl.c:509 dnl_init] gfwlist loaded:6170 added:6169 cost:130.721k
2024-04-23 11:07:04 I [dnl.c:509 dnl_init] chnlist loaded:72066 added:72014 cost:1428.871k
2024-04-23 11:07:04 I [dnl.c:516 dnl_init] L1 items:77956 lists:58891 buckets:131072 cost:512.000k
2024-04-23 11:07:04 I [dnl.c:520 dnl_init] L2 items:227 lists:187 buckets:512 cost:2.000k
2024-04-23 11:07:04 I [dnl.c:522 dnl_init] total memory cost (page-aligned): 2076.000k
2024-04-23 11:07:04 I [main.zig:116 main] ip test db: chnroute,chnroute6
2024-04-23 11:07:04 I [main.zig:116 main] default domain name tag: none
2024-04-23 11:07:04 I [main.zig:116 main] response timeout of upstream: 5
2024-04-23 11:07:04 I [main.zig:116 main] filter no-ip reply from chinadns
2024-04-23 11:07:04 I [main.zig:116 main] printing the verbose runtime log


2024-04-23 11:07:06 I [server.zig:305 QueryLog.query] query(id:10739, tag:gfw, qtype:1, 'hysteria.network') from 127.0.0.1#42045
2024-04-23 11:07:06 I [server.zig:366 QueryLog.forward] forward query(qid:1, from:udp, 'hysteria.network') to trust group
2024-04-23 11:07:06 I [Upstream.zig:512 Group.send] forward query(qid:1, from:udp) to upstream udpi://8.8.8.8
2024-04-23 11:07:06 I [server.zig:561 ReplyLog.reply] reply(qid:1, tag:gfw, qtype:1, 'hysteria.network') from udpi://8.8.8.8 [accept]


2024-04-23 11:07:29 I [server.zig:305 QueryLog.query] query(id:13145, tag:gfw, qtype:1, 'hysteria.network') from 127.0.0.1#57827
2024-04-23 11:07:29 I [server.zig:366 QueryLog.forward] forward query(qid:2, from:udp, 'hysteria.network') to trust group
2024-04-23 11:07:29 I [Upstream.zig:512 Group.send] forward query(qid:2, from:udp) to upstream udpi://8.8.8.8
2024-04-23 11:07:29 I [server.zig:561 ReplyLog.reply] reply(qid:2, tag:gfw, qtype:1, 'hysteria.network') from udpi://8.8.8.8 [accept]


2024-04-23 11:07:39 I [server.zig:305 QueryLog.query] query(id:49277, tag:gfw, qtype:1, 'v2.hysteria.network') from 127.0.0.1#57154
2024-04-23 11:07:39 I [server.zig:366 QueryLog.forward] forward query(qid:3, from:udp, 'v2.hysteria.network') to trust group
2024-04-23 11:07:39 I [Upstream.zig:512 Group.send] forward query(qid:3, from:udp) to upstream udpi://8.8.8.8
2024-04-23 11:07:40 I [server.zig:561 ReplyLog.reply] reply(qid:3, tag:gfw, qtype:1, 'v2.hysteria.network') from udpi://8.8.8.8 [accept]


2024-04-23 11:07:42 I [server.zig:305 QueryLog.query] query(id:36140, tag:gfw, qtype:1, 'v2.hysteria.network') from 127.0.0.1#37772
2024-04-23 11:07:42 I [server.zig:366 QueryLog.forward] forward query(qid:4, from:udp, 'v2.hysteria.network') to trust group
2024-04-23 11:07:42 I [Upstream.zig:512 Group.send] forward query(qid:4, from:udp) to upstream udpi://8.8.8.8
2024-04-23 11:07:42 I [server.zig:561 ReplyLog.reply] reply(qid:4, tag:gfw, qtype:1, 'v2.hysteria.network') from udpi://8.8.8.8 [accept]

from chinadns-ng.

zfl9 avatar zfl9 commented on August 20, 2024

如果你这边还是有问题,建议把测试log贴一下,类似我发的这样,不然没法分析问题哈。

先关了。。

from chinadns-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.