Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
318 B
1
Indexable
Never
#OBTENEMOS LA IP LOCAL DE LA MAQUINA
localIp=$(ip addr show enp0s3 | awk '/inet / {split($2, a, "/"); print a[1]}')

#ACTUALIZAMOS LA IP PARA EL DYNAMIC DOMAIN:
echo url="https://www.duckdns.org/update?domains=davidgb8246&token=26e5f736-8dd7-4e2c-97c1-92f659d9cd8d&ip=$localIp" | curl -k -o ~/duckdns/duck.log -K -
Leave a Comment