Resetting / Overwriting /etc/resolv.conf in EC2 instance
Saturday, January 23rd, 2010http://mutexlock.blogspot.com/2010/01/resetting-overwriting-etcresolvconf-in.html
For our purposes – we had set up an internal dns server running (bind – process ‘named’ on a particular host).
When we were launching our pool of servers – we wanted to make sure that the new instances fall under the same domain that we specify it to be.
We also wanted to set the nameserver of the newly created instances pointing to the internal DNS server we have to resolve the ambiguity we have.
Before making the change – the file /etc/resolv.conf was looking as follows.
