{
    "content": [
        {
            "type": "text",
            "text": "# Net::Domain (info)\n\n## NAME\n\nNet::Domain - Attempt to evaluate the current host's internet name and domain\n\n## SYNOPSIS\n\nuse Net::Domain qw(hostname hostfqdn hostdomain domainname);\n\n## DESCRIPTION\n\nUsing various methods attempt to find the Fully Qualified Domain Name\n(FQDN) of the current host. From this determine the host-name and the\nhost-domain.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXPORTS**\n- **KNOWN BUGS**\n- **AUTHOR**\n- **COPYRIGHT**\n- **LICENCE**\n- **VERSION**\n- **DATE**\n- **HISTORY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::Domain",
        "section": "",
        "mode": "info",
        "summary": "Net::Domain - Attempt to evaluate the current host's internet name and domain",
        "synopsis": "use Net::Domain qw(hostname hostfqdn hostdomain domainname);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "EXPORTS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "KNOWN BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "LICENCE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DATE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::Domain - Attempt to evaluate the current host's internet name and\ndomain\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::Domain qw(hostname hostfqdn hostdomain domainname);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Using various methods attempt to find the Fully Qualified Domain Name\n(FQDN) of the current host. From this determine the host-name and the\nhost-domain.\n\nEach of the functions will return undef if the FQDN cannot be\ndetermined.\n\nFunctions\n\"hostfqdn()\"\nIdentify and return the FQDN of the current host.\n\n\"domainname()\"\nAn alias for hostfqdn().\n\n\"hostname()\"\nReturns the smallest part of the FQDN which can be used to identify\nthe host.\n\n\"hostdomain()\"\nReturns the remainder of the FQDN after the hostname has been\nremoved.\n",
                "subsections": []
            },
            "EXPORTS": {
                "content": "The following symbols are, or can be, exported by this module:\n\nDefault Exports\nNone.\n\nOptional Exports\n\"hostname\", \"hostdomain\", \"hostfqdn\", \"domainname\".\n\nExport Tags\nNone.\n",
                "subsections": []
            },
            "KNOWN BUGS": {
                "content": "See <https://rt.cpan.org/Dist/Display.html?Status=Active&Queue=libnet>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Graham Barr <gbarr@pobox.com <mailto:gbarr@pobox.com>>.\n\nAdapted from Sys::Hostname by David Sundstrom <sunds@asictest.sc.ti.com\n<mailto:sunds@asictest.sc.ti.com>>.\n\nSteve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining\nlibnet as of version 1.2202.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1995-1998 Graham Barr.  All rights reserved.\n\nCopyright (C) 2013-2014, 2020 Steve Hay.  All rights reserved.\n",
                "subsections": []
            },
            "LICENCE": {
                "content": "This module is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself, i.e. under the terms of either the\nGNU General Public License or the Artistic License, as specified in the\nLICENCE file.\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.13\n",
                "subsections": []
            },
            "DATE": {
                "content": "23 Dec 2020\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "See the Changes file.\n\nperl v5.34.0                      2026-06-23                Net::Domain(3perl)",
                "subsections": []
            }
        }
    }
}