dns
diff --git a/src/libndb/mkfile b/src/libndb/mkfile
index a49cd5e..b7c9ee9 100644
--- a/src/libndb/mkfile
+++ b/src/libndb/mkfile
@@ -21,6 +21,7 @@
 	ndbparse.$O\
 	ndbreorder.$O\
 	ndbsubstitute.$O\
+	sysdnsquery.$O\
 
 HFILES=\
 	$PLAN9/include/ndb.h\
@@ -28,5 +29,6 @@
 
 <$PLAN9/src/mksyslib
 
-$O.out: testipinfo.$O
-	$LD $prereq
+testdns: testdns.$O $LIBDIR/$LIB
+	$LD -o $target $prereq
+