Nick Peng

Results 409 comments of Nick Peng

要增加一个client-group参数,用于指定客户端查询时,使用的group组。 对应的address, nameserver等,也要增加group组。 这个要细化设计下配置的方法。

最新代码添加了相关的功能。 配置方法: 方法一: ``` group-begin client server 127.0.0.1:61053 -e client-rules 127.0.0.1 address /a.com/1.1.1.1 domain-rules /b.com/ -address 4.5.6.7 group-end ``` 方案二: ``` conf-file /path/to/conf.conf -group client ``` ``` # /path/to/conf.conf文件内容 client-rules...

> 希望开个 discord.com 在线群聊的频道,方便沟通交流 这个网站访问不了吧,可以在github的discussion里面也可以? 或者可以建立一个IRC。比如:https://webchat.oftc.net/?channels=smartdns 可以命令行链接: /server irc.oftc.net /join #smartdns

> > > 可否测速后,返回结果不是一个,排序所有的结果都保 > > > > > > 目前开启缓存后,二次查询即返回所有结果。一次查询可以用 `response-mode` 控制 > > 可以设每一次都返回全部排序不,不要二次才返回全部 默认配置,第二次访问就是多IP了

当前域名类型的服务器只在初始化的时候解析,后面就不再解析了。 原因是,作为dns服务器,IP地址是不应该频繁变化的,这部分要实现的话机制也要一些代码。

DNS服务器的IP就不应频繁变化,所以没必要多次请求

没必要走极端,确保有一个可信的,是IP地址的上游就可以了,其他域名的上游,都会自动使用这个IP的上游解析。

1. 这个是对业务的描述,当前代码仓是modelbox框架的代码。 IVA是华为云modelarts上的对接组件,还未开源,这块代码仓在:[https://github.com/modelbox-ai/modelbox-modelarts-plugin](https://github.com/modelbox-ai/modelbox-modelarts-plugin),代码还在开源整理中。 OCR这部分代码也还没开源,这部分也在开源整理,代码仓:[https://github.com/modelbox-ai/modelbox-solutions](https://github.com/modelbox-ai/modelbox-solutions) modelbox框架内置了一个mnist的OCR例子,那个可能更容易理解:[https://github.com/modelbox-ai/modelbox/tree/main/examples/project/mnist-mindspore](https://github.com/modelbox-ai/modelbox/tree/main/examples/project/mnist-mindspore) 2. 这些代码在[https://github.com/modelbox-ai/modelbox/tree/main/src/drivers](https://github.com/modelbox-ai/modelbox/tree/main/src/drivers)目录中 device: CPU:[https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/cpu/core](https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/cpu/core) CUDA:[https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/cuda/core](https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/cuda/core) Ascend:[https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/ascend/core](https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/devices/ascend/core) inference: [https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/virtual/inference](https://github.com/modelbox-ai/modelbox/tree/main/src/drivers/virtual/inference)