liveBook · Manning

Hostname

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A hostname is an identifier for a specific device on a network, expressed as either a simple name or a fully qualified domain name.

A hostname identifies a specific device on a network. It may be a simple name such as srv1 or a fully qualified domain name (FQDN) such as srv1.example.com. A partially qualified domain name (PQDN), such as www, identifies a host only within its domain. section 3.1.3

Figure 3.3 The DNS hierarchy. All domains are under the root domain, represented by “.”. Under the root domain, there are various top-level domains. Under each top-level domain, there are various second-level domains. The “google” domain, a subtree under the “com” top-level domain, is highlighted.

Use the DNS hierarchy to relate hostnames, domains, subdomains, top-level domains, and the root. section 3.1.3

On Cisco IOS, hostname-based communication can be configured and verified with:

  • ip domain name jeremysitlab.com defines the default domain appended to queries containing only a hostname. section 3.2.2
  • ip host pc2.jeremysitlab.com 10.0.0.12 creates a manual hostname-to-IP mapping. section 3.2.2

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines simple names, FQDNs, and PQDNs, then demonstrates Cisco IOS configuration and verification without exploring DNS internals.
Examples
Uses www, srv1.example.com, Cisco IOS host mappings, show hosts output, and ping pc2 to demonstrate hostname resolution.
What it assumes
Assumes basic awareness of networks and IP addresses while defining DNS hierarchy and hostname terminology explicitly.
What you can do after
Operate/configure Cisco IOS hostname resolution with ip domain name, ip host, show hosts, and ping.
How it connects
Connects hostnames with DNS, domain names, FQDNs, PQDNs, IP address mappings, and SSH configuration.

Also explained in

Compare how 2 books explain hostname →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.