Skip to content

searching multiple dns suffixes hostnames in Red Hat EL5 Linux. How?

Featured Replies

This is driving me nuts.

Setting up a system with multiple subnets and dns zones. So for example, zone1.local and zone2.local.

We have server1a and 1b in zone1, server2a and 2b in zone2, so their FQDNs are: server1a.zone1.local, server1b.zone1.local, server2a.zone2.local and server2b.zone2.local.

Our DNS server is all Active Directory based. For Windows clients, I've fixed the problem by specifying DNS search orders through a GPO. But for our Red Hat servers, I can't figure it out.

If I don't use the FQDN, server1a can see server1b because it's in the same DNS zone, but cannot see server2a or 2b unless I type the FQDN. What I want is that failing on the local DNS suffix, it tries on other defined ones (here, zone2.local).

Any ideas?

TIA

You just need an extra entry in resolv.conf (which I think is manually managed on RHEL5 so you should just be able to edit it by hand), for example:

search zone1.local zone2.local
nameserver 192.168.1.1
nameserver 192.168.2.1

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

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.