revamp premades, add legal

This commit is contained in:
fyr77 2020-10-25 18:04:39 +01:00
parent 6f7fe92fbe
commit 64ddecb5e1
8 changed files with 282 additions and 196 deletions

View file

@ -14,6 +14,6 @@ For more information, see the website of the tool itself: https://dns.notjakob.c
## Thanks
- Eli Grey for [FileSaver.js](https://github.com/eligrey/FileSaver.js)
- uuidjs for the [UUID JavaScript module](https://github.com/uuidjs/uuid)
- uuidjs for the [UUID JavaScript library](https://github.com/uuidjs/uuid)
- Paul Miller for [his excellent article](https://paulmillr.com/posts/encrypted-dns/) and the [premade profiles](https://github.com/paulmillr/encrypted-dns)
- W3schools for [w3.css](https://www.w3schools.com/w3css/)

View file

@ -27,4 +27,3 @@ input[type=submit] {
input[type=submit]:hover {
background-color: #45a049;
}

View file

@ -8,13 +8,19 @@
<link rel="stylesheet" href="css/form.css">
</head>
<body class="w3-container">
<div class="w3-container w3-light-gray">
<p>This website uses technical cookies. By continuing you agree to the use of these cookies. No personal data is stored or shared. <a href="legal.html">Learn more</a></p>
</div>
<h1>Secure DNS profile creator</h1>
<h2>For iOS 14 or later and macOS Big Sur or later</h2>
<div class="w3-bar w3-border w3-light-grey">
<a href="/index.html" class="w3-bar-item w3-button w3-green">About</a>
<a href="/tool.html" class="w3-bar-item w3-button">Tool</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-dark-grey">GitHub</a>
<a href="/premades.html" class="w3-bar-item w3-button">Pre-made profiles</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-black">GitHub</a>
<a href="/legal.html" class="w3-bar-item w3-button w3-right">Legal</a>
</div>
<br>
@ -42,5 +48,7 @@
<p>In the end, it's more personal preference than anything else. If your system supports both - as Apple systems do - you can choose whatever you want.</p>
<h3>Which provider should I choose?</h3>
<p>This comes down to a few factors. First, location. Living in countries which block certain websites narrows your choice down considerably. Furthermore, different providers have different priorities. I suggest you do some research into the providers yourself. For example, you could take a look at <a href="https://www.privacytools.io/providers/dns/">this table</a> which lists a few providers and compares them.</p>
<h3>Support</h3>
<p>This website does not use any ads or tracking. If you enjoy it and want to show some support, <a href="https://ko-fi.com/notjakob" target="_blank">buy me a coffee</a>. It's greatly appreciated!</p>
</body>
</html>

23
js/listPage.js Normal file
View file

@ -0,0 +1,23 @@
function accToggle(id) {
var x = document.getElementById(id);
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
function createCookie (provName, doh, dns1v4, dns2v4, dns1v6, dns2v6, serverUrl) {
var d = new Date();
d.setTime(d.getTime() + (3600000)); //expires in 1h
var expires = "expires="+ d.toUTCString();
document.cookie = "provName=" + provName + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "doh=" + doh + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "dns1v4=" + dns1v4 + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "dns2v4=" + dns2v4 + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "dns1v6=" + dns1v6 + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "dns2v6=" + dns2v6 + ";" + expires + ";path=/; SameSite=Strict; Secure";
document.cookie = "serverUrl=" + serverUrl + ";" + expires + ";path=/; SameSite=Strict; Secure";
window.location.href = "/tool.html"
}

View file

@ -1,3 +1,30 @@
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
function deleteAllCookies() {
var cookies = document.cookie.split(";");
for (var i = 0; i < cookies.length; i++) {
var cookie = cookies[i];
var eqPos = cookie.indexOf("=");
var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT";
}
}
function getRegDNS() {
var dns1v4 = document.getElementById("dns1v4").value;
var dns2v4 = document.getElementById("dns2v4").value;
@ -103,6 +130,8 @@ function saveDynamicDataToFile() {
var blob = new Blob([fileString], { type: "text/plain;charset=utf-8" });
deleteAllCookies();
saveAs(blob, "dns.mobileconfig");
}
@ -124,158 +153,15 @@ function loadPremade() {
var dns2v6 = document.getElementById("dns2v6");
var serverUrl = document.getElementById("serverUrl");
switch(document.getElementById("premades").value) {
case "adguard-https":
provName.value = "AdGuard";
provName.value = getCookie("provName");
if (getCookie("doh") == true) {
checkDoH.checked = true;
dns1v4.value = "94.140.14.14";
dns2v4.value = "94.140.15.15";
dns1v6.value = "2a10:50c0::ad1:ff";
dns2v6.value = "2a10:50c0::ad2:ff";
serverUrl.value = "https://dns.adguard.com/dns-query";
break;
case "alibaba-https":
provName.value = "Alibaba";
checkDoH.checked = true;
dns1v4.value = "223.5.5.5";
dns2v4.value = "223.6.6.6";
dns1v6.value = "2400:3200::1";
dns2v6.value = "2400:3200:baba::1";
serverUrl.value = "https://dns.alidns.com/dns-query";
break;
case "applied-privacy-https":
provName.value = "Applied Privacy";
checkDoH.checked = true;
dns1v4.value = "146.255.56.98";
dns2v4.value = "";
dns1v6.value = "2a02:1b8:10:234::2";
dns2v6.value = "";
serverUrl.value = "https://doh.applied-privacy.net/query";
break;
case "applied-privacy-tls":
provName.value = "Applied Privacy";
} else if (getCookie("doh") == false) {
checkDoT.checked = true;
dns1v4.value = "146.255.56.98";
dns2v4.value = "";
dns1v6.value = "2a02:1b8:10:234::2";
dns2v6.value = "";
serverUrl.value = "dot1.applied-privacy.net";
break;
case "cloudflare-https":
provName.value = "Cloudflare";
checkDoH.checked = true;
dns1v4.value = "1.1.1.1";
dns2v4.value = "1.0.0.1";
dns1v6.value = "2606:4700:4700::1111";
dns2v6.value = "2606:4700:4700::1001";
serverUrl.value = "https://cloudflare-dns.com/dns-query";
break;
case "cloudflare-tls":
provName.value = "Cloudflare";
checkDoT.checked = true;
dns1v4.value = "1.1.1.1";
dns2v4.value = "1.0.0.1";
dns1v6.value = "2606:4700:4700::1111";
dns2v6.value = "2606:4700:4700::1001";
serverUrl.value = "cloudflare-dns.com";
break;
case "cloudflare-security-https":
provName.value = "Cloudflare Security";
checkDoH.checked = true;
dns1v4.value = "1.1.1.2";
dns2v4.value = "1.0.0.2";
dns1v6.value = "2606:4700:4700::1112";
dns2v6.value = "2606:4700:4700::1002";
serverUrl.value = "https://security.cloudflare-dns.com/dns-query";
break;
case "cloudflare-security-tls":
provName.value = "Cloudflare Security";
checkDoT.checked = true;
dns1v4.value = "1.1.1.2";
dns2v4.value = "1.0.0.2";
dns1v6.value = "2606:4700:4700::1112";
dns2v6.value = "2606:4700:4700::1002";
serverUrl.value = "security.cloudflare-dns.com";
break;
case "cloudflare-family-https":
provName.value = "Cloudflare Family";
checkDoH.checked = true;
dns1v4.value = "1.1.1.3";
dns2v4.value = "1.0.0.3";
dns1v6.value = "2606:4700:4700::1113";
dns2v6.value = "2606:4700:4700::1003";
serverUrl.value = "https://family.cloudflare-dns.com/dns-query";
break;
case "cloudflare-family-tls":
provName.value = "Cloudflare Family";
checkDoT.checked = true;
dns1v4.value = "1.1.1.3";
dns2v4.value = "1.0.0.3";
dns1v6.value = "2606:4700:4700::1113";
dns2v6.value = "2606:4700:4700::1003";
serverUrl.value = "family.cloudflare-dns.com";
break;
case "dnspod-https":
provName.value = "DNSPOD";
checkDoH.checked = true;
dns1v4.value = "162.14.21.56";
dns2v4.value = "162.14.21.178";
dns1v6.value = "";
dns2v6.value = "";
serverUrl.value = "https://doh.pub/dns-query";
break;
case "google-https":
provName.value = "Google";
checkDoH.checked = true;
dns1v4.value = "8.8.8.8";
dns2v4.value = "8.8.4.4";
dns1v6.value = "2001:4860:4860::8888";
dns2v6.value = "2001:4860:4860::8844";
serverUrl.value = "https://dns.google/dns-query";
break;
case "google-tls":
provName.value = "Google";
checkDoT.checked = true;
dns1v4.value = "8.8.8.8";
dns2v4.value = "8.8.4.4";
dns1v6.value = "2001:4860:4860::8888";
dns2v6.value = "2001:4860:4860::8844";
serverUrl.value = "dns.google";
break;
case "opendns-https":
provName.value = "OpenDNS";
checkDoH.checked = true;
dns1v4.value = "208.67.220.220";
dns2v4.value = "208.67.222.222";
dns1v6.value = "2620:119:35::35";
dns2v6.value = "2620:119:53::53";
serverUrl.value = "https://doh.opendns.com/dns-query";
break;
case "quad9-https":
provName.value = "";
checkDoH.checked = true;
dns1v4.value = "9.9.9.9";
dns2v4.value = "149.112.112.112";
dns1v6.value = "2620:fe::fe";
dns2v6.value = "2620:fe::9";
serverUrl.value = "https://dns.quad9.net/dns-query";
break;
case "quad9-tls":
provName.value = "";
checkDoT.checked = true;
dns1v4.value = "9.9.9.9";
dns2v4.value = "149.112.112.112";
dns1v6.value = "2620:fe::fe";
dns2v6.value = "2620:fe::9";
serverUrl.value = "dns.quad9.net";
break;
default:
provName.value = "";
checkDoH.checked = true;
dns1v4.value = "";
dns2v4.value = "";
dns1v6.value = "";
dns2v6.value = "";
serverUrl.value = "";
}
dns1v4.value = getCookie("dns1v4");
dns2v4.value = getCookie("dns2v4");
dns1v6.value = getCookie("dns1v6");
dns2v6.value = getCookie("dns2v6");
serverUrl.value = getCookie("serverUrl");
}

38
legal.html Normal file
View file

@ -0,0 +1,38 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DNS Profile Creator</title>
<link rel="stylesheet" href="css/w3.css">
<link rel="stylesheet" href="css/form.css">
</head>
<body class="w3-container">
<h1>Secure DNS profile creator</h1>
<h2>For iOS 14 or later and macOS Big Sur or later</h2>
<div class="w3-bar w3-border w3-light-grey">
<a href="/index.html" class="w3-bar-item w3-button">About</a>
<a href="/tool.html" class="w3-bar-item w3-button">Tool</a>
<a href="/premades.html" class="w3-bar-item w3-button">Pre-made profiles</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-black">GitHub</a>
<a href="/legal.html" class="w3-bar-item w3-button w3-right w3-green">Legal</a>
</div>
<br>
<h3>Licenses &amp; Thanks</h3>
<ul>
<li>Eli Grey: <a href="https://github.com/eligrey/FileSaver.js" target="_blank">FileSaver.js</a>, <a href="https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md">MIT License</a></li>
<li>uuidjs: <a href="https://github.com/uuidjs/uuid">UUID JavaScript library</a>, <a href="https://github.com/uuidjs/uuid/blob/master/LICENSE.md">MIT License</a></li>
<li>Paul Miller: <a href="https://github.com/paulmillr/encrypted-dns">encrypted-dns</a> (reference), <a href="https://github.com/paulmillr/encrypted-dns/blob/master/LICENSE">The Unlicense</a></li>
<li>w3schools.com: <a href="https://www.w3schools.com/w3css/">w3.css</a>, Public Domain</li>
</ul>
<h3>Privacy</h3>
<p>This website (<a href="https://dns.notjakob.com")>https://dns.notjakob.com</a>) uses cookies to operate.</p>
<p>A technical cookie by Cloudflare is created. This is necessary for the security features and cannot be disabled. It cannot be used to personally identify visitors. Read more about it <a href="https://support.cloudflare.com/hc/en-us/articles/200170156-Understanding-the-Cloudflare-Cookies#12345682">here</a>.</p>
<p>Furthermore, this website uses cookies to import premade configuration profiles. These cookies do not contain any personal information and cannot be used to personally identify visitors. <br>
These cookies expire after one hour or after downloading the profile.</p>
<p>This website does not collect any personal data and does not use ads.</p>
</body>
</html>

165
premades.html Normal file
View file

@ -0,0 +1,165 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DNS Profile Creator</title>
<link rel="stylesheet" href="css/w3.css">
<link rel="stylesheet" href="css/form.css">
<script src="js/listPage.js"></script>
</head>
<body class="w3-container">
<h1>Secure DNS profile creator</h1>
<h2>For iOS 14 or later and macOS Big Sur or later</h2>
<div class="w3-bar w3-border w3-light-grey">
<a href="/index.html" class="w3-bar-item w3-button">About</a>
<a href="/tool.html" class="w3-bar-item w3-button">Tool</a>
<a href="/premades.html" class="w3-bar-item w3-button w3-green">Pre-made profiles</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-black">GitHub</a>
<a href="/legal.html" class="w3-bar-item w3-button w3-right">Legal</a>
</div>
<br>
<h3>Submit a new configuration</h3>
<p>If you want to submit a new configuration to include here, please submit all necessary data using <a href="https://forms.gle/BdMc2abzpNGpRLJ46" target="_blank">this form</a>.</p>
<h3>Pre-made configurations</h3>
<button onclick="accToggle('adguard')" class="w3-button w3-block w3-left-align w3-teal">AdGuard</button>
<div id="adguard" class="w3-hide">
<p><a href="https://adguard.com/en/adguard-dns/overview.html" target="_blank">Homepage</a><br>
Logging: <a href="https://adguard.com/en/privacy/dns.html" target="_blank">Some</a><br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<p>Adblocker</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard', true, '94.140.14.14', '94.140.15.15', '2a10:50c0::ad1:ff', '2a10:50c0::ad2:ff', 'https://dns.adguard.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard', false, '94.140.14.14', '94.140.15.15', '2a10:50c0::ad1:ff', '2a10:50c0::ad2:ff', 'dns.adguard.com');">Import DoT</button>
<h3>Family configuration</h3>
<p>Adblocker and adult content blocker</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard Family', true, '94.140.14.15', '94.140.15.16', '2a10:50c0::bad1:ff', '2a10:50c0::bad2:ff', 'https://dns-family.adguard.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard Family', false, '94.140.14.15', '94.140.15.16', '2a10:50c0::bad1:ff', '2a10:50c0::bad2:ff', 'dns-family.adguard.com');">Import DoT</button>
<h3>No-Filter configuration</h3>
<p>Encrypted DNS without any filters</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard No-Filter', true, '94.140.14.140', '94.140.14.141', '2a10:50c0::1:ff', '2a10:50c0::2:ff', 'https://dns-unfiltered.adguard.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('AdGuard No-Filter', false, '94.140.14.140', '94.140.14.141', '2a10:50c0::1:ff', '2a10:50c0::2:ff', 'dns-unfiltered.adguard.com');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('blahdns')" class="w3-button w3-block w3-left-align w3-green">BlahDNS</button>
<div id="blahdns" class="w3-hide">
<p><a href="https://blahdns.com/" target="_blank">Homepage</a><br>
Logging: None<br>
Protocols: DoH, DoT</p>
<h3>Adblock</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Adblock', true, '', '', '', '', 'https://doh1.blahdns.com/dns-query');">Import DoH Server 1</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Adblock', true, '', '', '', '', 'https://doh2.blahdns.com/dns-query');">Import DoH Server 2</button>
<h3>Uncensor</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Uncensor', true, '', '', '', '', 'https://doh1.blahdns.com/uncensor');">Import DoH Server 1</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Uncensor', true, '', '', '', '', 'https://doh2.blahdns.com/uncensor');">Import DoH Server 2</button>
<h3>Location: Japan</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Japan', true, '', '', '', '', 'https://doh-jp.blahdns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Japan', false, '45.32.55.94', '', '2001:19f0:7001:3259:5400:02ff:fe71:0bc9', '', 'dot-jp.blahdns.com');">Import DoT</button>
<h3>Location: Singapore</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Singapore', true, '', '', '', '', 'https://doh-sg.blahdns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Singapore', false, '139.180.141.57', '', '2001:19f0:4400:6bed:5400:2ff:feb1:f9fa', '', 'dot-sg.blahdns.com');">Import DoT</button>
<h3>Location: Germany</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Germany', true, '', '', '', '', 'https://doh-de.blahdns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Germany', false, '45.32.55.94', '', '2001:19f0:7001:3259:5400:02ff:fe71:0bc9', '', 'dot-jp.blahdns.com');">Import DoT</button>
<h3>Location: Finland</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Finland', true, '', '', '', '', 'https://doh-fi.blahdns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('BlahDNS Finland', false, '95.216.212.177', '', '2a01:4f9:c010:43ce::1', '', 'dot-fi.blahdns.com');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('cloudflare')" class="w3-button w3-block w3-left-align w3-teal">Cloudflare</button>
<div id="cloudflare" class="w3-hide">
<p><a href="https://1.1.1.1/dns/" target="_blank">Homepage</a><br>
Logging: <a href="https://developers.cloudflare.com/1.1.1.1/privacy/public-dns-resolver">Some</a><br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare', true, '1.1.1.1', '1.0.0.1', '2606:4700:4700::1111', '2606:4700:4700::1001', 'https://cloudflare-dns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare', false, '1.1.1.1', '1.0.0.1', '2606:4700:4700::1111', '2606:4700:4700::1001', 'cloudflare-dns.com');">Import DoT</button>
<h3>Security configuration</h3>
<p>Blocks known malicious sites.</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare Security', true, '1.1.1.2', '1.0.0.2', '2606:4700:4700::1112', '2606:4700:4700::1002', 'https://security.cloudflare-dns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare Security', false, '1.1.1.2', '1.0.0.2', '2606:4700:4700::1112', '2606:4700:4700::1002', 'security.cloudflare-dns.com');">Import DoT</button>
<h3>Family configuration</h3>
<p>Blocks known malicious and adult sites.</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare Family', true, '1.1.1.3', '1.0.0.3', '2606:4700:4700::1113', '2606:4700:4700::1003', 'https://family.cloudflare-dns.com/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Cloudflare Family', false, '1.1.1.3', '1.0.0.3', '2606:4700:4700::1113', '2606:4700:4700::1003', 'family.cloudflare-dns.com');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('google')" class="w3-button w3-block w3-left-align w3-green">Google</button>
<div id="google" class="w3-hide">
<p><a href="https://developers.google.com/speed/public-dns/" target="_blank">Homepage</a><br>
Logging: <a href="https://developers.google.com/speed/public-dns/privacy">Yes</a><br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Google', true, '8.8.8.8', '8.8.4.4', '2001:4860:4860::8888', '2001:4860:4860::8844', 'https://dns.google/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Google', false, '8.8.8.8', '8.8.4.4', '2001:4860:4860::8888', '2001:4860:4860::8844', 'dns.google');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('libredns')" class="w3-button w3-block w3-left-align w3-teal">LibreDNS</button>
<div id="libredns" class="w3-hide">
<p><a href="https://libredns.gr/" target="_blank">Homepage</a><br>
Logging: No<br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('LibreDNS', true, '', '', '', '', 'https://doh.libredns.gr/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('LibreDNS', false, '116.202.176.26', '', '', '', 'dot.libredns.gr');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('opendns')" class="w3-button w3-block w3-left-align w3-green">OpenDNS</button>
<div id="opendns" class="w3-hide">
<p><a href="https://support.opendns.com/hc/en-us/articles/360038086532-Using-DNS-over-HTTPS-DoH-with-OpenDNS" target="_blank">Homepage</a><br>
Logging: <a href="https://www.cisco.com/c/en/us/about/legal/privacy-full.html">Some</a><br>
Protocols: DoH</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('OpenDNS', true, '208.67.222.222', '208.67.220.220', '2620:119:35::35', '2620:119:53::53', 'https://doh.opendns.com/dns-query');">Import</button>
<h3>Family configuration</h3>
<p>Blocks known adult sites.</p>
<button class="w3-button w3-dark-gray" onclick="createCookie ('OpenDNS Family', true, '208.67.222.123', '208.67.220.123', '2620:119:35::123', '2620:119:53::123 ', 'https://doh.familyshield.opendns.com/dns-query');">Import</button>
</div>
<br>
<button onclick="accToggle('powerdns')" class="w3-button w3-block w3-left-align w3-teal">PowerDNS</button>
<div id="powerdns" class="w3-hide">
<p><a href="https://powerdns.org/" target="_blank">Homepage</a><br>
Logging: No<br>
Protocols: DoH</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('PowerDNS', true, '', '', '', '', 'https://doh.powerdns.org/');">Import</button>
</div>
<br>
<button onclick="accToggle('quad9')" class="w3-button w3-block w3-left-align w3-green">Quad9</button>
<div id="quad9" class="w3-hide">
<p><a href="https://quad9.net/" target="_blank">Homepage</a><br>
Logging: <a href="https://quad9.net/policy/">Some</a><br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Quad9', true, '9.9.9.9', '149.112.112.112', '2620:fe::fe', '2620:fe::9', 'https://dns.quad9.net/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Quad9', false, '9.9.9.9', '149.112.112.112', '2620:fe::fe', '2620:fe::9', 'dns.quad9.net');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('snopyta')" class="w3-button w3-block w3-left-align w3-teal">Snopyta</button>
<div id="snopyta" class="w3-hide">
<p><a href="https://snopyta.org/service/dns/" target="_blank">Homepage</a><br>
Logging: No<br>
Protocols: DoH, DoT</p>
<h3>Default configuration</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Snopyta', true, '', '', '', '', 'https://fi.doh.dns.snopyta.org/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('Snopyta', false, '95.216.24.230', '', '2a01:4f9:2a:1919::9301', '', 'fi.dot.dns.snopyta.org');">Import DoT</button>
</div>
<br>
<button onclick="accToggle('uncensoreddns')" class="w3-button w3-block w3-left-align w3-green">UncensoredDNS</button>
<div id="uncensoreddns" class="w3-hide">
<p><a href="https://blog.uncensoreddns.org/dns-servers/" target="_blank">Homepage</a><br>
Logging: No<br>
Protocols: DoH, DoT</p>
<h3>Anycast</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('UncensoredDNS', true, '91.239.100.100', '', '2001:67c:28a4::', '', 'https://anycast.uncensoreddns.org/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('UncensoredDNS', false, '91.239.100.100', '', '2001:67c:28a4::', '', 'anycast.censurfridns.dk');">Import DoT</button>
<h3>Unicast</h3>
<button class="w3-button w3-dark-gray" onclick="createCookie ('UncensoredDNS', true, '89.233.43.71', '', '2a01:3a0:53:53::', '', 'https://unicast.uncensoreddns.org/dns-query');">Import DoH</button>
<button class="w3-button w3-dark-gray" onclick="createCookie ('UncensoredDNS', false, '89.233.43.71', '', '2a01:3a0:53:53::', '', 'unicast.censurfridns.dk');">Import DoT</button>
</div>
</body>
</html>

View file

@ -10,54 +10,21 @@
<script src="js/uuidv4.min.js"></script>
<script src="js/tool.js"></script>
</head>
<body class="w3-container">
<body class="w3-container" onload="loadPremade()">
<h1>Secure DNS profile creator</h1>
<h2>For iOS 14 or later and macOS Big Sur or later</h2>
<div class="w3-bar w3-border w3-light-grey">
<a href="/" class="w3-bar-item w3-button">About</a>
<a href="/tool.html" class="w3-bar-item w3-button w3-green">Tool</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-dark-grey">GitHub</a>
<a href="/premades.html" class="w3-bar-item w3-button">Pre-made profiles</a>
<a href="https://github.com/fyr77/dns-mobileconfig" class="w3-bar-item w3-button w3-right w3-black">GitHub</a>
<a href="/legal.html" class="w3-bar-item w3-button w3-right">Legal</a>
</div>
<br>
<h4>Choose a pre-configured provider, or enter your own settings:</h4>
<select name="premades" id="premades" onchange="loadPremade()">
<option value="custom">&lt;custom&gt;</option>
<optgroup label="AdGuard">
<option value="adguard-https">AdGuard DoH</option>
</optgroup>
<optgroup label="Alibaba">
<option value="alibaba-https">Alibaba DoH</option>
</optgroup>
<optgroup label="Applied Privacy">
<option value="applied-privacy-https">Applied Privacy DoH</option>
<option value="applied-privacy-tls">Applied Privacy DoT</option>
</optgroup>
<optgroup label="Cloudflare">
<option value="cloudflare-https">Cloudflare DoH</option>
<option value="cloudflare-tls">Cloudflare DoT</option>
<option value="cloudflare-security-https">Cloudflare Malware blocking DoH</option>
<option value="cloudflare-security-tls">Cloudflare Malware blocking DoT</option>
<option value="cloudflare-family-https">Cloudflare Malware &amp; Adult blocking DoH</option>
<option value="cloudflare-family-tls">Cloudflare Malware &amp; Adult blocking DoT</option>
</optgroup>
<optgroup label="DNSPOD">
<option value="dnspod-https">DNSPOD DoH</option>
</optgroup>
<optgroup label="Google">
<option value="google-https">Google DoH</option>
<option value="google-tls">Google DoT</option>
</optgroup>
<optgroup label="OpenDNS">
<option value="opendns-https">OpenDNS DoH</option>
</optgroup>
<optgroup label="Quad9">
<option value="quad9-https">Quad9 DoH</option>
<option value="quad9-tls">Quad9 DoT</option>
</optgroup>
</select>
<h4><a href="/premades.html">Choose a pre-configured provider</a>, or enter your own settings:</h4>
<form action="javascript:saveDynamicDataToFile()">
<p>