SUSE Support

Here When You Need Us

Walking up DNS domain on SLES10

This document (7004131) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 1

 

Situation

Under Windows there is a functionality that will"walk up" the DNS domains when the default can not be resolved.

Unable to find in DNS a domain that is higher then your default domain.

Resolution

This is working as designed for SLES.

Additional Information

Windows resolver has some extra functionality to resolve hostnames and can perform a "walking up" the domain parts.

An example:
The configured domainname on a Windows XP workstation is room.loc1.country1.comp1.com
If the users needs mail.comp1.com and only enters e.g.: ping mail, the resolver of the workstation will start with resolving mail.room.loc1.country1.comp1.com, then mail.loc1.country1.comp1.com, then mail.country1.comp1.com, until it can resolv mail.comp1.com

The only way to achieve this partly on SLES is to use search parameter in the/etc/resolv.conf. When using search list for host-name lookup, the search list is normally determined from the local domain name; by default, it contains only the local domain name.  This may  be  changed  by  listing the desired domain search path following the search keyword with spaces or tabs separating the names.  Resolver queries having fewer than ndots dots (default is 1) in them will be attempted using each component  of  the search  path in turn until a  match is found.  For environments with multiple subdomains please read options ndots:n below to avoid man-in-the-middle attacks and unnecessary traffic for the root-dns-servers.  Note that this process may  be  slow  and will  generate  a lot of network traffic if the servers for the listed domains are not local, and that queries will time out if no server is available for one of the domains.

In this example search would have to look like:
search room.loc1.country1.comp1.com loc1.country1.comp1.com country1.comp1.com comp1.com



 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004131
  • Creation Date: 07-Aug-2009
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.