unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vladimir Sedach <vas@oneofus.la>
To: Bone Baboon <bone.baboon@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Edits to `etc/resolv.conf` being overwritten
Date: Thu, 08 Apr 2021 20:22:03 -0700	[thread overview]
Message-ID: <8735w05ehw.fsf@t510.orion.oneofus.la> (raw)
In-Reply-To: <878s5sfvcr.fsf@disroot.org>


Bone Baboon <bone.baboon@disroot.org> writes:
> It is almost like `sudo dhclient <wireless-interface>` is taking
> instruction from the router (provided by my internet service provider)
> to overwrite `/etc/resolv.conf` to the DNS of my internet service
> provider.

That is in fact what dhclient does. There is a list of workarounds on
Debian Wiki:

https://wiki.debian.org/resolv.conf

I use the file attribute one on my Debian system.

The ideal solution is to re-implement dhclient in Guile, and make it
a configurable alternative to dhcp-client-service-type. That would be
a lot of work though.

--
Vladimir Sedach
Software engineering services in Los Angeles https://oneofus.la


  parent reply	other threads:[~2021-04-09  3:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  1:36 Edits to `etc/resolv.conf` being overwritten Bone Baboon
2021-04-02  4:57 ` Jérémy Korwin-Zmijowski
2021-04-02  7:43 ` phil
2021-04-02 13:08   ` Bone Baboon
2021-04-02 16:07     ` Gary Johnson
2021-04-06 21:41       ` Bone Baboon
2021-04-07 14:34         ` Gary Johnson
2021-04-08 19:07           ` Bone Baboon
2021-04-08 19:17             ` Vincent Legoll
2021-04-10  3:40               ` Bone Baboon
2021-04-10  9:23                 ` Vincent Legoll
2021-04-10 19:50                   ` Bone Baboon
2021-04-09  3:22             ` Vladimir Sedach [this message]
2021-04-10  3:28               ` Bone Baboon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735w05ehw.fsf@t510.orion.oneofus.la \
    --to=vas@oneofus.la \
    --cc=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).