Network namespace has no DNS resolution
I have a post-up script for my NIC that creates a network namespace with internet access but I can't resolve domains from inside the namespace. Here is the configuration.
Code:
ego@ubuntu:~$ cat /usr/local/bin/wrgrd.sh |
Hi, Welcome to LQ!
I saw this reference to nat and firewalling. You may require "port forwarding". I have these ipv4 and ipv6 forwarding lines in... /etc/sysctl.conf Code:
... |
What is your DNS in /etc/resolv.conf and how did it get there? What exactly is a namespace? We don't use that term in networking.
You can use 8.8.8.8 but it must be in /etc/resolv.conf. Most firewall will pass DNS traffic out and in without a problem. |
All times are GMT -5. The time now is 07:18 PM. |