From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: /etc/hosts Date: Tue, 13 Nov 2018 11:37:49 -0500 Message-ID: <20181113163749.GB7134@jasmine.lan> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMbhN-0002Bt-U9 for help-guix@gnu.org; Tue, 13 Nov 2018 11:37:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMbhJ-0002FR-3y for help-guix@gnu.org; Tue, 13 Nov 2018 11:37:57 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:44357) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMbhI-0002AC-Oh for help-guix@gnu.org; Tue, 13 Nov 2018 11:37:53 -0500 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 13, 2018 at 04:16:23PM +0100, znavko@tutanota.com wrote: > Hello, Guix Help! I've added a line in /etc/hosts > 5.5.5.5 site.com >=20 > But site.com points on its usual ip. Restart wpa_supplicant and restart p= c did not help. > How to work with hosts on GuixSD? You can specify your hosts file in your operating system configuration file ('config.scm'): https://www.gnu.org/software/guix/manual/en/html_node/operating_002dsystem-= Reference.html#index-hosts-file You can maintain your hosts file "by hand" in, for example, /etc/my-hosts and refer to it from config.scm like this (untested): ------ (hosts-file (local-file "/etc/my-hosts")) ------ --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlvq/d0ACgkQJkb6MLrK fwhrQxAAr7+ikMVXeGM6+582ByRK4dKDydqwyiWiC91VHLdUR/wm2kxacKFem1VG 7tNkjV8R4hGE4Imz1pKag1LQdr3LQFUYzliICXt0MWX7C1dANA/VEQ+Fgzja+oMk 2gol3+dhe9zTVgcWYXv9JXduH8rH6ZeTTco0GBiQYaj989Hvojb0aSBWqF1d71cA 4PmRsV/FvtirpQvp0aJu2PYf2xQB5/WXqj4rXo1vLo+hHN60i/2JhjVyhalIoOCq dNxeTsNiL6tGTYdLz3U+MDH/eaK1J6IYOSQjrx/HIe6erbwaKpfTmH4Kmf+/kCD4 56KW88wYeCFjSfV0AQQyUvuPjGrzD2E0a2nT0x9GixCse13WBSmYgL+O/lNc8lgi fxZ2RQhN8i7/BUsJyVgqLoZttri8pY7seXn1g96Q5mxUUB3lqdgPqn1kfQ4+++1C AgDFbXcbqvVk7dNoCsx9sSnB2DrRWO+HN0eOnPBhNimMRAjzL/qGM9t3TB/uDuO6 tZSbQIaccsEM1D/0ODDc0hEHxjuNGhaMioGlxDuO5lFA7biaV57YASMmzhHGsPUt 2dXWxzHOF6sZrvI4m/ozI/iHQ/HdxVq5M+FKq8jCjosQoPuJE8XASrc4TvSaDMzM RR/IKTgF7Hr4X4XFk5Mo+Qws3gCRebD/VFdsoZAgmmG/JoXV/4c= =J7a3 -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--