Module interface:resolver - Resolver interface
Resolver interface. This provides a generic way of resolving host-names and addresses using DNS (and potentially other sources).
Index
-
Channel type
CT.RESOLVER- Resolver channel-type-
Variable
in?- Requests to resolver -
Variable
out!- Responses from resolver
-
Variable
-
Protocol
P.RESOLVER.IN- Resolution service input protocol-
Tag
add.server- Add server to resolution space, responds with ok or error -
Tag
add.suffix- Add lookup suffix (domain name), responds with ok or error -
Tag
del.server- Remove server from resolution space, responds with ok or error -
Tag
del.suffix- Remove lookup suffix (domain name), responds with ok or error -
Tag
list.servers- List resolution servers, responds with server s, followed by ok -
Tag
list.suffixes- List lookup suffixes, responds with suffix es, followed by ok -
Tag
resolve.addr- Resolve address to name(s), responds with addrs or error -
Tag
resolve.name- Resolve name to address(es), responds with addrs or error
-
Tag
-
Protocol
P.RESOLVER.OUT- Resolution service output protocol-
Tag
addrs- Addresses/names -
Tag
error- Generic error -
Tag
ok- Success -
Tag
server- Server for name resolution (in response to list.servers ) -
Tag
suffix- Lookup suffix (in response to list.suffixes )
-
Tag
-
Record
RESOLVER.REC- This type holds resolver records-
Variable
dns.class- DNS class (e.g -
Variable
dns.type- DNS type (e.g -
Variable
ipv4.addr- IPV4 address -
Variable
name- Host name (including domain) -
Variable
name.len- Host name length
-
Variable
Declarations
resolver_chan.inc:30Record RESOLVER.REC
DATA TYPE RESOLVER.REC
This type holds resolver records.
resolver_chan.inc:32Variable dns.type
INT16
DNS type (e.g. DNS.TYPE.A).
resolver_chan.inc:33Variable dns.class
INT16
DNS class (e.g. DNS.CLASS.IN).
resolver_chan.inc:34Variable ipv4.addr
INT32
IPV4 address.
resolver_chan.inc:35Variable name
[128]BYTE
Host name (including domain).
resolver_chan.inc:36Variable name.len
INT
Host name length.
resolver_chan.inc:40Protocol P.RESOLVER.IN
PROTOCOL P.RESOLVER.IN
Resolution service input protocol.
resolver_chan.inc:42Tag add.server
add.server; INT32
Add server to resolution space, responds with ok or error.
resolver_chan.inc:43Tag del.server
del.server; INT32
Remove server from resolution space, responds with ok or error.
resolver_chan.inc:44Tag list.servers
list.servers
List resolution servers, responds with servers, followed by ok.
resolver_chan.inc:46Tag add.suffix
add.suffix; INT32; MOBILE []BYTE
Add lookup suffix (domain name), responds with ok or error.
resolver_chan.inc:48Tag del.suffix
del.suffix; INT32; MOBILE []BYTE
Remove lookup suffix (domain name), responds with ok or error.
resolver_chan.inc:49Tag list.suffixes
list.suffixes
List lookup suffixes, responds with suffixes, followed by ok.
resolver_chan.inc:51Tag resolve.name
resolve.name; MOBILE []BYTE
Resolve name to address(es), responds with addrs or error.
resolver_chan.inc:52Tag resolve.addr
resolve.addr; INT32
Resolve address to name(s), responds with addrs or error.
resolver_chan.inc:56Protocol P.RESOLVER.OUT
PROTOCOL P.RESOLVER.OUT
Resolution service output protocol.
resolver_chan.inc:58Tag addrs
addrs; MOBILE []RESOLVER.REC
Addresses/names.
resolver_chan.inc:59Tag error
error; INT
Generic error.
resolver_chan.inc:60Tag ok
ok
Success.
resolver_chan.inc:62Tag server
server; INT32
Server for name resolution (in response to list.servers).
resolver_chan.inc:63Tag suffix
suffix; INT32; MOBILE []BYTE
Lookup suffix (in response to list.suffixes).
resolver_chan.inc:67Channel type CT.RESOLVER
CHAN TYPE CT.RESOLVER
Resolver channel-type.
resolver_chan.inc:69Variable in?
CHAN P.RESOLVER.IN
Requests to resolver.
resolver_chan.inc:70Variable out!
CHAN P.RESOLVER.OUT
Responses from resolver.