netconfig is added by us after it was removed by CentOS, presumably for the reasons that Alex described in his post, that it is not reliable.
I've had no problems with the following set of commands: -
system-config-network
service network restart
nano /etc/named.conf
;add nameserver 1.2.3.4 where 1.2.3.4 is your DNS server.
CTRL X Y
And just to add one more layer of redundancy, I also add bind (DNS Server), you need to do this once the PBX is talking to the outside world.
webmin - servers Bind, and enable bind, it will download some info from the internet, and enable itself
Then at the command line, type setup, arrow down to system services, enable "named" with the space bar to set bind to autostart on boot.
add nameserver 127.0.0.1 to named.conf
Joe