Sign inSign up

chriskuba/dynv6-client

By chriskuba

•Updated about 4 years ago

Image
1

2.2K

chriskuba/dynv6-client repository overview

⁠dynvp6-client

Field of use: IPV6 only address (with/out a public IPV4 address) with dynv6⁠.

This simple alpine docker container updates the ipv6 address of a dynv6 zone.

Its recommended to use a static Interface-ID (EUI-64-Identifier) if address is used for services and one or many ports must be forwared throug a firewall or router (see /etc/dhcpcd.conf slaac hwaddr).

The architectures supported by this image are:

ArchitectureTag
x86-64amd64-latest
arm64arm64v8-latest
armhfarm32v7-latest

⁠Usage

docker image: https://hub.docker.com/r/chriskuba/dynv6-client⁠

⁠docker-compose
---
version: "0.0.1"
service:
  dynv6-client:
    image: chriskuba/dynv6-client
    container-name: dynv6-client
    environment:
      - ZONE=myzone.dynv6.net
      - TOKEN=mysecuretoken
      - SLEEP=500 #optional
      - INTERFACE=eth0 #optional
      - GREP="scope global dynamic" #optional
    restart: always
    network_mode: host
⁠docker-cli
docker run -d \
  --name=dynv6-client \
  -e ZONE=myzone.dynv6.net \
  -e TOKEN=mysecuretoken \
  -e SLEEP=500 `#optional` \
  -e INTERFACE=eth0 `#optional` \
  -e GREP="scope global dynamic" `#optional` \
  --restart always
  --network host
  chriskuba/dynv6-client
⁠Parameters
ParameterFunction
-e ZONEzone of dynvpn to update - eg. myzone.dynv6.net
-e TOKENsecure token of your dynv6 account
-e SLEEP=500seconds between to updates
-e INTERFACE=eth0interface to read ip from
-e GREP="scope global dynamic"unique string to identify the correct ipv6 (if multiple exists)

⁠Known Issues

The alpine docker image is fix to the last 1.12 version because of an dns resolving bug in newer version. https://github.com/alpinelinux/docker-alpine/issues/155⁠ https://github.com/nginxinc/docker-nginx/issues/508⁠

Tag summary

Content type

Image

Digest

Size

7.1 MB

Last updated

about 4 years ago

docker pull chriskuba/dynv6-client