Code Monkey home page Code Monkey logo

Comments (13)

PHCSJC avatar PHCSJC commented on July 22, 2024

我改了下配置,把dns放在/etc/resolv.dnsmasq.conf文件里,还是不生效:
bogus-priv
cache-size=1024

listen-address=127.0.0.1,192.168.20.35,192.168.21.1
conf-dir=/etc/dnsmasq.d

all-servers
resolv-file=/etc/resolv.dnsmasq.conf

from dnsmasq.

PHCSJC avatar PHCSJC commented on July 22, 2024

有人在18年4月也反馈过同样的问题:
#15

from dnsmasq.

ntlf9t avatar ntlf9t commented on July 22, 2024

可以用dnsmasq2.80版all-servers有效

from dnsmasq.

PHCSJC avatar PHCSJC commented on July 22, 2024

可以用dnsmasq2.80版all-servers有效

你说的2.8版本是这个大佬优化的版本吗?我看代码都好久没更新了,2.8优化版在哪下载呢?

from dnsmasq.

ntlf9t avatar ntlf9t commented on July 22, 2024

我利用作者的代码生成的补丁,只编译了openwrt的发恩山了。

from dnsmasq.

PHCSJC avatar PHCSJC commented on July 22, 2024

我利用作者的代码生成的补丁,只编译了openwrt的发恩山了。

我只会编译,不会合并,老哥能发下你合并后的代码吗?或者能说下怎么把2.8版本和这个补丁合并吗?我在armbian上编译下。

from dnsmasq.

dongjuanyong avatar dongjuanyong commented on July 22, 2024

@505575853 用了您在 https://github.com/505575853/dnsmasq-fastlookup 的代码编译2.80的dnsmasq,配置文件中指定例如 server=/google.com/1.2.3.4 这样的设置无效,还是走默认的dns,是不是还有其他bug啊

from dnsmasq.

ntlf9t avatar ntlf9t commented on July 22, 2024

@dongjuanyong 补丁没打完不想弄了

from dnsmasq.

ntlf9t avatar ntlf9t commented on July 22, 2024

dnsmasq-full_2.80.zip
只编译适合openwrt的版本

from dnsmasq.

dongjuanyong avatar dongjuanyong commented on July 22, 2024

dnsmasq-full_2.80.zip
只编译适合openwrt的版本

我只试了其中x64的版本,server=/xxx/xxx的配置还是无效

from dnsmasq.

ntlf9t avatar ntlf9t commented on July 22, 2024

@dongjuanyong 那不知道到了估计有坑

from dnsmasq.

PHCSJC avatar PHCSJC commented on July 22, 2024

看来作者已经放弃更新了,我已经用回原版了

from dnsmasq.

infinet avatar infinet commented on July 22, 2024

@505575853 这样patch很容易出问题,至少我试过在更新版本的dnsmasq里merge这个分支,结果一团糟。
大家用这个改过的版本都是为解决大配置文件的效率问题吧?all-servers这个功能要用的话只能您自己修复了,抱歉!

from dnsmasq.

Related Issues (20)

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.