forked from willswire/unifi-ddns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (61 loc) · 2.92 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Will Walker">
<title>UniFi-Cloudflare DDNS</title>
<link rel="canonical" href="https://unificloudflareddns.com/">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌩</text></svg>">
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<style>
body {
display: flex;
align-items: center;
justify-content: center;
background-color: #141414;
}
</style>
</head>
<body>
<main class="form">
<div class="text-center">
<h1 class="display-2 mb-4">🌩</h1>
<h2 class="h2 mx-3 fw-bold text-light ">UniFi-Cloudflare</h2>
<h5 class="h5 mx-3 fw-normal text-light font-weight-light">Dynamic DNS</h5>
</div>
<div class="container my-5 py-3 bg-light rounded">
<p class="mw-50">
<dt>Cloudflare DDNS for UniFi OS</dt>
<p>Have a UniFi Dream Machine Pro (UDM-Pro)?<br>Want to update your Cloudflare DNS
records when your public IP address changes?<br>Unfortunately, UniFi does not come pre-configured to
support Cloudflare for DDNS providers.<br><strong><i>...but there's a solution!</i></strong></p>
<dt>Configuring UniFi OS</dt>
<ol>
<li>Log on to your UniFi OS Controller</li>
<li>Navigate to <kbd>Settings > Internet > WAN</kbd> and scroll down to <kbd>Dynamic DNS</kbd></li>
<li>Click <kbd>Create New Dynamic DNS</kbd> and enter the following information:</li>
<ul>
<li>Service: <code>dyndns</code></li>
<li>Hostname: <code>your subdomain/hostname record</code></li>
<li>Username: <code>your domain name</code></li>
<li>Password: <code>your Cloudflare API Token</code></li>
<li>Server: <code>unificloudflareddns.com/update?ip=%i&hostname=</code></li>
</ul>
</ol>
<p>
<b>Important Note!</b><br>
On UniFi devices older than the UDM, the Server value should be configured as:<br>
<code>unificloudflareddns.com</code>
</p>
</p>
</div>
<div class="text-center">
<p class="mt-5 mb-3 text-muted">Read more on <a
href="https://github.com/willswire/unifi-cloudflare-ddns">GitHub</a></p>
</div>
</main>
</body>
</html>