如何通过 dbus 更新 dnsmasq的 dns 缓存记录?

joseph · · 47 次点击 · 开始浏览    置顶
参考命令如下,实际没有测试过, ``` dbus-send --system --dest=uk.org.thekelleys.dnsmasq --type=method_call \ /uk/org/thekelleys/dnsmasq uk.org.thekelleys.SetAddress string:"www.debian.cn" string:"1.2.3.4" ``` 参考 https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

关注本站微信公众号(和以上内容无关)InfraPub ,扫码关注:InfraPub

47 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传