mosdns icon indicating copy to clipboard operation
mosdns copied to clipboard

希望支持一个match后多个exec运行

Open blog2i2j opened this issue 1 year ago • 3 comments

希望添加的功能

v5的能力越来越强, 对于一个match运行多个exec的需求越来越迫切, 虽然可以通过套squence来实现, 但增加了配置文件的复杂性, 希望能够实现一个match下直接使用多个exec的功能.

blog2i2j avatar Mar 17 '23 00:03 blog2i2j

~~是啊,exec 到 dns 查询 完想要返回,不走下边 rule,现在只能再加一层 sequence。~~

我的问题可以用下边方式绕过

- matches: has_resp
  exec: accept

laggardkernel avatar Sep 29 '23 15:09 laggardkernel

官方文档 不是有示例吗:

image

he-sb avatar Oct 29 '23 06:10 he-sb

可以取巧配置,但是增加了配置文件复杂性

wangmice avatar Nov 08 '23 12:11 wangmice