0

In a browser, for URI server.group.myhomenetwork.com, I should be able to type server.group/ and press Enter. The browser autocompletes the URI to server.group.myhomenetwork.com and fetches the resource.

I've worked in networks that behave this way. How is it accomplished? DNS configuration? Web browser configuration? I'd like to configure this in my network.

1

This is usually configured on the host where you're running your browser, and it depends on the operating system of that host.

For example, on a Mac you would go to System Preferences/Network/Advanced.../DNS, and add myhomenetwork.com to Search Domains in the right pane.

On a Ubuntu linux system, you would edit /etc/network/interfaces and add the line

dns-search myhomenetwork.com

[User duct_tape_coder added the following:]

On Windows, edit the adapter settings, select the IPv4 or IPv6 properties, click Advanced, click DNS and change the radio option to "Append these DNS Suffixes (in order)". By default the system will only apply the Primary DNS suffix (set on the same page you set the computer name). If you haven't joined AD, the Primary DNS suffix is likely empty.

enter image description here

In CentOS7/RHEL with Network Manager, use NMTUI to edit the NIC and add the search domains: enter image description here

A reboot of the computer should cause the change to take effect but may not be necessary.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.