Re: Caching nameserver [message #49233 is a reply to message #42760] |
Thu, 11 April 2013 22:15   |
mustardman
Messages: 91 Registered: October 2009
|
Member |
|
|
I realize this thread is quite old but I wanted to update it because I found a simple solution.
Assuming you have root access to the node or your ISP will do it for you, just add 127.0.0.1 as the first nameserver entry for your container in addition to the other 2.
So now when the container reboots and /etc/resolv.conf is rewritten each time it has localhost as the first entry followed by the public DNS servers the node is set to use. Once that is taken care of you can do local dns caching in the container using BIND.
[Updated on: Thu, 11 April 2013 22:17] Report message to a moderator
|
|
|