britannic / EdgeMax-RFC2136-DDNS

Adds EdgeOS RFC2136 and Cloudflare DDNS extensions to configuration
Other
6 stars 0 forks source link

UBNT EdgeMax Integrated CLI RFC 2136 support for Edgerouters and UniFi Gateways

Follow the conversation @ community.ubnt.com

Donations and Sponsorship

Please show your thanks by donating to the project using Square Cash or PayPal

Donate Donate Donate Donate Donate Donate Donate Donate

Donate Donate Donate Donate Donate Donate Donate Donate

We greatly appreciate any and all donations - Thank you! Funds go to maintaining development servers and networks.

NOTE: THIS IS NOT OFFICIAL UBIQUITI SOFTWARE AND THEREFORE NOT SUPPORTED OR ENDORSED BY Ubiquiti Networks®

Overview

Adds EdgeOS DDNS templates for Cloudflare and RFC2136

Copyright (C) 2019 by Helm Rock Consulting

Licenses

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Features

Compatibility

Type Model From Version To Version
EdgeRouter ERLite 3-Port 1.7.0 1.10.5
EdgeRouter ERLite 5-Port 1.7.0 1.10.5
EdgeRouter ER-X 5-Port 1.7.0 1.10.5
UniFi Gateway USG 3 4.4.12 4.4.22.5086045
UniFi Gateway USG Pro 4.4.12 4.4.22.5086045

Dependencies

Installation

configure
set system package repository wheezy components main
set system package repository wheezy distribution wheezy
set system package repository wheezy url 'http://archive.debian.org/debian'
commit;save;exit
sudo apt-get update
sudo apt-get install dnsutils
curl -O https://github.com/britannic/EdgeMax-RFC2136-DDNS/raw/master/edgeos-rfc2136-ddns_1.3.0_all.deb
sudo dpkg -i edgeos-rfc2136-ddns_1.3.0_all.deb

Configuration

configure
set system package repository wheezy components main
set system package repository wheezy distribution wheezy
set system package repository wheezy url 'http://archive.debian.org/debian'
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com key /config/auth/keys/testsvr.private
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com login /usr/bin/nsupdate
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com record testsvr.top.dog.com
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com server ns.top.dog.com
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com ttl 3600
set service dns dynamic interface eth1 rfc2136 testsvr.top.dog.com zone top.dog.com
set service dns dynamic interface eth1 rfc2136 test.top.dog.com key /config/auth/keys/test.private
set service dns dynamic interface eth1 rfc2136 test.top.dog.com login /usr/bin/nsupdate
set service dns dynamic interface eth1 rfc2136 test.top.dog.com record test.top.dog.com
set service dns dynamic interface eth1 rfc2136 test.top.dog.com server ns.top.dog.com
set service dns dynamic interface eth1 rfc2136 test.top.dog.com ttl 3600
set service dns dynamic interface eth1 rfc2136 test.top.dog.com zone top.dog.com
commit;save;exit
configure
nutter@myrouter# show system package repository wheezy
 repository wheezy {
     components main
     distribution wheezy
     url http://archive.debian.org/debian
 }

nutter@myrouter# show service dns dynamic interface eth1 rfc2136
 rfc2136 test2.top.dog.com {
     key /config/auth/keys/test.private
     login /usr/bin/nsupdate
     record test.top.dog.com
     server ns.top.dog.com
     ttl 3600
     zone top.dog.com
 }
 rfc2136 testsvr.top.dog.com {
     key /config/auth/keys/testsvr.private
     login /usr/bin/nsupdate
     record testsvr.top.dog.com
     server ns.top.dog.com
     ttl 3600
     zone top.dog.com
 }