nslookup
A command that asks a DNS server what address a name resolves to.
In more detail
It prints the server that answered and the addresses or aliases returned. A successful answer proves name resolution only, not that anything is listening at the address.
Examples
kubectl run dns --image=busybox:1.36 --rm -it -- nslookup webkubectl run dns --image=busybox:1.36 --rm -it -- nslookup web # resolve a Service name from inside the clusterRelated terms
- CoreDNS — The DNS server that runs inside a Kubernetes cluster and resolves Service and pod names.
- DNS — The system that turns names such as learnsome.tech into IP addresses.
- kubectl run — The kubectl command that starts a single pod from an image, handy for a quick test from inside the cluster.
Taught in
- Debugging Applications In Kubernetes — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Services And Empty Endpoints — Certified Kubernetes Application Developer (CKAD) Exam Prep
- A Name That Outlives Its Pods: Services And DNS — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Running, Green And Still Broken: Debugging Applications — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Delivery Sprint: Friday At Five — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- ClusterIP, Selectors, EndpointSlices And DNS — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: DNS, Empty Endpoints And Broken Routes — Kubernetes: Production-Grade Container Orchestration
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- The Tracker Is Down, For Some People: Link, Address, Route, Name And Port — CompTIA Linux+ (XK0-006) Exam Prep