Giter VIP home page Giter VIP logo

Comments (6)

queglay avatar queglay commented on June 15, 2024

I can see
using nameserver 192.168.92.1#53

This could be part of the problem, because 192.168.92., my router 1 is also using nameserver 192.168.92.125 (docker). Could this be causing loops? if so, when starting the container can I get it to explicitly not use 192.168.92.1?

Currently my router has two DNS listed for DHCP.
192.168.92.125 (docker)
192.168.92.1 (itself)

from docker-dnsmasq.

andyshinn avatar andyshinn commented on June 15, 2024

I agree that this is a loop issue unless you have a massive amount of queries going on.

  • Does the error show up immediately?
  • What is the router and its configuration (does itself run dnsmasq or other DNS forwarder to upstream)?

from docker-dnsmasq.

queglay avatar queglay commented on June 15, 2024

Thanks for the reply Andy, the error does show up immediately. The router is an Ubiquiti ER-x. Apart from the DNS entries provided, I dont know of any other configuration options for its own DNS that it runs.

from docker-dnsmasq.

andyshinn avatar andyshinn commented on June 15, 2024

If dnsmasq is reading /etc/resolv.conf for the upstream then maybe this host has a loop?

  • Can you confirm the output of /etc/resolv.conf on the host?
  • Can you try setting --dns for the container runtime to just your ISP upstream?

I'm assuming you want: client -> router -> Docker container -> upstream.

from docker-dnsmasq.

bjmi avatar bjmi commented on June 15, 2024

This could be part of the problem, because 192.168.92., my router 1 is also using nameserver 192.168.92.125 (docker). Could this be causing loops? if so, when starting the container can I get it to explicitly not use 192.168.92.1?

You could specify no-resolv and add server=192.168.92.125 to set upstream server list manually.

There is a dns-loop-detect option that could be tried too.

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

from docker-dnsmasq.

andyshinn avatar andyshinn commented on June 15, 2024

I'm going to close this as I think it is a loop issue outside the scope of this image. But feel free to reopen if you have more information and think it is an image issue still.

from docker-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.