2022-08-18 14:58:17 +00:00
|
|
|
export interface ResolverOptions {
|
2022-08-18 15:14:05 +00:00
|
|
|
type: string;
|
2022-08-18 15:01:28 +00:00
|
|
|
customType?: string;
|
2022-08-18 15:14:05 +00:00
|
|
|
options?: any;
|
2022-08-18 14:58:17 +00:00
|
|
|
}
|
|
|
|
export interface DNSResult {
|
2022-08-18 18:03:40 +00:00
|
|
|
records: DNSRecord[];
|
2022-08-18 15:01:28 +00:00
|
|
|
error?: Error;
|
2022-08-18 14:58:17 +00:00
|
|
|
}
|
|
|
|
export interface DNSRecord {
|
2022-08-18 15:01:28 +00:00
|
|
|
type: string;
|
|
|
|
customType?: string;
|
|
|
|
value: string;
|
2022-08-18 14:58:17 +00:00
|
|
|
}
|
|
|
|
declare const DNS_RECORD_TYPE: {
|
2022-08-18 15:14:05 +00:00
|
|
|
DEFAULT: string;
|
2022-08-18 15:01:28 +00:00
|
|
|
A: string;
|
|
|
|
CNAME: string;
|
|
|
|
NS: string;
|
|
|
|
CONTENT: string;
|
|
|
|
TEXT: string;
|
|
|
|
ALL: string;
|
|
|
|
CUSTOM: string;
|
2022-08-18 14:58:17 +00:00
|
|
|
};
|
|
|
|
export { DNS_RECORD_TYPE };
|
2022-08-18 15:01:28 +00:00
|
|
|
//# sourceMappingURL=types.d.ts.map
|