Skip to content

Shell script for updating current IP using yandex.connect

License

Notifications You must be signed in to change notification settings

DiDimus/yandex-connect-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

yandex-connect-dns

Shell script for updating current IP using yandex.connect

Requirements

bash

curl

jq

How to use?

  1. Clone or copy yandex-connect-dns.sh
git clone https://github.com/DiDimus/yandex-connect-dns
  1. Make yandex-connect-dns.sh to execute.
chmod +x yandex-connect-dns.sh
  1. Create settings.ini with the following contents:
example.com:123456789ABCDEF0000000000000000000000000000000000000

where example.com - your domain, 123456789ABC... - API token. Get it here - https://pddimp.yandex.ru/api2/admin/get_token

  1. Launch script or create a cron job like this
0,15,30,45 * * * * bash yandex-connect-dns.sh

Now, you are done.

About

Shell script for updating current IP using yandex.connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages