3 Replies Latest reply: Sep 6, 2012 1:16 AM by OraDB RSS

    service named restart error in the dns

    OraDB
      Friends...

      OS: OEL 6.3 64 bit.

      i am setting up the dns for my oracle 11gR2 rac. but i am facing this error...i dont know where i am making mistake.

      errors.....
          [root@mydns named]# service named restart
          Stopping named: [ OK ]
          Starting named:
          Error in named configuration:
          sathy.net.zone:9: NS record '192.168.1.2' appears to be an address
          zone sathy.net/IN: NS '192.168.1.2.sathy.net' has no address records (A or AAAA)
          zone sathy.net/IN: not loaded due to errors.
          _default/sathy.net/IN: bad zone
          1.168.192.in-addr.arpa:9: NS record '192.168.1.2' appears to be an address
          1.168.192.in-addr.arpa:10: NS record '192.168.1.1' appears to be an address
          zone 1.168.192.in-addr.arpa/IN: NS '192.168.1.1.1.168.192.IN-ADDR.ARPA' has no address records (A or AAAA)
          zone 1.168.192.in-addr.arpa/IN: NS '192.168.1.2.1.168.192.IN-ADDR.ARPA' has no address records (A or AAAA)
          zone 1.168.192.in-addr.arpa/IN: not loaded due to errors.
          _default/1.168.192.in-addr.arpa./IN: bad zone
          [FAILED
          my /etc/named.conf
          =====================================
          // Default named.conf generated by install of bind-9.2.4-30.el4_7.2
          options {
          directory "/var/named";
          dump-file "/var/named/data/cache_dump.db";
          statistics-file "/var/named/data/named_stats.txt";
          forwarders { 192.168.1.1; };
          };
          include "/etc/rndc.key";
           
          zone "sathy.net" IN {
          type master;
          file "sathy.net.zone";
          allow-update { none; };
          };
           
          zone "1.168.192.in-addr.arpa." IN {
          type master;
          file "1.168.192.in-addr.arpa";
          allow-update { none; };
          };
           
          zone "." in {
          type hint;
          file "/dev/null";
          };
          vi /var/named/1.168.192.in-addr.arpa
          =======================================
           
          $TTL 86400
          $ORIGIN 1.168.192.IN-ADDR.ARPA.
          @ IN SOA mydns.sathy.net. webmaster.sathy.net. (
          2
          3H
          1H
          1W
          1H )
          IN NS 192.168.1.2
          IN NS 192.168.1.1
           
          3 IN PTR rac1.sathy.net.
          5 IN PTR rac2.sathy.net.
          4 IN PTR rac1-vip.sathy.net.
          6 IN PTR rac2-vip.sathy.net.
          7 IN PTR sathy-scan.sathy.net.
          8 IN PTR sathy-scan.sathy.net.
          9 IN PTR sathy-scan.sathy.net.
          vi /var/sathy.net.zone
          ====================================
          $TTL 86400
          @ IN SOA sathy.net. sathy.net.(
          42 ; serial (d. adams)
          3H ; refresh
          15M ; retry
          1W ; expiry
          1D ) ; minimum
           
          sathy.net. IN NS 192.168.1.2
          localhost IN A 127.0.0.1
          rac1.sathy.net. IN A 192.168.1.3
          rac2.sathy.net. IN A 192.168.1.5
          rac1-vip.sathy.net. IN A 192.168.1.4
          rac2-vip.sathy.net. IN A 192.168.1.6
          sathy-scan.sathy.net. IN A 192.168.1.7
          sathy-scan.sathy.net. IN A 192.168.1.8
          sathy-scan.sathy.net. IN A 192.168.1.9
      thanks