Giter VIP home page Giter VIP logo

dot-doh-ios's Introduction

DNS over TLS and/or DNS over HTTPS Configuration for iOS

Description

Device configuration profiles for using public dns resolvers (e.g. dns.digitale-gesellschaft.ch or cloudflare-dns.com) by using DNS over TLS and/or DNS over HTTPS on iOS devices. Profile(s) are not protected and can be uninstalled any time. In case a device is passcode protected, the passcode has to be entered in order to correctly install/uninstall the profile.

Settings according to apple device management documentation: https://developer.apple.com/documentation/devicemanagement/dnssettings

Further information and lists of public dns server:

Conditional Encrypted DNS profiles

In order to exclude certain networks from direct encrypted DNS requests profiles can be adapted for conditional use. Such exclusions can be defined using domain names, network names (SSID) or adress (ranges). One possible use case may be the exclusion of the home network with an own dns resolver for accessing the local NAS system. In order to use such functionality the following code section has to be added to the regular configuration file in which the string "WIFI Network Name" has to be replaced with the corresponding network name which shall be excluded.

<key>OnDemandRules</key>
    <array>
        <dict>
            <key>Action</key>
            <string>Disconnect</string>
            <key>SSIDMatch</key>
            <array>
                <string>WIFI Network Name</string>
            </array>
        </dict>
        <dict>
            <key>Action</key>
            <string>Connect</string>
        </dict>
    </array>

In the subfolder "conditional" there are two sample files for such cases.

  • diy_template as name states provides the basic structure. the "#" characters are filler-only-characters and have to be replaced accordingly
  • diy_cloudflare-htttps_conditional.mobileconfig is an example config

Installation

  • open the mobileconfig files via Safari or download it on the device
  • click on the file to install it and switch to/open the system settings
  • either on top click to install the profile or goto: general -> profiles (at the bottom)
  • follow the instructions as shown

Usage

  • select the desired DNS settings in the VPN & Network settings: System Settings -> General -> VPN & Network
  • supplementary note: "automatic" stand for the interface settings (dhcp, fixed ip,...)

Changelog

v0.4 - 2021-02-25

  • adding digitalcourage.de configuration file
  • adding references to dns privacy in README.md

v0.3 - 2021-01-17

  • adding conditional configuration files (template & cloudflare sample)

v0.2 - 2021-01-09

  • quad9 provider added (quad9.net)

v0.1 - 2020-11-13

  • initial version of config files (cloudflare.com & digitale-gesellschaft.ch)

dot-doh-ios's People

Contributors

snbl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.