Re: Folllowed Quick Install Guide... No External Networking [message #40146 is a reply to message #40145] |
Thu, 22 July 2010 20:16   |
 |
JimL
Messages: 116 Registered: February 2007
|
Senior Member |
|
|
blaise wrote on Thu, 22 July 2010 12:59 | blaise wrote on Thu, 22 July 2010 11:45 |
However, if I restart the host, the nameserver is reset to the host's IP again. Actually it is reset to an IP that the host USED to have when networking was configured with DHCP on eth0.
|
It is my bad. Actually the automatic reset of the nameserver's IP address is solved by:
vzctl set VE_ID --nameserver <IP-ADDRESS> --save
but still, I need to DSL as a gateway to go public. I guess if the host is properly configured, it could be used as a nameserver for the VE. Actually I can ping from the container but only public IPs not domains.
|
I'm not 100% sure what you said, but as long as the nameserver points to the IP address of a DNS server, be it local or remote, you're OK. My "gateway" to the ISP is 192.168.2.1 and that's also (one of) my DNS server addresses. I run a bind server on another container and also have a couple of dns server addresses the ISP gave me. Any of them work.
I hope that answered your question.
Jim.
|
|
|