Added SELINUX check, required to allow editing files in /etc
Reversed order of nameservers to make external name resolution work properly