Skip to content

Instantly share code, notes, and snippets.

@felipealfonsog
Last active May 3, 2024 03:58
Show Gist options
  • Save felipealfonsog/a544ac56fcbc225c906434419f758d76 to your computer and use it in GitHub Desktop.
Save felipealfonsog/a544ac56fcbc225c906434419f758d76 to your computer and use it in GitHub Desktop.
This Bash script updates a Dynamic DNS hostname using the 'noip-duc' command with preset parameters.
#!/bin/bash
# By Computer Science Engineer: Felipe Alfonso González
# Github.com/felipealfonsog
# Define command parameters
hostname="server.ddns.net"
username="......"
password="......"
# Execute the command
noip-duc -g $hostname --username $username --password $password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment