From owner-freebsd-net@freebsd.org Sat Dec 2 18:30:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB5E1E6688C for ; Sat, 2 Dec 2017 18:30:53 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C3FA790C5 for ; Sat, 2 Dec 2017 18:30:52 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-wr0-f182.google.com with SMTP id y21so13162941wrc.1 for ; Sat, 02 Dec 2017 10:30:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9Qm8siCBFw/ENUtwXOBbI2EBYtyiF48luMYnKXQQBPY=; b=h1VjgFIQ8E7eoDJrC5tqQUqITOGf4kJlCwEBexSTFpe3gJcMaLuuGNaj9qm1JIIFj8 c5PEqaMLLeOtxMnHP59BUmyUdBngtxjEMIN2DkXlsxW1GK260uytU62BnTnXpYZAiFk7 sQCGLUGZofgArETHtwJTBO9V6HDy5SNlWPgt4cs1hQiNy5FcfUdX7QMZWgOXZmOHv9UV U2k8Z9MlF4KLnzPNpSgG5d778kleXzpo9nfJ9hxLmGYkKz34VXVwP4mpjMT5nAt04T8f 56D/r/J/ATkd0CAS9luzEwahc36pvLACOecjMSGJksC223Hp8qpJe8dR7o1PPKB7YCp1 by0g== X-Gm-Message-State: AJaThX4aAzBjoqSOL0PndYCxH92sphQcQ98G+bYTAgA/i3v6AqTStafa JktEBFweUuxIMXbc0nU++2fFolYx X-Google-Smtp-Source: AGs4zMbG8M7RtVweW1wKmh1t71FCoh+macPJR1jsdlTS5ffconYjlBT0PCCRekrf//1PPkf4g6zL5Q== X-Received: by 10.223.169.183 with SMTP id b52mr9339714wrd.63.1512239086362; Sat, 02 Dec 2017 10:24:46 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id t200sm4059679wmd.45.2017.12.02.10.24.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Dec 2017 10:24:45 -0800 (PST) Subject: Re: resolvconf.conf name_servers option To: =?UTF-8?Q?Goran_Meki=c4=87?= References: <20171202145620.5ik4f2lrnkr5tf73@hal9000.meka.no-ip.org> Cc: freebsd-net@freebsd.org From: Andriy Gapon Message-ID: Date: Sat, 2 Dec 2017 20:24:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171202145620.5ik4f2lrnkr5tf73@hal9000.meka.no-ip.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 18:30:53 -0000 On 02/12/2017 16:56, Goran Mekić wrote: > Hello, > > I found out that when I set "name_servers=127.0.0.1", that's the only > nameserver line in /etc/resolv.conf after resolvconf -u, but the man > say: > > name_servers > Prepend name servers to the dynamically generated list. You > should set this to 127.0.0.1 if you use a local name server other > than libc. > > I get the same result if I use "prepend_nameservers=127.0.0.1". Strange > enough, "append_nameserver=127.0.0.1" works as expected: two nameserver > lines, one with DHCP provided one and second with 127.0.0.1. > > I'm running 11.1-p5. Am I the only one having that problem? See resolv_conf_local_only. There are some complex dependencies between options. -- Andriy Gapon