Orange-Cyberdefense / GOAD

game of active directory
GNU General Public License v3.0
5.12k stars 715 forks source link

fatal: [dc02]: FAILED! => {"changed": true, "cmd": "dnscmd #157

Closed daviosardinha closed 7 months ago

daviosardinha commented 10 months ago

Hi there, I'm running the script ./goad.sh -t install -l GOAD -p vmware -m docker and I get the following error. I've check this on issues and I haven't found anything related.

regards

TASK [child_domain : enable the Ethernet1 interface (local) for DNS client requests] **** fatal: [dc02]: FAILED! => {"changed": true, "cmd": "dnscmd . /resetlistenaddresses 192.168.56.11", "delta": "0:00:00.296992", "end": "2023-11-27 14:48:43.487922", "msg": "non-zero return code", "rc": 1, "start": "2023-11-27 14:48:43.190930", "stderr": "dnscmd : The term 'dnscmd' is not recognized as the name of a cmdlet, function, script file, or operable program. \r\nCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\nAt line:1 char:65\r\n+ ... ::InputEncoding = New-Object Text.UTF8Encoding $false; dnscmd . /rese ...\r\n+ ~~\r\n + CategoryInfo : ObjectNotFound: (dnscmd:String) [], CommandNotFoundException\r\n + FullyQualifiedErrorId : CommandNotFoundException", "stderr_lines": ["dnscmd : The term 'dnscmd' is not recognized as the name of a cmdlet, function, script file, or operable program. ", "Check the spelling of the name, or if a path was included, verify that the path is correct and try again.", "At line:1 char:65", "+ ... ::InputEncoding = New-Object Text.UTF8Encoding $false; dnscmd . /rese ...", "+ ~~", " + CategoryInfo : ObjectNotFound: (dnscmd:String) [], CommandNotFoundException", " + FullyQualifiedErrorId : CommandNotFoundException"], "stdout": "", "stdout_lines": []} ``

daviosardinha commented 10 months ago

2023-11-27_14-56

tititototutu commented 9 months ago

Hello,

To fix the "dnscmd.exe not found" issue:

Enjoy

daviosardinha commented 7 months ago

Thank you. that fixed my issue.