Score:0

Resolve network name resolution inside a namespace

sa flag

I have managed to set up a namespace. I was able to PING with the namespace.

$ ip netns exec myNS ping 8.8.4.4

However, my PING is unsuccessful when I perform the following instruction: $ ip netns exec myNS ping google.com The error returned was: ping: google.com: Temporary failure in name resolution

Can anyone advise how I can resolve network name in a namespace? How could I setup the namespace to perform a lookup from a DNS?

Rino Bino avatar
us flag
This may help: https://serverfault.com/questions/614574/how-to-set-dns-exclusively-for-a-network-namespace-in-linux
kogepan avatar
sa flag
Thanks. It does.
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.