title: Setting up a custom nameserver with BIND9
body: <p>Lets say that I purchased a new domain (somedomain.com) from a domain registar and I wanted to setup my own nameserver on a server that has two IP addresses.</p>
  
  <ol>
  <li>First I buy the domain.</li>
  <li>I get the server.</li>
  <li>install BIND9.</li>
  <li>I login to the server and prepare the DNS records for NS1.SOMEDOMAIN.COM and NS2.SOMEDOMAIN.COM.</li>
  </ol>
  
  <p>Where do I set these up in BIND and how should I do it?</p>
  
  <p>Next Step:
  Go back to the domain registar and set the DNS to point to NS1.SOMEDOMAIN.COM and NS2.SOMEDOMAIN.COM.</p>
  
  <p>Is it a bad thing if the domain that I am forwarding is pointed to its OWN nameserver domain? Should I change this? How does it know where NS1 and NS2 go when both subdomains are apart of the domain that is being forwarded to them?</p>
  
  <p>Should I just use the DNS provided by my registar and make two CNAME record entries for NS1 and NS2 to point to the server ips of the newly created DNS server? Would this work?</p>
  
  <p>Can anyone explain this process to me? Thanks.</p>