2 scripts tagged as: [tested-under · mac osx]
DNS protocol | ||
dig.r | v:0.0.1 13.6 KB 21 Feb 2005 | REBOL DIG : Implementation of DNS protocol (RFC 1035)
URL is dig://name-server/TYPE/name
ans: read dig://ns.thomething.com/SOA/thomething.com
ans: read dig://172.30.1.1/PTR/194.252.19.3
ans: read dig::/172.30.1.1/A/noway.myhome.com
you can see a list of available TYPEs in cmd-list in beginning of code
use ans/to-str to [...] author: VDemong |
SNMP v1 protocol | ||
snmp.r discussion | v:0.8.0 13.4 KB 21 Feb 2005 | Implementation of SNMP v1 scheme (RFC 1155,1156,1157) , no TRAP.
URL is snmp://[community@]<host adr>/CMD/<id values>
default community is public
Where CMD is get getnext or set
id values is a string like that: 1.3.6.1.2.1.1.1.0 1.3.6.1.2.1.1.5.0
Return an object:
make object! [
version: [...] author: VDemong |