Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Implement check-dns command #8

Open
blanquicet opened this issue Feb 16, 2022 · 0 comments
Open

[RFE] Implement check-dns command #8

blanquicet opened this issue Feb 16, 2022 · 0 comments
Labels
dns Domain Name System enhancement New feature or request feature-request Request to introduce a new feature
Milestone

Comments

@blanquicet
Copy link
Member

Current situation

If users want to check if DNS is working on a given node, they have to use the run-command:

$ kubectl az run-command "nslookup www.microsoft.com" --node aks-agentpool-21361837-vmss000000
Running...

[stdout]
Server:         168.63.129.16
Address:        168.63.129.16#53

Non-authoritative answer:
www.microsoft.com       canonical name = www.microsoft.com-c-3.edgekey.net.
www.microsoft.com-c-3.edgekey.net       canonical name = www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net.
www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net        canonical name = e13678.dscb.akamaiedge.net.
Name:   e13678.dscb.akamaiedge.net
Address: 104.123.41.162
Name:   e13678.dscb.akamaiedge.net
Address: 2a02:26f0:6d00:595::356e
Name:   e13678.dscb.akamaiedge.net
Address: 2a02:26f0:6d00:5a9::356e


[stderr]

Ideal future situation

Investigate if it could be useful for users to have a dedicated command like check-dns which not just runs nslookup but additional commands that provide a more detailed output to better understand why a given URL wasn't resolved.

Not being able to resolve the URL could be caused by many reasons. For instance, did we actually received a response for our request or it went in time-out? If it went in time-out, was it because the resolver never responded or because our firewall is blocking the DNS request or response? ... etc.

In other words, how can we automate part of this investigation within a command?

@blanquicet blanquicet added enhancement New feature or request dns Domain Name System feature-request Request to introduce a new feature labels Feb 16, 2022
@blanquicet blanquicet added this to the v0.3.0 milestone Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dns Domain Name System enhancement New feature or request feature-request Request to introduce a new feature
Projects
None yet
Development

No branches or pull requests

1 participant