aboutsummaryrefslogtreecommitdiff
path: root/mflib/dns.mf4
diff options
context:
space:
mode:
Diffstat (limited to 'mflib/dns.mf4')
-rw-r--r--mflib/dns.mf413
1 files changed, 13 insertions, 0 deletions
diff --git a/mflib/dns.mf4 b/mflib/dns.mf4
index e13130b1..e51656d8 100644
--- a/mflib/dns.mf4
+++ b/mflib/dns.mf4
@@ -59,3 +59,16 @@ do
done
return primitive_ismx (domain, ipstr)
done
+
+func hasns (string str)
+ returns number
+do
+ try
+ do
+ return primitive_hasns (str)
+ done
+ catch *
+ do
+ return 0
+ done
+done

Return to:

Send suggestions and report system problems to the System administrator.