Returns the string name of a record TYPE (e.g. 1 -> "A"), or the number as text if unknown.
1
"A"
The numeric TYPE.
The type name or the decimal string for an unrecognized TYPE.
1.0.4
import { recordTypeName } from 'edgeport/dns';recordTypeName(28); // 'AAAA' Copy
import { recordTypeName } from 'edgeport/dns';recordTypeName(28); // 'AAAA'
Returns the string name of a record TYPE (e.g.
1->"A"), or the number as text if unknown.