pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
7.92k stars 1.05k forks source link

用户日志能否支持功能调用IP识别运营商接口nali #1761

Open maojianyou opened 1 week ago

maojianyou commented 1 week ago

需求应用场景 请描述需求应用的场景和方式。 比如user.log日志产生后,会出现IP地址,然后IP地址可以调用nali接口,同步打印到user.log,能否支持这个功能,具体截图 image

等于如果日志配置支持直接配置nali插件,然后把打印日志增加IP运营商及地区属性 目前比如配置是

审计日志输出

audit-enable yes

audit-SOA no

audit-num 20 audit-file /var/log/smartdns/user.log audit-size 1G

比如是否开启 audit-nali yes 之类

建议的方案 实现上述场景建议的方案。

设备信息

  1. 设备信息(CPU,厂家)

  2. 固件信息