Scenario:
Enable Aging on a Host entry [Delete this Record when
it becomes Stale option through GUI].
From cmdline, execute
dnscmd host /EnumRecords domain @ child
Output is similar to:
appx 3600 A IP
backerup [Aging:3516954] 1200 A IP
dnsserv 3600 A IP
From ASPDNS.dll, execute
Set oRecs = oDNS.ZoneEnumRecords("domain", "host",
vRet)
.Write "<table width=""100%"">"
For Each Rec In oRecs
.Write "<tr>"
.Write "<td>" & Rec.RRName & "</td>"
.Write "<td>" & Rec.RRType & "</td>"
.Write "<td>" & Rec.RRData & "</td>"
.Write "</tr>" & vbCrLf
Next
.Write "</table>"
Output is similar to:
appx 0 IP
backerup 0 1200
dnsserv 0 IP