Giter VIP home page Giter VIP logo

Comments (2)

kenshinx avatar kenshinx commented on May 30, 2024

这个只是把记录写进redis,然后看你的godns是目前还没有对redis做支持,那目前是没有办法使用的

我理解你这里指的“记录”应该分两类:
一个是缓存记录,例如对baidu.com解析一次之后,就会把解析结果缓存下来,避免下次再到上层DNS查询。这类记录目前都是保存在内存中,不支持存入redis。
另一类是域名的A记录,就是指在godns上可以将域名的IP解析到任何指定地址,例如指定baidu.com 解析到的IP为1.1.1.1。这类配置记录是保存在redis中的。这个项目joke就是对这类信息提供一个web console.

另外这个还未把redis的记录同步进/etc/resolv.conf

redis中保存的是域名对应的IP,跟/etc/resolv.conf完全没关系,不存在同步的问题,就算是要同步也应该是和/etc/hosts的记录同步吧

from joke.

yekeqiang avatar yekeqiang commented on May 30, 2024

是的,看了你的解析明白了,开始表述有误,谢谢!

from joke.

Related Issues (3)

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.