Task: Get Computer's Fully Qualified Domain Name (FQDN) in Python
Task: Get Computer's Fully Qualified Domain Name (FQDN) in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that retrieves the computer's fully qualified domain name (FQDN) — not just the short hostname, but the complete network domain name (e.g…
The task
Write a Python script that retrieves the computer's fully qualified domain name (FQDN) — not just the short hostname, but the complete network domain name (e.g., `myhost.subdomain.domain.com`).
Part of PrimeIntellect/Terminal-Lego-15k.