I'm a web master, with a dedicated server running cPanel. I'm constantly editing my /etc/hosts on my local development machines so I can access sites on the cPanel server that aren't public yet. Is there a way I can use my cPanel server as my local networks dns server so that it will check that first to see if a site exists on my cPanel server before going out to the next name-server. I tried just adding it as one of my nameservers, but that doesn't seem to work, so I assume I have to allow this kind of behavior on the server.
In your local network settings set the DNS server ip to the cPanel server IP's.
NOTE: Your cPanel IP's should be first and then add the public DNS servers.