DNS zone forwarding doesn't work in RHEL5

Solution Verified - Updated -

Issue

  • A zone forwarding was configured in /etc/named.conf:
zone "myserver.com" {
     type forward;
     forwarders { x.x.x.x ; };
     forward only;
};
  • When nslookup command is used it works.
  • But when dig command is used, it fails with a time out:
# dig www.myserver.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.5 <<>> www.myserver.com
;; global options:  printcmd
;; connection timed out; no servers could be reached

Environment

  • Red Hat Enterprise Linux (RHEL) 5.9
  • bind

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content