Article 5J39Y Bind DNS Configuration issue.

Bind DNS Configuration issue.

by
venkat821
from LinuxQuestions.org on (#5J39Y)
Hi All,

I am trying to setup 2 node oracle RAC on 7.5 RHEL and for this it's required to setup DNS server. So i tried to configure DNS server in first server. I installed all the bind packages and configured files as below. named service is up and running. but dbs configuration is not working. could you please assist to fix this.

mainly configured below parameters in named.conf file

options {
listen-on port 53 { 127.0.0.1;192.168.43.10; }; <<<<<<<
# 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";
recursing-file "/var/named/data/named.recursing";
secroots-file "/var/named/data/named.secroots";
allow-query { localhost;any; }; <<<<<<<<<<<<<<<<
/*

From file : named.rfc1912.zones

zone "rapdb01.localdomain" IN {
type master;
file "forward.zone";
allow-update { none; };
};

zone "43.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};

[root@rapdb01 named]# cat forward.zone
$TTL 1D
@ IN SOA rapdb01.localhost. root.localdomain. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS rapdb01.localdomain.
rapdb01 IN A 192.168.43.10
@ IN A 192.168.43.10
@ IN A 192.168.43.11
@ IN A 192.168.10.1
@ IN A 192.168.10.2
@ IN A 192.168.43.51
@ IN A 192.168.43.52
@ IN A 192.168.43.53
rapdb01 IN A 192.168.43.10
rapdb02 IN A 192.168.43.11
rapdb01-priv IN A 192.168.10.1
rapdb02-priv IN A 192.168.10.2
rapdb01-vip IN A 192.168.43.100
rapdb02-vip IN A 192.168.43.101
rapdb-scan IN A 192.168.43.51
rapdb-scan IN A 192.168.43.52
rapdb-scan IN A 192.168.43.53
venkat IN A 192.168.43.10

[root@rapdb01 named]#

[root@rapdb01 named]# cat reverse.zone
$TTL 1D
@ IN SOA localhost. rapdb01.localdomain. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS rapdb01.localdomain.
@ IN PTR localdomain.
venkat IN A 192.168.43.10
10 IN PTR rapdb01.localdomain.
11 IN PTR rapdb02.localdomain.
1 IN PTR rapdb01-priv.localdomain.
2 IN PTR rapdb02-priv.localdomain.
51 IN PTR rapdb-scan.localdomain.
52 IN PTR rapdb-scan.localdomain.
53 IN PTR rapdb-scan.localdomain.

[root@rapdb01 named]#

[root@rapdb01 ~]# nslookup rapdb-scan <<< not resolving
Server: 192.168.43.10
Address: 192.168.43.10#53

** server can't find rapdb-scan.localdomain: SERVFAIL

[root@rapdb01 ~]#

I also checked by disconnecting internet. But still not working.latest?d=yIl2AUoC8zA latest?i=ZIczg4-YvBs:xfaDLBsXPTU:F7zBnMy latest?i=ZIczg4-YvBs:xfaDLBsXPTU:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZIczg4-YvBs:xfaDLBsXPTU:gIN9vFwZIczg4-YvBs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments