summaryrefslogtreecommitdiffabout
path: root/mflib/dns.mf4
Side-by-side diff
Diffstat (limited to 'mflib/dns.mf4') (more/less context) (ignore whitespace changes)
-rw-r--r--mflib/dns.mf413
1 files changed, 13 insertions, 0 deletions
diff --git a/mflib/dns.mf4 b/mflib/dns.mf4
index e13130b..e51656d 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.