From d3d5eb9be7d9f3df8e4c2863975fd25d7c247c26 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Tue, 8 Jun 2021 12:56:40 +0530 Subject: [PATCH] (feat) future-fix for resolv.conf with prepend domain-name-servers --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d340573..b3bc1ab 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,12 @@ chattr +i /etc/resolv.conf > Note to future self: If later you found the right way to do this, reverse the above by doing `chattr -i /etc/resolv.conf` and fix it. +#### Future self: + +To add nameservers before `resolv.conf`, add `prepend domain-name-servers 127.0.0.1;` to `/etc/dhcp/dhclient.conf`. + +As implied, `nameserver 127.0.0.1` is prepended to `/etc/resolv.conf` + ### RabbitMQ Server Installing RabbitMQ Server on Debian Stretch fails because the dependent packages `erlang-nox` and `esl-erlang` on Debian repos are slightly outdated. Hence, follow these instructions: