Compare commits

..

7 commits

Author SHA1 Message Date
Philipp Böhm
4c573c78f0 Updated config.yml 2021-02-20 16:37:33 +01:00
Philipp Böhm
53f68940d5 Updated config.yml 2021-02-20 16:11:01 +01:00
Philipp Böhm
8b714f3e64 Updated config.yml 2021-02-20 15:40:48 +01:00
Philipp Böhm
f9c1c11c56 Updated config.yml 2021-02-20 14:06:35 +01:00
Philipp Böhm
02c22b305f Updated config.yml 2021-02-20 14:01:30 +01:00
Philipp Böhm
909c93114f Add .circleci/config.yml 2021-02-20 13:51:22 +01:00
Philipp Böhm
c38ac71b93 Add .circleci/config.yml 2021-02-20 13:49:29 +01:00
6 changed files with 23 additions and 35 deletions

View file

@ -29,7 +29,6 @@ jobs:
- docker/build: - docker/build:
image: pboehm/ddns image: pboehm/ddns
dockerfile: docker/ddns/Dockerfile dockerfile: docker/ddns/Dockerfile
tag: $CIRCLE_SHA1,latest
- docker/push: - docker/push:
image: pboehm/ddns image: pboehm/ddns
tag: $CIRCLE_SHA1,latest tag: $CIRCLE_SHA1,latest

View file

@ -1,28 +1,23 @@
# `ddns` - Dynamic DNS # `ddns` - Dynamic DNS
[![CircleCI](https://img.shields.io/circleci/build/github/pboehm/ddns?style=flat)](https://circleci.com/github/pboehm/ddns) A self-hosted Dynamic DNS solution similar to DynDNS or NO-IP.
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/pboehm/ddns/latest?logo=Docker)](https://hub.docker.com/r/pboehm/ddns)
[![Docker Pulls](https://img.shields.io/docker/pulls/pboehm/ddns?logo=Docker)](https://hub.docker.com/r/pboehm/ddns)
[![GitHub](https://img.shields.io/github/license/pboehm/ddns?style=flat)](https://github.com/pboehm/ddns)
You can use a hosted version at [ddns.pboehm.de](https://ddns.pboehm.de/) where you can register a
host under the `d.pboehm.de` domain (e.g `test.d.pboehm.de`).
A self-hosted Dynamic DNS solution similar to DynDNS or NO-IP based on the **Recent Changes**
[PowerDNS Remote Backend](https://doc.powerdns.com/md/authoritative/backend-remote/).
<img src="screenshot.png" alt="screenshot" width="500"/> `ddns` has been fully restructured and now uses the PowerDNS
[Remote Backend](https://doc.powerdns.com/md/authoritative/backend-remote/) instead
of the [Pipe Backend](https://doc.powerdns.com/md/authoritative/backend-pipe/), which
is far easier to deploy. It now serves both the frontend and the backend over HTTP using different ports.
The old `ddns` source code can be found at the [legacy](https://github.com/pboehm/ddns/tree/legacy) tag.
## ⚠️⚠️⚠️ Note regarding hosted version at `ddns.pboehm.de` **Security Notice**
The hosted `ddns` service with custom hosts under the `d.pboehm.de` domain (e.g `test.d.pboehm.de`) is not available Please make sure that you use the latest available version of `ddns`, as it contains an important security
anymore! I did not use this service for quite some time and recently there were some issues which resulted in downtime fix for [an issue introduced in the rework](https://github.com/pboehm/ddns/issues/8).
and expiration of all registered hosts.
### Alternatives
There is at least one other hosted version of `pboehm/ddns` that
[can be found via Google](https://www.google.com/search?q=pboehm%2Fddns+%22DDNS+is+a+project+that+lets+you+host+a+Dynamic+DNS+Service%2C+similar+to+DynDNS%2FNO-IP%2C+on+your+own+servers.%22)
or you can host it yourself as described below.
## How can I update my IP if it changes? ## How can I update my IP if it changes?

View file

@ -51,13 +51,7 @@ func (b *Backend) Run() error {
r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) { r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) {
c.JSON(200, gin.H{ c.JSON(200, gin.H{
"result": []string{"0"}, "result": false,
})
})
r.GET("/dnsapi/getAllDomainMetadata/:name", func(c *gin.Context) {
c.JSON(200, gin.H{
"result": gin.H{"PRESIGNED": []string{"0"}},
}) })
}) })

View file

@ -1,7 +1,7 @@
FROM buildpack-deps:bookworm-scm FROM buildpack-deps:stretch-scm
# the setup procedure according to https://repo.powerdns.com/ (Debian 12 Bookworm) # the setup procedure according to https://repo.powerdns.com/ (Debian 9 Stretch)
RUN echo "deb [arch=amd64] http://repo.powerdns.com/debian bookworm-auth-49 main" > /etc/apt/sources.list.d/pdns.list \ RUN echo "deb [arch=amd64] http://repo.powerdns.com/debian stretch-auth-43 main" > /etc/apt/sources.list.d/pdns.list \
&& echo "Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n" >> /etc/apt/preferences.d/pdns \ && echo "Package: pdns-*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n" >> /etc/apt/preferences.d/pdns \
&& curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - \ && curl https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - \
&& apt-get -y update \ && apt-get -y update \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB