[arch-commits] Commit in systemd/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Jul 26 10:03:42 UTC 2018


    Date: Thursday, July 26, 2018 @ 10:03:42
  Author: heftig
Revision: 329559

Set the OpenDNS nameservers as default

Modified:
  systemd/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++++
 1 file changed, 8 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-26 09:40:31 UTC (rev 329558)
+++ PKGBUILD	2018-07-26 10:03:42 UTC (rev 329559)
@@ -99,6 +99,13 @@
 
 build() {
   local _timeservers=({0..3}.arch.pool.ntp.org)
+  local _nameservers=(
+    # https://1.1.1.1/
+    1.1.1.1
+    1.0.0.1
+    2606:4700:4700::1111
+    2606:4700:4700::1001
+  )
 
   local _meson_options=(
     -Daudit=false
@@ -113,6 +120,7 @@
     -Ddefault-kill-user-processes=false
     -Dfallback-hostname='archlinux'
     -Dntp-servers="${_timeservers[*]}"
+    -Ddns-servers="${_nameservers[*]}"
     -Drpmmacrosdir=no
     -Dsysvinit-path=
     -Dsysvrcnd-path=



More information about the arch-commits mailing list