summary refs log tree commit diff
path: root/bin/gdns
blob: 9433ba004fd4e965d9a8d359f329d022e1f8cbcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if grep -q 'gdns.sh' /etc/resolv.conf; then
  sed -i '1,3d' /etc/resolv.conf
  echo 'Google DNS removed'
else
  sed -i '1i # Added by gdns.sh' /etc/resolv.conf
  sed -i '2i nameserver 8.8.8.8' /etc/resolv.conf
  sed -i '3i nameserver 8.8.4.4' /etc/resolv.conf
  echo 'Google DNS added'
fi
ommit/man/Makefile.am?h=3.2.0&id=0e138b6a3d3fb41c5915ddf1b327fc6f28e074a6&follow=1'>Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe