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

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.