From owner-freebsd-questions@freebsd.org Sun Jun 11 17:24:43 2017 Return-Path: Delivered-To: freebsd-questions@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 3DCF0D8B33F for ; Sun, 11 Jun 2017 17:24:43 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 C572870689 for ; Sun, 11 Jun 2017 17:24:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x241.google.com with SMTP id u101so17312421wrc.1 for ; Sun, 11 Jun 2017 10:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=lK9Jsr8JAfuEBhG++qhcHNzHtwMlR9blQeP2JIcssf0=; b=mkdwM9bb+e75mDe0nJKqfVtk6KBzISCerrW6tMfcnA1V5iUVdZsXm52uHT3c1u4K9P 3NcO+/jSe7aeooVBNyvc4X/tHGxu4P0b41lOOpAE9SHdAi/J1CZprv3Rk4SMqkgPOZX2 aYuh2BBvVUawspIA81r3bG+LoHhbwKCPKwQr9QkrfdqgRJb9PLm9ei+dKuGt2HsNFkv+ 8PBGAyBDwIshbm2fQ25ZtE+IcRZi+vkkA3KL/WeQXByXfIR3fIDgSSOOc5TthZv2QVcr T9c7afOPktnHfcWiNFkO5ENdHH+jzMRu41zpfvT98vDCFbWm7/FPStcMFM0klfGWtOv3 tHmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lK9Jsr8JAfuEBhG++qhcHNzHtwMlR9blQeP2JIcssf0=; b=P5fQs7nvenQU3N1pT/REP2/vNFjJv72fYk81RpxY6pvEVbzloBU/vKtVeuBQruEXsG ChnVR4fO3qH9vOIaHK5H0xB3y9bsnFuseRPHSw0xlPoR1phAJDIf1NDvXcf57h1QocZ5 +XaUiJ356dHhqHBI0vtfyonoqtC5CdZqj1XcfHz3pnmmqRfEUXuHey5L13tMewilx4Fd jdMbghvVgEQtCHZU9GpSnBhaOiqezpax/nYKeoRVviNCUTbzyHRoIA/m7W2SCVF7ZW0y awziBNViHlgCmNj35PvAZs2tNVBNOIlH+D3+JfPreSaj4Deagc2q4dL3WPJGJqGrovg8 eidA== X-Gm-Message-State: AODbwcBgwQi56vRZ7NP7fBYEi4DoMUm/95ywwnXx+O6/2rfwxOU8hsc1 Bqe4mz2d5FwtBUIm X-Received: by 10.223.133.208 with SMTP id 16mr4365942wru.199.1497201880704; Sun, 11 Jun 2017 10:24:40 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id z12sm7465323wrb.41.2017.06.11.10.24.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Jun 2017 10:24:39 -0700 (PDT) Date: Sun, 11 Jun 2017 18:24:37 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: how to know what DNS server is being used Message-ID: <20170611182437.3210235a@gumby.homeunix.com> In-Reply-To: <20170610201735.GB3141@HP> References: <80AB0139-6BF5-4B8D-9CCF-1FE445AA26CF@bellsouth.net> <1495679620.341619.987871464.4177A961@webmail.messagingengine.com> <20170610201735.GB3141@HP> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 17:24:43 -0000 On Sun, 11 Jun 2017 04:17:38 +0800 Yubin Ruan wrote: > On Wed, May 24, 2017 at 11:33:40PM -0300, Fernando Milovich wrote: > > cat /etc/resolv.conf > > Is this the standard? I mean, can a system use some other files to > specify their DNS server? Some software will let you override what's in resolv.com in its configuration, for example squid and spamassassin can be configured to use DNS servers that aren't in resolv.conf. Also if you are using something like a ppp or dhcp client that overwrites resolv.conf, you might want to specify additional or alternate servers in their configuration.