If you just want to test, then just add your IP/Domain to your test machine's host file.
Something like:
xxx.xxx.xxx.xxx
www.mydomain.com
where xxx.xxx.xxx.xxx is your server IP.
Otherwise setting up a DNS is not too hard,It's quiet simple:
as root
yum -y install bind bind-utils
chkconfig --level 345 named on
and then you will have to do some simple configuration like those floating around when you google for example:
http://www.linuxhomenetworking.com/w...our_Nameserver
One thing is you will have to go to your registrar and setup your domain to be querried from your DNS server and this usually take 2 days to propagate.
Also the reverse DNS will always be handled by the ISP. You can only control forward lookups.