0 Replies Latest reply on Oct 17, 2006 12:54 PM by tower23

    Disable JDBC from using DNS

    tower23

      I am using a local Jboss and Oracle instance on an AIX box to run my application. I have configured my /etc/hosts file for localhost and loopback.

      I have also edited the /etc/netsvc.conf file to ensure it uses the local host file before looking at the DNS server:

      hosts = local , bind , nis=auth

      Lastly, I have verified all the configuration XML files in Jboss have DNS lookup disabled but whenever the primary DNS server goes down, the performance of my application degrades drastically. The only thing I can think of is that teh JDBC is still trying to go through the DNS.

      Can you disable DNS completely in Jboss or add a secondary DNS?

      Thanks in advance,
      -Mt