ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Server "Search Domains"

    Scheduled Pinned Locked Moved IT Discussion
    ubuntu server
    4 Posts 3 Posters 37 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CCWTechC
      CCWTech
      last edited by

      f9f10be3-9f06-404c-8549-24d99acf00d3-image.png

      This always confuses me when setting up Ubuntu Server. What is "SEARCH DOMAINS". I would think it would be easy to find an answer online, but I am coming up blank.

      EddieJenningsE scottalanmillerS 2 Replies Last reply Reply Quote 0
      • EddieJenningsE
        EddieJennings @CCWTech
        last edited by

        @CCWTech If you try to resolve a name that isn't a FQDN, your resolver will try to resolve that name + the search domain.

        If you set that to foo.com, and you try to run ping bar, to resolve what bar is (unless you have it defined in /etc/hosts), your resolve will try to resolve bar.foo.com for the ping.

        After your install, if you look at /etc/resolv.conf you should see the search domains value in there.

        1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @CCWTech
          last edited by

          @CCWTech they serve little purpose in the modern world. It's just the network domains that are automatically tried when you put in a URL with only the hostname and leave off the network name. Which no one does, so it's unused. It's not a LInux thing, it's a general networking thing so the same on desktops, Windows, wherever. Just a standard part of DNS, but like many DNS functions, one that is mostly a vestige.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            If you use Active Directory on Windows, it fills it at least one search domain automatically. Windows is about the only place to see search domains still used frequently. This is primarily used for when Linux is put onto legacy style Windows based LAN networks.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post