XLFNSLK ;ISF/RWF,ISD/HGW - Calling a DNS server for name lookup ;12/08/15 12:44
Source file <XLFNSLK.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| TEST | ;Test entry
|
|
| HOST(IP) | ;Get a host name from an IP address
|
|
| ADDRESS(N,T) | ;Get a IP address from a name
|
|
| MAIL(RET,N) | ;Get the MX address for a domain
|
|
| NS(XL,NAME,QTYPE,XLFLOG) | ;NAME LOOKUP
|
|
| NS2 | ;
|
|
| EXIT | ||
| BUILD(Y,T) | ;BUILD A QUERY
; ID,PARAM,#of?, #ofA, #of Auth, #of add, |
|
| READ | ;
|
|
| RDERR | ;End of read
|
|
| DECODE | ;
|
|
| QD(NSP) | ;Decode the Question section
|
|
| RR(NSP) | ;
|
|
| NAME(I,NM,F) | ;Decode a NAME section
|
|
| MX(IX) | ;Hide IX changes
|
|
| BN(Z1,Z2) | ;Convert two binary char 16 bit number into ASCII number
|
|
| WBN(Z1) | ;Convert two byte string to a ASCII number
|
|
| H2(Z2) | ;Convert 2 byte string to HEX
|
|
| H1(Z1) | ;Convert decimal number <= 256 to two digit HEX number
|
|
| H(Z1) | ||
| BIN16(S) | ;Convert two byte string to 16 bit binary
|
|
| PART(S,L) | ;
|
|
| TYPECODE(T) | ;
|
|
| CLASS(T) | ;
|
|
| GETDNS(I) | ;Get the address of our DNS
|
|
| SW(T,H,V) | ;
|
|
| SAVEDEV | ;Save calling device
|
|
| RESDEV | ;Restore calling device
|
|
| LOG(M,XLFLOG) | ;Log Debug messages
|
| Name | Line Occurrences |
|---|---|
| Function Call: READ |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: READ |
|
| Function Call: READ |
|
| Function Call: READ |
|
| Function Call: WRITE |
|