Results 1 to 2 of 2
  1. #1

    BIND DNS configuration for multiple domains

    I am using debian 6.0 on VPS, and I have connected 2 domains (that I bought from namecheap) to my server with BIND

    Everything works well on browser, ftp etc..
    But I am new to DNS and BIND so my questions are:

    1. what is the perfect setup to host for example 10 domains here and more other subdomains.

    2. Can I have new files for subdomains like blog.example.pw.hosts, or I must enter the subdomain records in the example.pw.hosts file?

    3. In the named.conf.local in the zone "example.pw", is it a must to write the exact domain, or I can use anything I want like "web1"?

    I am building a PHP script which makes a connection with SSH and creates new subdomains or domains so I want it to make easier by creating new files for domains or subdomains or deleting them when a domain or subdomain needs to be closed.

  2. #2
    Join Date
    Jul 2009
    Location
    UK
    Posts
    1,308
    As far as I know you simply have all the zone names in one file and then have separate files for each zone ( so its easy to read )

    This may help:
    http://www.centos.org/docs/5/html/De...bind-zone.html

Similar Threads

  1. Configure BIND for multiple domains
    By ckinikar in forum Hosting Security and Technology
    Replies: 4
    Last Post: 02-09-2013, 03:01 PM
  2. bind dns configuration on dedicated server
    By med125 in forum Dedicated Server
    Replies: 8
    Last Post: 09-25-2012, 09:09 AM
  3. DNS/BIND on VPS question ( multiple domain names? )
    By superwormy in forum VPS Hosting
    Replies: 2
    Last Post: 12-07-2005, 09:37 PM
  4. DNS configuration for .it domains
    By orcic in forum Hosting Security and Technology
    Replies: 6
    Last Post: 03-22-2005, 08:02 AM
  5. Replies: 6
    Last Post: 03-21-2005, 12:04 PM

Posting Permissions

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