Преглед на файлове

change dns settings in default configuration

Change the dns settings of eggdrop in the default configuration of the
docker image to use the dns server at address 127.0.0.11.

Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
hwipl преди 6 години
родител
ревизия
1a7e7dcc76
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      eggdrop.Dockerfile

+ 6 - 0
eggdrop.Dockerfile

@@ -54,3 +54,9 @@ RUN echo "" >> eggdrop.conf && \
     echo "source scripts/watch.tcl" >> eggdrop.conf && \
     echo "# end of scripts from repository" >> eggdrop.conf && \
     echo "" >> eggdrop.conf
+
+# the original entrypoint.sh from eggrop:1.8.4 changes the dns setting to an
+# external dns address; disable this with a hack
+RUN sed -i \
+    -e 's/^#set dns-servers "8.8.8.8 8.8.4.4"/#set dns-servers "127.0.0.11"/' \
+    eggdrop.conf