Page 1 of 1

Resolv.conf

Posted: Fri May 13, 2016 12:52 pm
by langtest
Hi.

I'm using the Nagios pre-built VM, running CentOS. I had a DNS change locally, but for the life of me, I cannot remember how to change the DNS settings for the VM without it getting clobbered on a reboot.

Anyone have a handy article. it's something really stupid, but I didn't make a note of it last time.

Re: Resolv.conf

Posted: Fri May 13, 2016 1:00 pm
by tgriep
The best thing to do is to setup a static IP address for your server and this link describes how to do that.
https://exchange.nagios.org/directory/T ... on/details

Re: Resolv.conf

Posted: Fri May 13, 2016 1:05 pm
by langtest
That did it.

I knew it was something stupid easy.

Re: Resolv.conf

Posted: Fri May 13, 2016 1:22 pm
by mcapra
@langtest is it ok if I lock this and mark as resolved?