Handbook
Glossary
rdata>byte-array ( rdata type -- obj )
Vocabulary
dns
Inputs
rdata
an
object
type
an
object
Outputs
obj
an
object
Definition
IN:
dns
GENERIC:
rdata>byte-array
( rdata type -- obj )
Methods
USING:
dns
kernel
;
M:
A
rdata>byte-array
drop
ipv4>byte-array
;
USING:
dns
kernel
;
M:
CNAME
rdata>byte-array
drop
>name
;
USING:
accessors
dns
kernel
sequences
;
M:
HINFO
rdata>byte-array
drop
[
cpu>>
>name
]
[
os>>
>name
]
bi
append
;
USING:
accessors
dns
endian
kernel
sequences
;
M:
MX
rdata>byte-array
drop
[
preference>>
2
>be
]
[
exchange>>
>name
]
bi
append
;
USING:
dns
kernel
;
M:
NS
rdata>byte-array
drop
>name
;
USING:
dns
kernel
;
M:
PTR
rdata>byte-array
drop
>name
;
USING:
accessors
combinators
combinators.smart
dns
endian
kernel
;
M:
SOA
rdata>byte-array
drop
[
{
[
mname>>
>name
]
[
rname>>
>name
]
[
serial>>
4
>be
]
[
refresh>>
4
>be
]
[
retry>>
4
>be
]
[
expire>>
4
>be
]
[
minimum>>
4
>be
]
}
cleave
]
B{
}
append-outputs-as
;
USING:
dns
kernel
;
M:
TXT
rdata>byte-array
drop
;