From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 01:59:35 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5AAED57 for ; Sun, 4 Jan 2015 01:59:35 +0000 (UTC) Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B1AB1710 for ; Sun, 4 Jan 2015 01:59:34 +0000 (UTC) Received: from markhams-MacBook-Pro.local (rageous.ssimicro.com [64.247.134.72]) (authenticated bits=0) by mail.ssimicro.com (8.14.7/8.14.7) with ESMTP id t041xMGp010077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 3 Jan 2015 18:59:26 -0700 (MST) Message-ID: <54A89E7C.1030002@corp.ssimicro.com> Date: Sat, 03 Jan 2015 18:59:24 -0700 From: markham breitbach User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: bind domain and subdomain on same machines References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 01:59:35 -0000 By default named listens on all available interfaces, so a single instance of named should do what you need. If you need to run a second nameserver, you could set "listen-on { };" for each named.conf, but at that point I would probably consider running them in jails. You could also do something sneaky like hard-linking the zone files to ensure consistency. I'm really not too sure I understand what you are trying to achieve though. You don't need to split off the subdomain to a separate name server, and there usually is not much point in running two name servers on one host. -M On 2015-01-03 2:40 PM, helen ly wrote: > hi > can I configure Secondary DNS Server on same primary machine > I have virtual interfaces > i want to make as a domain(primary) and a subdomain(secondary) > can this be archievd only with one zone file for two(domain,subdomain) = and one named.conf.local > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg"