Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: gene heskett Newsgroups: linux.debian.user Subject: Re: how to change default nameserver? Date: Sun, 09 Apr 2023 15:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-user-request@lists.debian.org Sun Apr 9 13:04:46 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, WEIRD_PORT=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -3.5 Auth-Sender: gheskett@shentel.net MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Ctch-Spam: Unknown X-Ctch-Refid: str=0001.0A742F1A.6432B7D8.002E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Originalarrivaltime: 09 Apr 2023 13:03:38.0184 (UTC) FILETIME=[B3440480:01D96AE3] X-Mailing-List: archive/latest/798266 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/9899bcfb-5e2b-fe20-aa73-76a6339e0f12@shentel.net Approved: robomod@news.nic.it Lines: 26 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 9 Apr 2023 09:04:23 -0400 X-Original-Message-ID: <9899bcfb-5e2b-fe20-aa73-76a6339e0f12@shentel.net> X-Original-References: <20230409104353.kyddt6hjgg2yvbgu@randomstring.org> Xref: csiph.com linux.debian.user:256963 On 4/9/23 06:59, Dan Ritter wrote: > Timothy Butterworth wrote: >> After you edit resolv.conf make the file immutable with chattr. Chattr +i makes immutable chattr -i removes immmutable. > > > This works, but you should also leave yourself a comment in the > file to prevent later confusion. > > It's also unsuitable for most laptops, or other situations where you > ever want an automatic process to change the resolv.conf file > > -dsr- > > . I should have qualified that advice as this machine will never be moved beyond its quasi annual trip to the back porch for an air hose D&C. Not a lappy, but a huge tower. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page