How to configure your Mac to use DNS over TLS in five easy steps:
-
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
-
Edit the configuration file:
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
version: "3" | |
services: | |
roach1: | |
container_name: roach1 | |
image: cockroachdb/cockroach:v1.1.3 | |
command: start --insecure | |
ports: | |
- "26257:26257" | |
- "8080:8080" | |
volumes: |
How to configure your Mac to use DNS over TLS in five easy steps:
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
Edit the configuration file:
version: '3' | |
services: | |
master: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4 | |
container_name: master | |
environment: | |
- cluster.name=elastic-cluster | |
- node.name=master | |
- node.master=true | |
- node.data=false |
package main | |
import ( | |
"archive/tar" | |
"bytes" | |
"compress/gzip" | |
"fmt" | |
"io" | |
"os" | |
"path/filepath" |
backend httpbin | |
balance roundrobin | |
mode http | |
server master 192.168.50.10:32009 check check-sni httpbin.example.com sni str(httpbin.example.com) ssl verify none | |
http-request set-header Host httpbin.example.com | |
http-request set-header X-Forwarded-For %[src] | |
http-request set-header X-Forwarded-Port %[dst_port] | |
http-request add-header X-Forwarded-Proto https if { ssl_fc } |
apiVersion: security.istio.io/v1beta1 | |
kind: AuthorizationPolicy | |
metadata: | |
name: allow-nothing | |
namespace: default | |
spec: | |
{} |