Score:0

nslookup output shows result and error within a container

cu flag
/ $ nslookup aplha-sidecar.pa-beta.beta.cloud 
Server:         172.20.0.10
Address:        172.20.0.10:53

Name:   aplha-sidecar.pa-beta.beta.cloud 
Address: 10.151.62.118
Name:   aplha-sidecar.pa-beta.beta.cloud 
Address: 10.151.62.231

*** Can't find aplha-sidecar.pa-beta.beta.cloud : No answer

why nslook is showing both result(Address) and error "Can't find aplha-sidecar.pa-beta.beta.cloud "

Prabhat Saxena avatar
cu flag
apart from this i see OS resolver was not appending the search strings for the DNS queries cat /etc/resolv.conf nameserver 10.100.0.10 search svc.cluster.local cluster.local options ndots:5
cn flag
I would suggest adding `-debug` so that you get to see the responses to all the different queries that `nslookup` decided to do. Maybe some strangeness for an `AAAA` lookup or some "search" attempt? `nslookup` is a weird and largely deprecated beast that provides terribly vague output by default...
joseph h avatar
dj flag
What's in your /etc/resolv.conf ? can you add the contents to the question?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.