You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tutorial explains how to configure dynamic dns. This can be usefull if your ISP only gives you a dynamic IP address (and not a static one) but you still want to access your edgerouter (e.g. connect via VPN).
3
+
Prerequisite for this tutoiral is a valid domain that you own (e.g. example.com) and an free account at [cloudflare](https://www.cloudflare.com/).
4
+
5
+
Note you have to create an *A Record* in your cloudflare dashboard beforehand. E. g. `router.example.com A 1.2.3.4`.
6
+
7
+
Please replace
8
+
- router.example.com -> with your subdomain
9
+
-info@example.com -> with your cloudflare e-mail address
10
+
- your-cloudflare-api-key -> with you cloudflare global API Key. For help look [here](https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys) (note this is not your cloudflare login password)
11
+
- example.com -> with your domain
12
+
13
+
```
14
+
configure
15
+
set service dns dynamic interface pppoe0 service custom-cloudflare host-name router.example.com
16
+
set service dns dynamic interface pppoe0 service custom-cloudflare login info@example.com
17
+
set service dns dynamic interface pppoe0 service custom-cloudflare password <your-cloudflare-api-key>
18
+
set service dns dynamic interface pppoe0 service custom-cloudflare protocol cloudflare
19
+
set service dns dynamic interface pppoe0 service custom-cloudflare options zone=example.com
20
+
commit
21
+
save
22
+
23
+
```
24
+
25
+
## Verify the configuration
26
+
With `show dns dynamic status` you can list the status of the dynamic dns confguration.
27
+
When you `ping router.example.com` the IP address of your router should appear.
0 commit comments