question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DNS doesn't work on fresh installation

See original GitHub issue

DNS doesn’t seem to work on a fresh installation of latest microk8s snap on Ubuntu 18.04. Inspecting the DNS pod with microk8s.kubectl describe pod -n kube-system kube-dns-6ccd496668-w84hj, I see:

  Normal   Scheduled  14m   default-scheduler     Successfully assigned kube-system/kube-dns-6ccd496668-w84hj to mike-ubuntu
  ...
  Normal   Created    10m   kubelet, mike-ubuntu  Created container
  Normal   Started    10m   kubelet, mike-ubuntu  Started container
  Warning  Unhealthy  10m   kubelet, mike-ubuntu  Liveness probe failed: HTTP probe failed with statuscode: 503

Running the kubernetes-suggested DNS busybox test microk8s.kubectl exec -ti busybox -- nslookup kubernetes.default, I get:

Server:    10.152.183.10
Address 1: 10.152.183.10 kube-dns.kube-system.svc.cluster.local

nslookup: can't resolve 'kubernetes.default'
command terminated with exit code 1

Any ideas what’s going on?

Attached the inspection report: inspection-report-20190222_095704.tar.gz

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
mikemarsiancommented, Feb 22, 2019

Sorry, I missed that, was following the Kubernetes DNS troubleshooting insted. The sudo iptables -P FORWARD ACCEPT spell fixed the issue. Thanks!

0reactions
freeddsercommented, Jul 16, 2019

cool

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to the Fix "DNS Server Not Responding" Error - Kinsta®
Another reason you may be seeing the “DNS Server Not Responding” message is if your current Windows network adapter driver is old or...
Read more >
How to Fix "DNS Server Not Responding" Error (11 Methods)
Running into "DNS Server Not Responding" error? Find out the possible causes and 11 easy ways to immediately solve the problem!
Read more >
DNS Server Not Responding in Windows 10 [SOLVED]
If DNS server is not responding error appears on Windows 10, first change the DNS server manually, then enter your MAC address manually....
Read more >
How To Fix 'DNS Server Not Responding' Error On Windows 10
This step-by-step guide with screenshots will explain the top 5 methods to fix the DNS Server Not Responding Error in Windows 10.
Read more >
DNS Server Not Responding – How to Fix the Error in ...
How to Fix "DNS Serger Not Responding" · Use a Different Web Browser · Try Accessing a Website With a Different Device ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found