Bind & DDNS & PowerShell

1st Official Post
  • External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Code
    Den Key erstellt Ihr euch über SSH mit folgendem Befehl
    Achtung: Domainname natürlich mit eurem ersetzen!
    
    ddns-confgen -a hmac-sha512 -z Domainname


    Example: Named.conf

    I edited some things and replaced them with EDITED - so be careful

    What is actually just added is the following:

    Code
    key "ddns-key.dyndns.datateam.center" {
            algorithm hmac-sha512;
            secret "Euer generierter Key";
    };
    
    Unter der Zone kommt folgendes:    
        update-policy {
              grant ddns-key.dyndns.datateam.center zonesub ANY;
        };

    You will receive exactly what is entered when you generate your key.

    Example: Key File

    Code
    key "ddns-key.dyndns.datateam.center" {
            algorithm hmac-sha512;
            secret "Euer generierter Key";
    };

    PowerShell Script

    Here I created the dyndns directory on C: on a Windows computer.

    Below I copied the DLL files and nsupdate.exe from the ZIP file from the Bind DNS server.

    dyndns.datateam.center.key is the file with the generated key. You can name it whatever you want, you just have to adapt the PowerShell file 🙂

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!