Showing 2 of 4 files from the diff.

@@ -183,6 +183,9 @@
Loading
183 183
      switch (record.type) {
184 184
        case hsTypes.GLUE4:
185 185
        case hsTypes.GLUE6:
186 +
          if (!util.isSubdomain(name, record.ns))
187 +
            continue;
188 +
          break;
186 189
        case hsTypes.SYNTH4:
187 190
        case hsTypes.SYNTH6:
188 191
          break;
@@ -190,9 +193,6 @@
Loading
190 193
          continue;
191 194
      }
192 195
193 -
      if (!util.isSubdomain(name, record.ns))
194 -
        continue;
195 -
196 196
      additional.push(record.toGlue(record.ns, this.ttl));
197 197
    }
198 198
@@ -237,7 +237,7 @@
Loading
237 237
          continue;
238 238
239 239
        set.add(rr.data.ns);
240 -
      }
240 +
      }``
241 241
242 242
      zone.push(rr);
243 243
    }

@@ -291,7 +291,7 @@
Loading
291 291
    // Handle reverse pointers.
292 292
    if (tld === '_synth' && labels.length === 2 && name[0] === '_') {
293 293
      const hash = util.label(name, labels, -2);
294 -
      const ip = base32.decodeHex(hash.substring(1));
294 +
      const ip = IP.map(base32.decodeHex(hash.substring(1)));
295 295
      const res = new Message();
296 296
      const rr = new Record();
297 297
@@ -397,7 +397,7 @@
Loading
397 397
398 398
    const res = await this.response(req, rinfo);
399 399
400 -
    if (!util.equal(tld, '_synth'))
400 +
    if (!util.equal(tld, '_synth.'))
401 401
      this.cache.set(name, type, res);
402 402
403 403
    return res;
Files Coverage
lib 62.77%
Project Totals (129 files) 62.77%
Notifications are pending CI completion. Periodically Codecov will check the CI state, when complete notifications will be submitted. Push notifications now.

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading