Skip to content

janxb/hetzner-cloud-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script allows you to resolve your Hetzner Cloud server names via DNS.

Installation and Usage:

  1. Clone this repository
  2. Run 'sudo add-apt-repository ppa:ondrej/php' to get access to required (newer) PHP versions
  3. Run 'sudo apt install composer php-zip php-curl' to install binary dependencies
  4. Run 'composer install' to install PHP dependencies
  5. Run 'sudo php index.php --bind=0.0.0.0 --apikey=XXXXXXXXXXXXX'

Hint: Replace XXX with an API key you created earlier using the Hetzner Cloud Console.

How IPv6 addresses are resolved:
IPv6 addresses are resolved using the rDNS configuration, but only if the hostname matches the query. If no rDNS is configured, the default IPv6 address ending in '::1' is returned.

What about floating IP configurations?
In current state, floating IPs are not taken into account. So your DNS query will never return a floating IP. If you need this feature, feel free to create an issue on GitHub.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages