gdns

command module
v0.0.0-...-db144b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2023 License: BSD-3-Clause Imports: 21 Imported by: 0

README

GitHub Actions CI Go Report Card

Overview

gdns sets up router7 dyndns entries for transparent proxies to make gokrazy processes available under a name instead of a port number.

In other words, when installing the github.com/gokrazy/timestamps package on your gokrazy instance, you will be able to access it at http://timestamps.gokrazy/ in your browser.

Usage

First, configure the fdf5:3606:2a21::/64 IPv6 network which gdns uses:

router7# mkdir /perm/radvd
router7# echo '[{"IP":"fdf5:3606:2a21::","Mask":"//////////8AAAAAAAAAAA=="}]' > /perm/radvd/prefixes.json
router7# killall radvd

Then, add gdns to your gokrazy instance:

% gok add github.com/gokrazy/gdns
% gok update
% sleep 20
% curl http://timestamps.gokrazy/metrics

Documentation

Overview

Command gdns sets up router7 dyndns entries for transparent proxies to make gokrazy processes available under a name instead of a port number.

In other words, when installing the github.com/gokrazy/timestamps package on your gokrazy instance, you will be able to access it at http://timestamps.gokrazy/ in your browser.

E.g.:

% gokr-packer -update=yes -hostname=gokrazy github.com/gokrazy/timestamps github.com/gokrazy/gdns
router7# mkdir /perm/radvd
router7# echo '[{"IP":"fdf5:3606:2a21::","Mask":"//////////8AAAAAAAAAAA=="}]' > /perm/radvd/prefixes.json
router7# killall radvd
% curl http://timestamps.gokrazy/metrics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL