From owner-freebsd-questions@freebsd.org Sat Jun 10 15:03:23 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 C99C4BEF708 for ; Sat, 10 Jun 2017 15:03:23 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (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 8DAC27C0D5 for ; Sat, 10 Jun 2017 15:03:23 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x242.google.com with SMTP id i93so7302781iod.3 for ; Sat, 10 Jun 2017 08:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=nbkuKMnY2gEdizMkF2TFWYXlBoPdMkDW+gz1WvuVyrA=; b=qwyI1VtiuOXeSiD33RrT6FOFU9ucB0W4tCamixSsWsdWTGRt2r2ROWion9gSOHBCTe /J4fqDR/mEXf9M0cy+V9LBD820xDFG78CmQI4ZG/AQgoQ9HpEFeZy6i8ZGGM/LVUkiaC tzLdqgOx99t3WwJQaVcXHk4oKaW1VYtgV21mVv76QdcIm1mx8ULhf2IC4gZGIMHyJXVV HBaX2yyhpGjqWcaVa6ylS2aK3t4U7zvKLrcPEK0dKwPZJhIo1UwseSTGiEvLy2dTDq35 n43v8P6HRHyyi4Lb4IWMTPEzM4m/3GuS4OkXrwDo4rj+qk8aYXIobGfZUUWHh32vTeQG lXUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=nbkuKMnY2gEdizMkF2TFWYXlBoPdMkDW+gz1WvuVyrA=; b=hVA2/Qji2MqIqFZWSmsQLQfiNUs3LmSE1q4DGBSc/DCuj9VNiPheo7FGld1BEgEp4W JgXgonIhI2ukSvaA4N/iaOI+9SqrHtGyw4R7Tz0n4k3HZLeRE6ryQSk1wu6N4pwktnek 00YT5f0dLFZkpJ0mQM0OOPmSifwKZLsOt1tVv/4IY74inpvYwJrN2LERFeQ24Jd8Mplm qv1toah3IGfrA/SGUyDb1rndJ7SquWQu9elnSjVlDHfq98iJ2nVzshgNkc+ND59HnrRt z62Iju7wHBrISwYXmHA/sGxbBtxx+H9B4zJ+qU/0mm9XqzvHLuMqXDfeA2i+wTV9iQxI qiqg== X-Gm-Message-State: AODbwcD91tQaoxvr4KYLe1PiD7wQlWw3O5L8EZTz39WEZU4zuhZNRqx3 kQh3lSmBpT2nLA== X-Received: by 10.107.191.66 with SMTP id p63mr45781179iof.100.1497107002855; Sat, 10 Jun 2017 08:03:22 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-219.neo.res.rr.com. [74.141.88.219]) by smtp.googlemail.com with ESMTPSA id t193sm1377649ita.24.2017.06.10.08.03.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Jun 2017 08:03:22 -0700 (PDT) Message-ID: <593C0A3C.2010307@gmail.com> Date: Sat, 10 Jun 2017 11:03:24 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Yubin Ruan CC: Baho Utot , freebsd-questions@freebsd.org Subject: Re: how to know what DNS server is being used References: <80AB0139-6BF5-4B8D-9CCF-1FE445AA26CF@bellsouth.net> <1495679620.341619.987871464.4177A961@webmail.messagingengine.com> <20170610201735.GB3141@HP> <20170610225450.GD12437@HP> In-Reply-To: <20170610225450.GD12437@HP> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Sat, 10 Jun 2017 15:03:23 -0000 Yubin Ruan wrote: > On Sat, Jun 10, 2017 at 09:46:11AM -0400, Baho Utot wrote: >> >> On 06/10/17 16:17, 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? >>> >>> -- >>> Yubin >> It is working correctly. Why would you want to use another file to manage >> name servers? >> >> This is not windows > > For example, dnsmasq do not use /etc/resolv.conf > > /Yubin > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > The system uses /etc/resolv.conf and it gets populated at boot time if your using DCHP on the interface facing the pubic internet as defined in /etc/rc.conf. dnsmasq is a port commonly used for DNS on a LAN. This is totally different than what the system does with DNS. Do not confuse the two as they perform different functions.