diff --git a/lib/modules/Protocols.pmod/DNS.pmod b/lib/modules/Protocols.pmod/DNS.pmod
index 08172ca7e8c149becb7eb2b3ab07cc2fd388c620..6001a61e97aa54fccc900471317db3f4862eb885 100644
--- a/lib/modules/Protocols.pmod/DNS.pmod
+++ b/lib/modules/Protocols.pmod/DNS.pmod
@@ -285,7 +285,10 @@ class client {
       nameservers = ({ get_tcpip_param("NameServer") });
       domains=get_tcpip_param("SearchList") / " "- ({""});
 #else
-      string resolv_conf = Stdio.read_file("/etc/resolv.conf");
+      string resolv_conf;
+      foreach(({"/etc/resolv.conf", "/amitcp/db/resolv.conf"}), string resolv_loc)
+        if ((resolv_conf = Stdio.read_file(resolv_loc)))
+	  break;
 
       if (!resolv_conf) {
 	throw(({ "Protocols.DNS.client(): No /etc/resolv.conf!\n",