OpenVZ Forum


Home » General » Support » Nameservers (Which IP addresses to use.)  () 1 Vote
Re: Nameservers [message #42818 is a reply to message #42442] Tue, 31 May 2011 11:58 Go to previous messageGo to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
KitchM wrote on Mon, 30 May 2011 18:19
After a little thought, a couple questions come to mind.

1. Can't the VPS provider access any container right from their root account? If so, they don't need any DNS nameservers or addresses. Therefore, the only valid reason for having them is for the customer to reach their rented container.

Also, networking within a container won't work without a properly set up resolv.conf. Ie. the provider could use vzctl to enter the container but he wouldn't be able to use yum, wget or any other similar tool within a container. Simply said - container would have no internet access.

Quote:
2. If the provider enters the customer's domain info and the customer's nameservers into the container setup instead of any others, everyone could still access the container.

Is that not correct?

I still dont't understand where would you enter the customers domain, what would you use it for? You could use it for a host name I suppose, but only if the domain already has a working DNS, and the customer has already set up a new A record.

If you use customer domain's DNS's IPs to resolve DNS within a container, what will you do in case if:
- customer doesn't have a domain at all
- customer's domain doesn't have a DNS (ie. he plans to run his own or he hasn't activated the domain yet)
- customer domain's DNS provider doesn't allow recursive DNS queries.

That's from the top of my head, I'm sure there are other scenarios where this would fail to work completely too.

Perhaps someone could provide a better answer if you tell us why wouldn't you want to use your own DNS (or your server's providers) or ie. OpenDNS or Google's public DNS to resolve DNS within a container..?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: enter failed: unable to exec sh: No such file or directory
Next Topic: Install on SL6/RHEL6
Goto Forum:
  


Current Time: Sat Sep 20 02:19:16 GMT 2025

Total time taken to generate the page: 0.05842 seconds