{
    "version": "9.16.50",
    "description": "Versatile, classic, complete name server software.",
    "homepage": "https://www.isc.org/bind/",
    "license": "MPL-2.0",
    "notes": "The 9.16 branch is the last stable Windows release of BIND. It is recommended to use the latest stable version through WSL instead. Please read the following for more info: https://www.isc.org/blogs/bind-update-summer2021/",
    "suggest": {
        "vcredist": "extras/vcredist2022"
    },
    "architecture": {
        "64bit": {
            "url": "https://downloads.isc.org/isc/bind9/9.16.50/BIND9.16.50.x64.zip",
            "hash": "658c6f02d445d4e751d0cfc45a1fa4c89cddd3677cd1c4c3d4743c323022766f"
        }
    },
    "installer": {
        "script": [
            "Remove-Item \"$dir\\BINDInstall.exe\", \"$dir\\vcredist_x*.exe\"",
            "New-Item \"$dir\\bin\" -ItemType 'Directory' -Force | Out-Null",
            "Move-Item \"$dir\\*.exe\", \"$dir\\*.dll\" \"$dir\\bin\" -Force",
            "Remove-Item \"$dir\\*\" -Exclude 'bin'"
        ]
    },
    "bin": [
        "bin\\arpaname.exe",
        "bin\\ddns-confgen.exe",
        "bin\\delv.exe",
        "bin\\dig.exe",
        "bin\\dnssec-cds.exe",
        "bin\\dnssec-dsfromkey.exe",
        "bin\\dnssec-importkey.exe",
        "bin\\dnssec-keyfromlabel.exe",
        "bin\\dnssec-keygen.exe",
        "bin\\dnssec-revoke.exe",
        "bin\\dnssec-settime.exe",
        "bin\\dnssec-signzone.exe",
        "bin\\dnssec-verify.exe",
        "bin\\host.exe",
        "bin\\mdig.exe",
        "bin\\named-checkconf.exe",
        "bin\\named-checkzone.exe",
        "bin\\named-compilezone.exe",
        "bin\\named-journalprint.exe",
        "bin\\named-rrchecker.exe",
        "bin\\named.exe",
        "bin\\nsec3hash.exe",
        [
            "bin\\nslookup.exe",
            "nslookup-bind"
        ],
        "bin\\nsupdate.exe",
        "bin\\rndc-confgen.exe",
        "bin\\rndc.exe",
        "bin\\tsig-keygen.exe"
    ],
    "persist": "etc"
}
