From owner-freebsd-questions@FreeBSD.ORG Tue Nov 12 22:53:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9738CCAB for ; Tue, 12 Nov 2013 22:53:55 +0000 (UTC) Received: from mail-qe0-x22b.google.com (mail-qe0-x22b.google.com [IPv6:2607:f8b0:400d:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 527972E9B for ; Tue, 12 Nov 2013 22:53:55 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id gc15so15936qeb.30 for ; Tue, 12 Nov 2013 14:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:thread-index :content-language; bh=PR7Yvz5g87EF2/4Sb535+rs+S0lC/mDDQtFdtuqV7ME=; b=qbLjZE4F9oT5Hu30wrAi52XeRZJqO0rxt6oyn3O6+3cioaRFKJWiWG2JzSR2hDH/2A uLHRjVFWksZWneS7GlagP38kLimeiHmoSTCDpVRS0xFuJavkVje+fxsht/nK5GxpYVgT T2Nz1xDVtuKYb/hAkUip3gjis2YLP1E43OIQE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=PR7Yvz5g87EF2/4Sb535+rs+S0lC/mDDQtFdtuqV7ME=; b=aG4j1lae9SUQVuOXbp7Sxl0/dQunR9SPLCZel3isTG9YTK1J121u6H/AjgKtvMRYbX TRTNk2nC6Qf5Bq/ecOQFfbCsr3lDuFtgv9MX+HP6eg5W9HCts5ldBulv1HZho0qq5H2T q7JZ740oEZu4rh+oST9YLloduZVBD4MfoI0vHN9vXRnsPMPBP+tffCYDy+AcWjYDNdj1 HOhrGVSeHJRCiRuTFpsYyt89tGtKcHQeRUEs64m9oUbdfirFIzpY4myUpRGA9QvxP/lV 0vqCaAfATmgxnyb1xRlV4gbq7I2vPN5E4Eyq3qtPt+DhBzTC2vste9utUh9AldVMFaam 6OOQ== X-Gm-Message-State: ALoCoQncff/X1UEyneEk4hoy6VXa+6I47Kpq773fz6zpsECeKy9hWrfIt1etH99XJKbYLBc0EB/0 X-Received: by 10.49.59.133 with SMTP id z5mr60691486qeq.18.1384296834166; Tue, 12 Nov 2013 14:53:54 -0800 (PST) Received: from boss530 (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id b9sm64225526qas.7.2013.11.12.14.53.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Nov 2013 14:53:53 -0800 (PST) From: "Gerard Seibert" To: References: <00dc01cedf99$5e1c0cd0$1a542670$@seibercom.net> <44d2m5b9zc.fsf@be-well.ilk.org> In-Reply-To: <44d2m5b9zc.fsf@be-well.ilk.org> Subject: RE: unbound and ntp in FreeBSD 10 Beta 3 Date: Tue, 12 Nov 2013 17:53:40 -0500 Message-ID: <005401cedffa$087868d0$19693a70$@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJKhAPsi7S+GhcLnHqCuXRiRXXgvwESfsjHmSJVgDA= Content-Language: en-us X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 22:53:55 -0000 > -----Original Message----- > From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] > Sent: Tuesday, November 12, 2013 4:12 PM > To: Gerard Seibert > Cc: freebsd-questions@freebsd.org > Subject: Re: unbound and ntp in FreeBSD 10 Beta 3 >=20 > "Gerard Seibert" writes: >=20 > > I just did a fresh install of FreeBSD 10 Beta 3 on a clean machine. > > For whatever reason, I am having the following problem. > > > > I added this to the rc.conf file: > > > > local_unbound_enable=3D"YES" > > > > I also have: > > > > ntpd_enable=3D"YES" > > > > in the file. > > > > This is the resolv.conf file: > > > > #Generated by resolvconf > > #nameserver 209.18.47.61 > > #nameserver 209.18.47.62 > > #nameserver 192.168.1.1 > > > > nameserver 127.0.0.1 > > options edns0 > > > > Now, with this configuration, ntpd never resolves any of the = addresses > > it needs to work. My screen fills up with error messages. If I >=20 > Can any other programs resolve addresses? >=20 > > uncomment the three nameserver entries it works fine until the next > > reboot. I had to comment out the unbound line in the rc.conf file to > > prevent it from causing the resolv.conf file from being over written > > > > I obviously have something configured incorrectly. Can anyone help = me > > with this? Also, what do the "options" mean? I cannot find any > > documentation on it. >=20 > There are options documented in resolv.conf(5), but edns0 isn't one of > them. I believe it is supported by the libraries on some other = Unix-ish > systems. Most likely, resolv.conf isn't the source of the problem, and = your > version of that file would work fine if unbound were working. >=20 > If I'm guessing correctly, unbound is not starting at all. You can = test this easily > by enabling unbound and then restarting it. You may get some = informative > information printed out or entered into logs at that time. My guess is = that it > won't actually start at all, and the diagnostic messages will tell you = why. It will > almost certainly be because you didn't set up unbound.conf properly; = very > likely you missed either an "interface" or "forward-zone" setting. >=20 > Good luck. >From what I can find, I only have to place that declaration in the = rc.conf file to get unbound working. I found the info here: = http://blog.des.no/2013/09/local-caching-resolver-in-freebsd-10/ = However, I am not sure if I am also supposed to put the "service = local_unbound start" line into the rc.conf file also. If not; how am I = supposed to start the service? I think the directions could use a = little clarification. --=20 Jerry