From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kGlcNlb9u18eTgAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 18:20:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SFQ7Mlb9u1+vfwAA1q6Kng (envelope-from ) for ; Mon, 23 Nov 2020 18:20:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55AD094028F for ; Mon, 23 Nov 2020 18:20:06 +0000 (UTC) Received: from localhost ([::1]:51858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khGRY-0007QN-VG for larch@yhetil.org; Mon, 23 Nov 2020 13:20:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khGQt-0007Op-Sl for help-guix@gnu.org; Mon, 23 Nov 2020 13:19:25 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:42512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khGQp-0002SE-VX for help-guix@gnu.org; Mon, 23 Nov 2020 13:19:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=xpdPsSkvawT9cHKBIvsGtWEPriYkDOCSTNT1xqbIrPA=; h=date:in-reply-to: references:subject:cc:to:from; b=QyVhwBxUkaxRHwYkPWpt/dtuGlMORlyLp1lry mxm5hkgvGpXcGc8hpzA3WkVT8yYz2et9qVgDDL6OaKLVsU0inGyYw6zJ7thILLGIWovhZY lTnfg5PhGMI+c7N+Epf6lOKXfnuoxUcCpl66bUpbps8fevTIUcL8J8vIdXiXYY6JR3/vLA +Y4G2L7bvU3AORI3zF6Xs43rvGoZH5UJqUlWTAh0fBB41ButBUEk81AJs14p83Cy/RkI1h tx3I/F7k4WnLskLefNTuDwzX6nnHn0afitnCiVHoIGu9ZpU58CJhjKHQRJEUCGjJJqa2gh FaxBI7O1oxT10VgUiT13yA35Q== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 62eea042 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 23 Nov 2020 18:19:26 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: znavko@disroot.org Cc: help-guix@gnu.org Subject: Re: Which dns server my system is using? References: <87sg907zzh.fsf@nckx> <20c547a25019bae28a68ae06b7f4c99d@disroot.org> In-reply-to: Date: Mon, 23 Nov 2020 19:19:15 +0100 Message-ID: <87mtz87x7g.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=QyVhwBxU; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.31 X-TUID: kPL3DrJ+Bolm --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable znavko@disroot.org =E5=86=99=E9=81=93=EF=BC=9A > Yes, Tobias, I thought that 192.168.1.1 is just my modem=20 > and as far as my modem is not a DNS server I still > keep digging. Are you sure? Most home routers do include their own DNS server. It's already running (GNU/)Linux, a DHCP server, and probably a=20 tonne of vulnerable outdated software, after all. They might as=20 well add a low-performance caching DNS server to completely=20 overload its slow CPU. It could even be dnsmasq. This built-in DNS server (or recursive resolver, to give it its=20 Latin name) is advertised by the modem through the DHCP response.=20 Your PC's DHCP client then wrote it to /etc/resolv.conf. > Does this mean I use those DNS servers my Internet provider=20 > uses? In effect. When your PC asks your modem's stub DNS resolver for a=20 DNS record, your modem will either return a cached response or it=20 will reach out to whichever resolver(s) are configured in the=20 modem firmware. Some modems let you change these from the ISP=20 defaults, or even disable the function completely, others don't. > But DNSmask runs quickly and easy only with NetworkManager that=20 > I cannot stand for. Yeah, this is how I use it (I quite like NM). I've never set it=20 up on its own with Guix. > Can I use another DNS server? and may be I will be able to=20 > access those sites RKN banned, > for example realmusic.ru I can't give you exact advice/commands but you absolutely can. On a fully manual system, you'd edit /etc/resolv.conf and be done.=20 Writing, e.g., =E2=80=98nameserver 9.9.9.9=E2=80=99 (not an endorsement) wi= ll send=20 all DNS queries there instead of to your modem. If you run any kind of daemon (even dhcp-client), it will probably=20 want to manage /etc/resolv.conf for you. You'll have to ask it=20 not to, or to write your preffered DNS server there instead of the=20 autodiscovered one. The Guix manual doesn't seem to document how. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX7v9Iw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15cYwA/1YgiUM3CbcspVa9TnCiIcPnzhq8KHwSmp/M3uec GLkcAQCjXe3hzfsiPVPjhd41gNZ35rbbwe/3Z8sDGD5qbd2NBw== =oqrS -----END PGP SIGNATURE----- --=-=-=--