3 Replies Latest reply: Dec 30, 2013 2:44 AM by Billy~Verreynne RSS

    issue with dns service in Oracle 6.4

    1060451

      Hi. I have tried to do everything like here setting hostname,domainname and static IP address but it did not help me and i still have issue with resolving DNS names.

       

      [root@node1 etc]# ping 192.168.226.128

      PING 192.168.226.128 (192.168.226.128) 56(84) bytes of data.

      64 bytes from 192.168.226.128: icmp_seq=1 ttl=64 time=0.049 ms

      64 bytes from 192.168.226.128: icmp_seq=2 ttl=64 time=0.053 ms

      64 bytes from 192.168.226.128: icmp_seq=3 ttl=64 time=0.068 ms

      ^C

      --- 192.168.226.128 ping statistics ---

      3 packets transmitted, 3 received, 0% packet loss, time 2320ms

      rtt min/avg/max/mdev = 0.049/0.056/0.068/0.011 ms

       

      [root@node1 etc]# nslookup 192.168.226.128

      Server:         192.168.226.2

      Address:        192.168.226.2#53

       

       

      ** server can't find 128.226.168.192.in-addr.arpa.: NXDOMAIN

       

       

      [root@node1 etc]# nslookup node1.node.com

      Server:         192.168.226.2

      Address:        192.168.226.2#53

      Non-authoritative answer:

      *** Can't find node1.node.com: No answer

       

       

      [root@node1 etc]# nslookup node1

      Server:         192.168.226.2

      Address:        192.168.226.2#53

      Non-authoritative answer:

      *** Can't find node1: No answer

       

       

      [root@node1 etc]# nslookup node.com

      Server:         192.168.226.2

      Address:        192.168.226.2#53

      Non-authoritative answer:

      *** Can't find node.com: No answer


      Meanwhile:

       

      [root@node1 etc]# nslookup oracle.com

      Server:         192.168.226.2

      Address:        192.168.226.2#53

       

      Non-authoritative answer:

      Name:   oracle.com

      Address: 137.254.120.50

      [root@node1 etc]#

       

       

      my resolv.conf file is:

       

      [root@node1 etc]# cat /etc/resolv.conf

      # Generated by NetworkManager

      domain localdomain

      search localdomain node.com

      nameserver 192.168.226.2

      [root@node1 etc]#

       

      and

      [root@node1 etc]# cat /etc/hosts

      127.0.0.1   localhost.localdomain localhost

      192.168.226.128  node1.node.com node1

      [root@node1 etc]#

       

       

      [root@node1 etc]# hostname -a

      node1

      [root@node1 etc]# hostname -d

      node.com

      [root@node1 etc]# hostname

      node1.node.com

       

       

      DNS configuration RGhost — файлообменник

       

      [root@node1 etc]# rpm -q bind

      package bind is not installed

       

      but:

       

      [root@node1 etc]# rpm -q  bind-utils

      bind-utils-9.8.2-0.17.rc1.0.2.el6.x86_64

       

      and:

       

      [root@node1 etc]# ps -ef | grep -i bind

      rpc       1947     1  0 Dec21 ?        00:00:00 rpcbind

      nobody    2831     1  0 Dec21 ?        00:00:00 /usr/sbin/dnsmasq --strict-order --local=// --domain-needed --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --bind-interfaces --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override --dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile --addn-hosts=/var/lib/libvirt/dnsmasq/default.addnhosts

      root      8237 19846  0 04:18 pts/2    00:00:00 grep -i bind

       

      so i can not understand why dns is not able to resolve ip or whole name for mentioned hostname?