From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 00:26:40 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 7FE64106564A for ; Mon, 2 Jan 2012 00:26:40 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4284E8FC08 for ; Mon, 2 Jan 2012 00:26:39 +0000 (UTC) Received: by iadj38 with SMTP id j38so35881699iad.13 for ; Sun, 01 Jan 2012 16:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1U9o7BKXPFt5eXx/DnQVqQmnIlUfBrbBNbasOp7gfkg=; b=fyUBtGmXYh2UGz6d7buIp86I9WaQx2zdkJqTES3JCi9Cb8W6eTrYu/9aC/hwkBo3xZ LannppgqyDuC7qKTomaKIhmHBUmR626aeAsbC5nsKnC8ujWHpnfS4923+omUB4Be03uC LkAmVxAmnVVGKqr0EaHTjYxT+cp1iBu2gVNfE= MIME-Version: 1.0 Received: by 10.50.46.166 with SMTP id w6mr55956486igm.6.1325463998665; Sun, 01 Jan 2012 16:26:38 -0800 (PST) Received: by 10.231.31.65 with HTTP; Sun, 1 Jan 2012 16:26:38 -0800 (PST) In-Reply-To: <20120101234504.GA55393@chancha.local> References: <20120101224708.GA44456@chancha.local> <20224.58435.410063.543105@jerusalem.litteratus.org> <20120101234504.GA55393@chancha.local> Date: Sun, 1 Jan 2012 16:26:38 -0800 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 00:26:40 -0000 > > > Sure, like you say, it is possible "running" BIND and Apache. > But, is it possible|convenient that the name server "reside" in > the same machine that host (with apache) the domain names served > by it? Perhaps you find stupid my question, but believe me, I > am lost :-). > > Or to simplify the question, what is needed to run a DNS? > What I know: > > Edit the zone files. > Run bind. > Register the names ns1.mysite.com, ns2..., (some trick here?) > Obviously adding them to the registrar of the domains served. > > > Walter > > > > Yes, you can run BIND on the same FreeBSD machine as your web server. You have to have your nameserver listed with internic (for .com and .net - ie, your nameserver has to show up in the NAMESERVER whois (note: different than DOMAIN whois) on http://www.internic.net/whois.html) and also for each TLD you want to provide service for (ie, .org, .mobi, etc etc) . If you are using opensrs it's pretty simple to list your nameserver with local and foreign tlds, but with other Registrars - you'd have to check into the details. It's generally easier to use a local domain for the nameservers (ie, ns1.example.mobi for .mobi domains.) but it is also possible to use foreign nameservers (ie, ns1.example.com to resolve www.example.mobi - is considered "foreign") Waitman