GithubHelp home page GithubHelp logo

Comments (8)

bowei avatar bowei commented on August 15, 2024 1

In 1.6, dnsmasq will only forward requests that pertain to cluster.local (and reverse record lookups) to kube-dns. All other requests will go out directly to the upstream resolver.

Can you post your /etc/resolv.conf from the container?

from dns.

michaelajr avatar michaelajr commented on August 15, 2024

Sorry I did not see this sooner. The etc resolv.conf in the dnsmasq container is the same as the host's

nameserver 10.236.129.75
nameserver 10.236.129.85

These are our VPC name servers. They resolve fine from the host and inside the dnsmasq container. This is what I get from an nslookup inside the dnsmasq container:

$ nslookup www.google.com
nslookup: can't resolve '(null)': Name does not resolve

Name: www.google.com
Address 1: 172.217.5.228 iad30s07-in-f4.1e100.net
Address 2: 2607:f8b0:4004:804::2004 iad30s07-in-x04.1e100.net

(although I am not sure why IPv6 is returned)

And upstream forwarding seems to work when there is only one --server flag in the dnsmasq config as outlined in the OP.

from dns.

bowei avatar bowei commented on August 15, 2024

That nslookup looks to be correct -- the first (null) is a the result of a reverse lookup for the nameserver itself.

Is it possible to tcpdump -i any -n port 53 on the kube-dns pod node to see what packets are being sent?

from dns.

fejta-bot avatar fejta-bot commented on August 15, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

from dns.

bowei avatar bowei commented on August 15, 2024

/remove-lifecycle stale

from dns.

fejta-bot avatar fejta-bot commented on August 15, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from dns.

fejta-bot avatar fejta-bot commented on August 15, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

from dns.

fejta-bot avatar fejta-bot commented on August 15, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from dns.

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.