From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 01:19:27 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 355FA63B for ; Wed, 6 Aug 2014 01:19:27 +0000 (UTC) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABF512433 for ; Wed, 6 Aug 2014 01:19:26 +0000 (UTC) Received: from ipb5.telenor.se (ipb5.telenor.se [195.54.127.168]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id A7167C7AC for ; Wed, 6 Aug 2014 02:55:25 +0200 (CEST) X-SENDER-IP: [83.227.225.121] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoGAMV74VNT4+F5/2dsb2JhbABAGoMNUlfLfAcaCoZ1gWMXd4QEAQEBAwEBAUsIGAsQCxgJFBEPBRMBBQQIJQcHBAEcBIglAQg2wjIXjnsBAYQFgRwBBJUqg2+CcwGBVJMNg087LwEGgQY X-IPAS-Result: ApoGAMV74VNT4+F5/2dsb2JhbABAGoMNUlfLfAcaCoZ1gWMXd4QEAQEBAwEBAUsIGAsQCxgJFBEPBRMBBQQIJQcHBAEcBIglAQg2wjIXjnsBAYQFgRwBBJUqg2+CcwGBVJMNg087LwEGgQY X-IronPort-AV: E=Sophos;i="5.01,808,1400018400"; d="scan'208";a="738099132" Received: from ua-83-227-225-121.cust.bredbandsbolaget.se (HELO ymer.thorshammare.org) ([83.227.225.121]) by ipb5.telenor.se with ESMTP; 06 Aug 2014 02:55:25 +0200 Received: from ymer.thorshammare.org (localhost [127.0.0.1]) by ymer.thorshammare.org (8.14.9/8.14.9) with ESMTP id s760tCVt023949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Aug 2014 02:55:15 +0200 (CEST) (envelope-from admin@ymer.thorshammare.org) Received: (from root@localhost) by ymer.thorshammare.org (8.14.9/8.14.9/Submit) id s760t76L023948; Wed, 6 Aug 2014 02:55:07 +0200 (CEST) (envelope-from admin) Date: Wed, 6 Aug 2014 02:55:07 +0200 From: Charlie Root To: freebsd@fongaboo.com, freebsd-questions@freebsd.org Subject: Re: NSD & Unbound on same box? Message-ID: <20140806005507.GA23913@ymer.thorshammare.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: clamav-milter 0.98.4 at mailhub3.thorshammare.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 01:19:27 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 05, 2014 at 07:09:50PM -0400, freebsd@fongaboo.com wrote: >=20 > Is it not possible to run both a caching lookup server using Unbound (in= =20 > FreeBSD 10) and an authoritative server using NSD (installed from ports)= =20 > on the same box? >=20 > BIND used to perform both functions as I remember, provided you configure= d=20 > it as such. Does NSD also do caching? >=20 > We have a /27 so I could configure one or the other to listen on a=20 > different IP, but only if I really have to. >=20 >=20 > I got: >=20 > service local_unbound start > Performing initial setup. > Extracting forwarders from /etc/resolv.conf. > /var/unbound/forward.conf created > /var/unbound/unbound.conf created > /etc/resolvconf.conf created > original /etc/resolv.conf saved as /etc/resolv.conf.20140805.185119 > Starting local_unbound. > [1407279079] unbound[7957:0] error: bind: address already in use > [1407279079] unbound[7957:0] fatal error: could not open ports > /etc/rc.d/local_unbound: WARNING: failed to start local_unbound >=20 >=20 > -----------------------------------------------------------------------= -- > shot through the heart ooh baby do you know what that's wo= rth > and you're to blame ooh heaven is a place on ea= rth > darling you give love they say in heaven love comes fi= rst > a bad name we'll make heaven a place on ea= rth > ORBITAL "Halcyon Li= ve" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" ------------------------------------------------ Hello. Same IP, but different ports will work. https://wiki.archlinux.org/index.php/Nsd /Hasse Hansson --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIbBAEBAgAGBQJT4XzrAAoJEAqrEhCvk86fOYEP92bkL6l8qYviJ6J7r6jckY2t uL0i2N1tue4Kd5lJWgS0dqgOONuRibkHZ7KfEo0Z2vnF7T1uqG/H5fxBIKH6wvWE HDin2eAu1vIOkBxfit1wGiJ1deXUxqsPZ1E13BznhwD7PS3+TdsfNbRgS9WsMIDH p9146TebrrnYTpU5vZmIKjSecATLrLdYL76XEvTGz6BpxAN6RL6M11U03PHq6LhZ r5VdAQaOMzrYNlos0lZx/hdRnV5QcMTIxS8jA8A/7uTgZUgXWRUPltT02G7g05xB Ac4FV3Sav+QsaIVFguyWF/x/tChKEiuvzyatDkjUujN3lXoqgNA8My2nAaxo0wSC aY0b4GSnehLE22H1DUQdA7d5TDjp0WVuxL6Q6AoN7rYyt5Vy14mIiWXT1rwoQebe QQYHblCZc+pMsW3ofMPhjNyY0eF5qXwVE5U/LWrPgl6zOQbcnpZihOGFFObexhrN RaWTv8QAU7IsaeM5QvlOSqiQlhw589kdwsMAeg+XOyJdTLBXncFVuZTB4nbyFE6X DqzqnHql2VF1zUj98zofpeDzDhvsZ4j1s62TbzTylJWF68a/2VatDxzhXgPYDV+b oynEsIdtqPfX4i3lVXYf15FpG2+LzDklADDVfyY8bChBnC2oc2lN3lOWClm5Udwk yMNF+uKkvAHX2LI6N0A= =C+W6 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--