Results 1 to 2 of 2

Thread: adding new domains to BIND

  1. #1
    Join Date
    Nov 2012
    Great Britain

    adding new domains to BIND

    I have a DNS chache/primary server running on my network, it seems to work fine, I can type in its name into my browser and it points to its own apache server, but I want to add another domain for another apache server on the network. (Ultimately I want to achieve virtual hosting on this second machine as well).

    It isn't clear how I add more domains from all the material I've found on the internet, does it need its own zone or not for eg. How can I add another domain and IP to the servers records?

  2. #2
    Join Date
    Nov 2008
    Metro Boston
    Kubuntu 14.04 Trusty Tahr

    Re: adding new domains to BIND

    Yes, you will need another zone file, and a "zone" declaration in named.conf that points to the zone file.

    zone "" IN {
         type master;
         file "";
    Make sure you have all the required semicolons; named is very picky about that.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts