I don't understand the output I'm getting.
If I run: docker run --rm busybox nslookup google.com
, I'll get:
Server: 192.168.65.1
Address: 192.168.65.1:53
Non-authoritative answer:
Name: google.com
Address: 2a00:1450:4009:806::200e
*** Can't find google.com: No answer
...sometimes - and sometimes it will contain instead the same result, with one difference:
Address: 216.58.198.174
I don't understand:
- why it returns two different reports, sometimes within seconds of each other
- why nslookup says
Can't find google.com
when it has successfully returned an address.
If I run nslookup google.com
directly on my machine, the output is always:
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: google.com
Address: 216.58.208.142
What is the significance of Can't find google.com: No answer
, and why does nslookup appear to give different results randomly when run inside the Docker container?