Setting up your Raspberry Pi as a DNS Server
From eLinux.org
Setting up your Raspberry Pi as a DNS Server - Kenneth A Spencer
As this Wiki does not easily seem to accept formattings for code and the like, here is a link to the article: