Skip to content

Commit 9210a8b

Browse files
Create dynamic-dns.md
1 parent 48c6d43 commit 9210a8b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

dynamic-dns.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Configure Dynamic DNS
2+
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.
28+
29+
30+
Source: https://help.ui.com/hc/en-us/articles/204976324-EdgeRouter-Custom-Dynamic-DNS

0 commit comments

Comments
 (0)