Wie setzt sich ein fully qualified domain name zusammen?

A fully qualified domain name (FQDN) is the complete address of an internet host or computer. It provides its exact location within the domain name system (DNS) by specifying the hostname, domain name and top-level domain (TLD). For example, for the domain name www.whatis.com, "www" is the hostname, "whatis" is the domain name and ".com" is the top-level domain.

DNS filtering and network rules can be added to firewalls to allow or deny traffic to specific computers or domains.

Are FQDN and URL the same?

In internet communications, the terms FQDN and URL are sometimes used interchangeably. However, an FQDN isn't the same as a URL but rather is a part of it that fully identifies the server to which the request is addressed.

An FQDN doesn't carry the TCP/IP protocol information -- such as Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS) -- which is always used at the beginning of a URL. Therefore, adding the prefix http:// or https:// to the FQDN turns it into a full URL. Also, URLs can specify directory paths, file names and TCP port numbers, which FQDNs don't include.

When FQDNs are provided in place of full URLs to access resources on the internet, the protocol by default is assumed to be HTTP or HTTPS.

Examples of an FQDN

For a device to be accessible on the internet, it needs a fully qualified domain name. For an FQDN to be complete, it must meet the following criteria:

  • The entire FQDN has a max length of 255 characters.
  • It uses only letters, numbers and hyphens.
  • A number or letter must take the first position on each label.

An FQDN is always labeled in the format of hostname.domain.TLD. For example, a mail server on the yahoo.com domain might use the FQDN mail.yahoo.com.

The following are some examples of an FQDN:

  • techtarget.com;
  • https://travel.state.gov/content/travel.html;
  • microsoft.com; and
  • yourdomainname.com

Note that each label -- including hostname, domain name and TLD -- is separated by a period and ends with a trailing period. However, most systems simply imply the period, even if one isn't provided. For example, DNS servers consider www.microsoft.com an FQDN.

Why and when to use an FQDN

Each device on the internet has an Internet Protocol (IP) address and a corresponding FQDN. FQDNs reveal the absolute domain name of a site and prove useful when troubleshooting DNS issues.

The following are popular use cases for FQDNs:

  • Connecting to a remote host. When trying to connect to a remote server, the DNS server performs a lookup in its DNS table to resolve the FQDN to its corresponding IP address. For example, if a connection is attempted to a remote server with only the hostname, such as example instead of example.com, the DNS table returns an error message. Sometimes, using an FQDN is essential to reach a remote server, especially if it doesn't share the same internet service provider.
  • Configuring the DNS and IP address. FQDNs are easier to remember than IP addresses and are needed to configure the DNS and IP address of a device on the internet. For example, when trying to reach Google, it's much easier to type google.com in the browser, instead of finding and typing its numerical IP address.
  • Getting an SSL certificate. Each FQDN is issued a secure sockets layer (SSL) certificate to encrypt the connection between the browser and the web server and to specify its location identity. Without an FQDN, SSL services can't be used properly.
  • Migrating to a new server. An FQDN can be beneficial when migrating services to a different server. Using an FQDN instead of an IP address quickly changes the DNS records and prevents communication issues and outages that can happen when changing an IP address.
  • Branding potential. An FQDN lets site visitors know the identity, location and presence of a website, which can help with brand promotion.
  • Search engine optimization (SEO). Having an FQDN can improve a website's SEO rankings in the web browsers.
  • Accessing domain services. FQDNs are useful in connecting to domain services, such as email or file transfer protocol. For example, the FQDN of a mail server is needed to connect a domain name's email to an email application on a phone, such as Gmail or Apple Mail.

How to find an FQDN

FQDN use isn't limited to the internet, but each PC and server has its own FQDN. It's easy to find the FQDN of any device, depending on which operating system is being used.

Finding the FQDN for Windows 11

Use the following steps to find an FQDN for Windows 11:

  1. Open the Control Panel.
  2. Click System and Security> System.
  3. Select the See the name of this computer
  4. The Full device name is listed under Device specifications.
Wie setzt sich ein fully qualified domain name zusammen?
This screenshot shows the full device name on a Windows 11 PC.

Finding the FQDN for macOS

Use the following steps to find an FQDN for macOS:

  1. Select the Apple menu, System Settings and click General in the sidebar.
  2. Click About on the right. You might need to scroll down.
  3. The full computer name or the FQDN appears at the top of the About settings.

Alternatively, in macOS, opening the terminal and typing hostname -f into the prompt returns the FQDN. For Linux, opening the terminal and entering hostname -A, where the A is case-sensitive, into the prompt returns the FQDN.

What is a partially qualified domain name (PQDN)?

A PQDN is part of an FQDN that isn't fully specified. In general, a PQDN gives an incomplete piece of information regarding where a resource is located on the internet or on a private server. For example, a hostname of p402srv01 is classified as a PQDN, because it only tells the hostname. The domain that it belongs to is unknown.

PQDNs are typically used for convenience and are applicable where the full name isn't required to resolve the host, as the domain might already be known elsewhere. In those special scenarios, only the hostname is required for a particular task.

To understand the difference between a PQDN and an FQDN, think of a phone number, where the PQDN is the three-digit area code and the FQDN is the 10-digit phone number.

The process of name resolution plays an integral role in network communications. Learn how the name resolution process is used for resolving hostnames, querying servers and locating IP addresses.

This was last updated in December 2022

Continue Reading About fully qualified domain name (FQDN)

  • DNS server troubleshooting for Linux and Windows
  • How to create and add an SPF record for email authentication
  • How can DNS privacy issues be addressed?
  • Why securing the DNS layer is crucial to fight cyber crime
  • FQDN filtering in network rules

Related Terms

AS/400 (IBM iSeries, AS/400e, eServer iSeries/400, Power Systems)The IBM Application System/400 -- or AS/400 -- is a family of midrange computers that was released in 1988, succeeding both ... See complete definitiondefaultIn computer technology, a default is a pre-designed value or setting that is used by a computer program when a value or setting ... See complete definitionthyristorA thyristor is a four-layer semiconductor device, consisting of alternating P-type and N-type materials (PNPN). See complete definition

Word of the Day

adversarial ML

Adversarial machine learning is a technique used in machine learning to fool or misguide a model with malicious input.

Wie setzt sich der FQDN zusammen?

Ein FQDN besteht aus zwei verschiedenen Teilen: einem Hostnamen und einem Domainnamen. Um auf das Beispiel „myserver.com“ zurückzukommen: „myserver“ ist der Hostname, während „.com“ der Domainname ist.

Was bedeutet Fully Qualified Domain Name?

Was ist der Fully Qualified Domain Name (FQDN)? Mit dem Begriff „Fully Qualified Domain Name“ oder abgekürzt „FQDN“ wird der vollständige und eindeutige Hostname einer Webpräsenz im Internet bezeichnet. Er ist Teil des Domain Name Systems (DNS), das zur Namensauflösung im Internet verwendet wird.

Wie viele Zeichen kann ein voll qualifizierter Domainname Fully Qualified Domain Name FQDN enthalten?

Zwischen dem Label des Hostnamens und dem Label des Domain-Namens können in einem Fully-Qualified Domain Name ein oder mehrere Label für Subdomains enthalten sein. Ein einzelnes Label darf aus bis zu 63 Zeichen bestehen. Die komplette Länge eines FQDN ist auf 255 Zeichen begrenzt.