dns.server: add CNAME to rr->rdata-names
parent
a36307a11b
commit
094cb776fb
|
@ -50,9 +50,10 @@ IN: dns.server
|
||||||
|
|
||||||
: rr->rdata-names ( rr -- names/f )
|
: rr->rdata-names ( rr -- names/f )
|
||||||
{
|
{
|
||||||
{ [ dup type>> NS = ] [ rdata>> {1} ] }
|
{ [ dup type>> NS = ] [ rdata>> {1} ] }
|
||||||
{ [ dup type>> MX = ] [ rdata>> exchange>> {1} ] }
|
{ [ dup type>> MX = ] [ rdata>> exchange>> {1} ] }
|
||||||
{ [ t ] [ drop f ] }
|
{ [ dup type>> CNAME = ] [ rdata>> {1} ] }
|
||||||
|
{ [ t ] [ drop f ] }
|
||||||
}
|
}
|
||||||
cond ;
|
cond ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue