Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DIG not responding: connection timed out; no servers could be reached

884490Aug 16 2015 — edited Aug 16 2015

Hi ,

OS Version : Oracle Linux 6

I'm trying to setup Oracle RAC with GNS. I've configured DNS and DHCP on TEST server. DIG works fine on the localhost, but when i trying it from a different server its failing. Not sure what i need to check. Firewall is disabled and have mentioned the DNS address in the resolv.conf file. Please suggest

[root@test Desktop]# cd /etc/named.conf

bash: cd: /etc/named.conf: Not a directory

[root@test Desktop]# cat /etc/named.conf

//

// named.conf

//

// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS

// server as a caching only nameserver (as a localhost DNS resolver only).

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

options {

    listen-on port 53 {  198.162.1.33; 127.0.0.1; };

    listen-on-v6 port 53 { ::1; };

    directory     "/var/named";

    dump-file     "/var/named/data/cache_dump.db";

        statistics-file "/var/named/data/named_stats.txt";

        memstatistics-file "/var/named/data/named_mem_stats.txt";

    allow-query     { localhost; };

        allow-recursion  { any; };

    recursion yes;

    dnssec-enable yes;

    dnssec-validation yes;

    dnssec-lookaside auto;

    /* Path to ISC DLV key */

    bindkeys-file "/etc/named.iscdlv.key";

    managed-keys-directory "/var/named/dynamic";

};

logging {

        channel default_debug {

                file "data/named.run";

                severity dynamic;

        };

};

zone "." IN {

    type hint;

    file "named.ca";

};

zone    "1.168.192.in-addr.arpa" IN { // Reverse zone

    type master;

    file "oralab.com.reverse";

        allow-transfer { any; };

    allow-update { none; };

};

zone  "oralab.com" IN {

      type master;

       notify no;

       file "oralab.zone";

};

include "/etc/named.rfc1912.zones";

include "/etc/named.root.key";

________________________________________________________________________________________________________________________________

[root@test named]# cat oralab.zone

$TTL 86400

$ORIGIN oralab.com.

@ IN SOA test.oralab.com. root (

43 ; serial (d. adams)

3H ; refresh

15M ; retry

1W ; expiry

1D ) ; minimum

    A      192.168.1.33

   IN NS   test ;

test     IN A 192.168.1.33

dns CNAME oralab.com.

$ORIGIN ec.oralab.com.

@ IN NS ec-gns.oralab.com.

;; IN NS test.oralab.com.

ec-gns.oralab.com. IN A 192.168.1.35;

;

;sub-domain (ec.oralab.com) definitions

$ORIGIN ec.oralab.com.

@  IN   NS   ec-gns.oralab.com.  ;

__________________________________________________________________________________________________________________________________________

[root@test named]# cat oralab.com.reverse

$ORIGIN 1.168.192.in-addr.arpa.

$TTL 1H

@ IN SOA test.oralab.com. root.oralab.com. ( 2

3H

1H

1W

1H )

NS test.oralab.com.

33   PTR   test.oralab.com.

35   PTR   ec-gns.oralab.com. ;

_____________________________________________________________________________________________________________________________________________________

[root@test Desktop]# dig -x 192.168.1.35

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 <<>> -x 192.168.1.35

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6270

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;35.1.168.192.in-addr.arpa.    IN    PTR

;; ANSWER SECTION:

35.1.168.192.in-addr.arpa. 3600    IN    PTR    ec-gns.oralab.com.

;; AUTHORITY SECTION:

1.168.192.in-addr.arpa.    3600    IN    NS    test.oralab.com.

;; ADDITIONAL SECTION:

test.oralab.com.    86400    IN    A    192.168.1.33

;; Query time: 4 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Sun Aug 16 10:20:13 2015

;; MSG SIZE  rcvd: 111

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[root@test Desktop]# dig ec-gns.oralab.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 <<>> ec-gns.oralab.com

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16359

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;ec-gns.oralab.com.        IN    A

;; ANSWER SECTION:

ec-gns.oralab.com.    86400    IN    A    192.168.1.35

;; AUTHORITY SECTION:

oralab.com.        86400    IN    NS    test.oralab.com.

;; ADDITIONAL SECTION:

test.oralab.com.    86400    IN    A    192.168.1.33

;; Query time: 3 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Sun Aug 16 10:20:19 2015

;; MSG SIZE  rcvd: 88

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The below test i am performing from a different host

[root@oel61a Desktop]# dig -x 192.168.1.35

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.0.2.el6_4.6 <<>> -x 192.168.1.35

;; global options: +cmd

;; connection timed out; no servers could be reached

[root@oel61a Desktop]# dig ec-gns.oralab.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.0.2.el6_4.6 <<>> ec-gns.oralab.com

;; global options: +cmd

;; connection timed out; no servers could be reached

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2015
Added on Aug 16 2015
0 comments
894 views