SUSE Support

Here When You Need Us

SLES 11 DNS not allowing access to external sites to clients other than itself

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

Environment

SUSE Linux Enterprise Server 11
bind
named

Situation

When configuring a new SLES 11 DNS server, customer could query for records in zones that the server was authoritative for, but could not query for records in zones external to the server. However, he could perform these same queries from the SLES 11 DNS server itself.
Forwarder and Root Servers were fine.
Packet traces revealed the server was refusing the query.

Resolution

By default, SLES 11 DNS does not allow recursive queries for anyone other than the server itself, and so was denying queries from clients for external zones. To allow these queries depends on how you configured DNS.
If you use Yast: Yast -> DNS Server -> Basic Options -> Option -> allow-query. Add in IP addresses and subnets you want to allow in the following format: { 1.2.3.4; 1.2.0.0/16; };
If you edit /etc/namd.conf directly, follow the example in the named.conf (same syntax for the values).

NOTE: Do NOT forget to add the server itself if it isn't included in a subnet you would add. The reason is that once you define the allow-query option, everything else (including the server) is refused.

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:7003852
  • Creation Date: 13-Jul-2009
  • Modified Date:12-Oct-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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