29.08.2026 20:42, Klemens Nanni пишет: > Here's one of my tools based on the new net/py-yandexcloud sent to ports@: > > $ man -h yc-dyndns > yc-dyndns [-dhn] [-k key] [-r record] [-z zone] folder [inteface ...]
New 0.3 with simpler usage, fixes, added EXAMPLES and unveil (a few "r" paths):
yc-dyndns [-dhn] [-k key] [-r record] [-z zone] [inteface ...]
The unique folder ID is no longer needed, the zone is searched for in folders
in clouds the given credentials have access to, so besides the JSON key file
downloaded from the web UI during service account creation, no account specific
data is required and `yc-dyndns' without arguments "does the right thing".
EXAMPLES
yc-dyndns is silent unless record data changed:
# ifconfig em0 inet6 2001:db8::1
# ifconfig em0 -inet
$ yc-dyndns
added: 2001:db8::1
deleted: 192.0.2.1
Preview changes for the alias “www”:
$ yc-dyndns -n -r www | jq -c '.replacements[]?'
{"name":"www","type":"AAAA","ttl":"600","data":["2001:db8::2"]}
Periodically synchronise addresses of any interfaces with default routes:
# crontab -l -u _dyndns
~/30 * * * * -s -n yc-dyndns $(ifconfig egress | grep flags= | cut
-s -d: -f1)
>
> Small CLI in Python, intended to be run from cron(1) as unprivileged user;
> it pledges "stdio rpath inet dns" before doing any API calls.
>
> The project is new, so README and DESCR are still sparse.
>
> Feedback? OK? (once the dependency got commited)
All new ports can also be found in jasperla's openbsd-wip repo:
net/py-grpcio
net/py-grpcio-tools
net/py-googleapis-common-protos
net/yc-dyndns
Reattached here.
>
>
> Information for inst:yc-dyndns-0.1
>
> Comment:
> Dynamic DNS client for Yandex Cloud
>
> Description:
> yc-dyndns is a Dynamic DNS client for Yandex Cloud that updates A and AAAA
> records with global IPv4 and IPv6 addresses found on local interfaces.
>
> Maintainer: Klemens Nanni <[email protected]>
>
> WWW: https://codeberg.org/kn/yc-dyndns
yc-dyndns.tgz
Description: application/compressed-tar
py-googleapis-common-protos.tgz
Description: application/compressed-tar
py-grpcio-tools.tgz
Description: application/compressed-tar
py-grpcio.tgz
Description: application/compressed-tar
