OpenVZ Forum


Home » General » Support » Folllowed Quick Install Guide... No External Networking
Re: Folllowed Quick Install Guide... No External Networking [message #40146 is a reply to message #40145] Thu, 22 July 2010 20:16 Go to previous messageGo to previous message
JimL is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Performance in my server is slow with 18 VEs. Normal ?
Next Topic: No longer setting hostname in container ?
Goto Forum:
  


Current Time: Mon Aug 18 22:08:21 GMT 2025

Total time taken to generate the page: 0.29547 seconds