Skip to content
View in the app

A better way to browse. Learn more.

Gear Crushers

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Search Suffix on LInux

Featured Replies

Many many people/apps still rely on short names (hostname1) instead of the FQDN (hostname1.thezah.com)

Obviously DNS doesn't know what to do with hostname1 so on LInux it will look in either one of two places for a search suffix (what to append to the end of that shortname)

/etc/resolv.conf

# internal dns servers
nameserver 1.2.3.4
nameserver 4.3.2.1
search thezah.com sub.thezah.com eventguyz.com sub.eventguyz.com

OR it can be done on the interface level at /etc/network/interfaces since /etc/resolv.conf gets overridden

auto eth0
iface eth0 inet static
    address 10.11.12.50
    netmask 255.255.255.0
    gateway 10.11.12.1
    dns-nameservers 1.2.3.4 4.3.2.1
    dns-search thezah.com sub.thezah.com eventguyz.com sub.eventguyz.com

So now when you query hostname1 it will then try hostname1.thezah.com, then hostname1.sub.thezah.com  (Always start with a more current domain on the left and work towards older, not so common domains it could be in at the right)

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.