pmcf 2.71.5 → 2.71.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/services/bind.mjs +5 -11
package/package.json
CHANGED
package/src/services/bind.mjs
CHANGED
|
@@ -9,12 +9,7 @@ import {
|
|
|
9
9
|
dnsRecordTypeForAddressFamily,
|
|
10
10
|
sortZoneRecords
|
|
11
11
|
} from "../dns-utils.mjs";
|
|
12
|
-
import {
|
|
13
|
-
ExtraSourceService,
|
|
14
|
-
Endpoint,
|
|
15
|
-
serviceEndpoints,
|
|
16
|
-
addresses
|
|
17
|
-
} from "pmcf";
|
|
12
|
+
import { ExtraSourceService, serviceEndpoints, addresses } from "pmcf";
|
|
18
13
|
import { addType } from "../types.mjs";
|
|
19
14
|
import { Service, ServiceTypeDefinition } from "../service.mjs";
|
|
20
15
|
import { ExtraSourceServiceTypeDefinition } from "../extra-source-service.mjs";
|
|
@@ -366,14 +361,13 @@ export class BindService extends ExtraSourceService {
|
|
|
366
361
|
|
|
367
362
|
for (const source of sources) {
|
|
368
363
|
console.log(
|
|
369
|
-
"
|
|
370
|
-
source.
|
|
371
|
-
source.
|
|
372
|
-
source.toString()
|
|
364
|
+
"SOURCE",
|
|
365
|
+
source.toString(),
|
|
366
|
+
[...source.localDomains].join(" ")
|
|
373
367
|
);
|
|
374
368
|
|
|
375
369
|
for (const domain of source.localDomains) {
|
|
376
|
-
const locationName = source.name;
|
|
370
|
+
const locationName = source.location.name;
|
|
377
371
|
const reverseZones = new Map();
|
|
378
372
|
|
|
379
373
|
const config = {
|