Demystifying Hostnames and Domain Names in Linux, and How Server Naming Benefits You

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • Were you every confused regarding the differences and use-cases between a hostname and domain name for a device within your network? How does naming your servers benefit you? In this latest episode of the Linux Crash Course series, we'll explore some foundational concepts around both.
    Brand LPI Linux Essentials Course Available
    Now just $44.99 for a limited time! ➜ learnlinux.link/lpi-course
    ➜ learnlinux.link/lpi-course
    Check out the Linux Shop
    In the official shop, you'll find Shirts, hats, stickers, bags and more!
    ➜ merch.learnlinux.tv
    5% discount on LPI exam vouchers
    After you finish Jay's new course, get 5% off an LPI exam voucher here:
    ➜ learnlinux.link/lpi-voucher
    Become a Patron
    Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
    ➜ learnlinux.link/patron
    Become a Channel Member
    Show your support for Learn Linux TV here on TH-cam and get access to exclusive perks!
    ➜ learnlinux.link/member
    Mastering Ubuntu Server: 4th Edition
    Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
    ➜ ubuntuserverbook.com
    Linux Gear and Kits
    Check out Jay's choice of hardware products, audio/video equipment, and more.
    ➜ learnlinux.link/amazon
    Grab an awesome Pi-powered KVM
    Support Learn Linux TV and grab yourself a TinyPilot KVM here:
    ➜ learnlinux.link/tinypilot
    Note: Royalties and/or commission is earned from each of the above links
    Time Codes
    00:00 - Intro
    01:15 - Set up your own Linux instance with Linode (Sponsor)
    02:40 - Why it's important to set the hostname for your Linux server
    04:31 - How you go about finding the hostname for your Linux installation
    05:24 - What exactly is a "hostname" anyway?
    06:18 - What is a "domain name" and how does it differ from a "host name"?
    09:59 - Example hostname and domain application within an organization
    10:29 - Example "A Record" in DNS
    12:01 - Expanding further on the differences between hostnames and domain names
    15:03 - How does a domain controller fit in? Is it required?
    Full Courses from Learn Linux TV
    • Linux Essentials Certification Workshop ➜ learnlinux.link/lpi-course
    • Linux Crash Course series ➜ linux.video/cc
    • Learn how to use tmux ➜ linux.video/tmux
    • Learn how to use vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE Cluster Full Course ➜ linux.video/pve
    • Learn Ansible ➜ linux.video/ansible
    Linux-related Podcasts
    • Enterprise Linux Security ➜ enterpriselinuxsecurity.show
    • The Homelab Show ➜ thehomelab.show
    Learn Linux TV on the Web
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    • Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
    • The Homelab Show Podcast ➜ thehomelab.show
    • Content Ethics ➜ www.learnlinux.tv/content-ethics
    • Request Assistance ➜ www.learnlinux.tv/request-ass...
    Disclaimer
    Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
    #LinuxTraining #CloudComputing #DevOps
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 28

  • @DeadStar12018
    @DeadStar12018 ปีที่แล้ว +3

    This has answered so many questions I've had about domains! Please make more videos on this!

  • @maxdiamond55
    @maxdiamond55 ปีที่แล้ว +2

    Thanks Jay.
    That was the perfect balance and agree to going into no more detail than was strictly necessary without going off topic.

  • @kodikodi9948
    @kodikodi9948 ปีที่แล้ว

    i have struggled with this for a long long time!!
    thank you for doing this video.

  • @AndersJackson
    @AndersJackson ปีที่แล้ว

    MS Domain controller AD is based on three software/protocols which Kerberos, LDAP and CIF (which is SMB and implemented in Samba in Linux). And they also usually have a DNS server, but that can also be another software in Linux.
    (Use Kerberos for single sign on and verify machines AND users, LDAP for search databases for machine names and user names etc and CIF for send scripts to machine to set up software).

  • @costa404
    @costa404 ปีที่แล้ว +3

    Sometimes after a reboot, the old hostname persists. I had to change the file /etc/cloud/cloud.cfg. There is a setting preserve_hostname: false. I had to change this to true and the new hostname survives a reboot.

  • @michalroesler
    @michalroesler ปีที่แล้ว

    That's awesome video Jay. You are the coolest Linux teacher in the Universe. Respect from Poland.

  • @waipalisrevenge3707
    @waipalisrevenge3707 ปีที่แล้ว

    Hello there, is your playlist on how to configure Ubuntu server from the get go you uploaded few years ago not available anymore?

  • @ethanrivers4057
    @ethanrivers4057 ปีที่แล้ว +4

    I'm guessing an IT guy connected wrongly to the shinra server is probably what took down the midgar plate.

  • @VirendraBG
    @VirendraBG 10 หลายเดือนก่อน

    As always, awesome explanation.
    Love from INDIA. 🙏🏻

  • @johnparr61
    @johnparr61 ปีที่แล้ว +2

    If you are working on a server in a terminal how do you know what the full domain name of that server is? Can it be displayed in the bash prompt as an alternative to the host name?

  • @Handelsbilanzdefizit
    @Handelsbilanzdefizit ปีที่แล้ว +3

    Please make a video about Two-Factor Disk-Encryption, with Yubikey, FIDO2 or something like that.

  • @Theborg72
    @Theborg72 ปีที่แล้ว

    hi, really interesting but got a thought
    in case you do not have a domain controller. how do you then set it up so it finds the right server with domain requests

  • @realsergeybrin
    @realsergeybrin ปีที่แล้ว +3

    so how do i set a domain name? how han i check what domain name do i have? what if 2 networks/companies have the same domain name?

  • @TheCocoaDaddy
    @TheCocoaDaddy ปีที่แล้ว +2

    Great video! I have two questions about domain controllers: 1) What is an example of a domain controller other than Active Directory by Microsoft? 2) What use does a domain controller have for managing systems not running Windows? Thanks for posting!

    • @toromac9786
      @toromac9786 ปีที่แล้ว +1

      Think you would be looking at OpenLDAP or similar.
      Would love to see a video going over this (if there isn't one already)

  • @ghostingalong
    @ghostingalong ปีที่แล้ว

    Can you explain assigning a fqdn without a domain controller?

  • @user-bb6qv5vi7l
    @user-bb6qv5vi7l ปีที่แล้ว

    I install AD, because it is the best admin tool. After installation, I have the capabilities of a network device manager.

  • @catbeautifule
    @catbeautifule หลายเดือนก่อน

    Please I need help, how to associate hostname to IP address

  • @llpolluxll
    @llpolluxll ปีที่แล้ว +2

    After becoming a fan of Steven Universe (simultaneously the most exciting and disappointing series I've ever watched) I started naming servers after types of gems. Mythological pantheons is also a scheme I've used.

  • @franciscolopez2736
    @franciscolopez2736 ปีที่แล้ว

    🔥

  • @Zerafiall
    @Zerafiall ปีที่แล้ว +1

    I'm a hint disappointed in this video just cause I feel like I have more questions now.
    Is the domain name for a computer set by the computer itself? Or by some network setting?

    • @noweare1
      @noweare1 ปีที่แล้ว +1

      You actually have to purchase a domain name. I agree this was not his best presentation but he does have the best videos overall. Basically I think of domain name as a human readable substitute for an ip address.

  • @jsross33
    @jsross33 ปีที่แล้ว +2

    If there is more than one person in the room named Jay. We could also use a C name, Hey Learn Linux TV guy.

  • @majstorgile
    @majstorgile ปีที่แล้ว

    👏👏👏

  • @canadianwildlifeservice8883
    @canadianwildlifeservice8883 ปีที่แล้ว

    I can't post a link as an example or else my comment gets deleted, but why didn't he explain the concept of subdomains when discussing a FQDN? He mentions hostnames, and domain names, but not subdomains. Subdomains are the beginning part of a domain name, which is necessary for dynamic DNS, which is basically a domain name with a subdomain name in front.

  • @peanutspicks
    @peanutspicks 7 หลายเดือนก่อน

    Nice but too many ads

  • @alisajakaksikettua
    @alisajakaksikettua 8 หลายเดือนก่อน

    They are data objects or source if you don't care about author's right on data which is illegally obtained. I don't care about authors in this context.