From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 05:30:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37136106566B for ; Mon, 2 Jan 2012 05:30:03 +0000 (UTC) (envelope-from kevinz5000@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E147B8FC08 for ; Mon, 2 Jan 2012 05:30:02 +0000 (UTC) Received: by ggnp1 with SMTP id p1so13004498ggn.13 for ; Sun, 01 Jan 2012 21:30:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; bh=AMxgHZYmkOWdkXTUc04idbMBusV5Vmc4nFUZjJ7jJLU=; b=V3a1bllX9Yj8zcSjRMh97iaaLtE+2dB5r63uEYC8FEpIvcR0VZ8Fq1czQH2Pq6RYWC 94lHu70mZrOaBt3/e2Llk1q2HkXxQ7D8D3OlrhGIcgNQeINeDwuwA1u6HjRNyWRaLbub llDvrs0stQefJoeUOsscPvddHhWNo7wK18HQQ= Received: by 10.236.9.106 with SMTP id 70mr19160028yhs.118.1325482202242; Sun, 01 Jan 2012 21:30:02 -0800 (PST) Received: from [192.168.2.4] ([99.189.76.108]) by mx.google.com with ESMTPS id f47sm67522878yhh.8.2012.01.01.21.30.00 (version=SSLv3 cipher=OTHER); Sun, 01 Jan 2012 21:30:01 -0800 (PST) Message-ID: <4F0140E2.7000401@gmail.com> Date: Sun, 01 Jan 2012 23:30:10 -0600 From: Kevin Zheng User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120102025922.813F0106575A@hub.freebsd.org> In-Reply-To: <20120102025922.813F0106575A@hub.freebsd.org> X-Enigmail-Version: 1.3.4 OpenPGP: id=5EBE6447 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: RE: DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 05:30:03 -0000 Hello, I've been using FreeBSD as a local nameserver (with my own .local domains!) for quite some time. FreeBSD comes with a name server already installed; you don't need to get it from the ports, although I'm not sure what difference it makes. The one that comes with FreeBSD can be enabled with named_enable="YES" in /etc/rc.conf. The configuration files are in /etc/namedb/. Getting a book about BIND really helps learning it. The examples are especially useful. BIND can be a little daunting to learn, but it all clicks in the end. If you want to use BIND for mass hosting, you can consider hooking BIND up to MySQL or a similar database. I haven't personally tried it, so I cannot vouch for it to work. It may be what you're looking for, though. You can have a look at this link: http://mysql-bind.sourceforge.net/. Hopefully, this helps. Sincerely, Kevin Zheng