Hello Vladimir-san,
I set config as follows.
-- Load Useful modules
modules = {
  'policy',   -- Block queries to local zones/bad sites
  'view',     -- Views for certain clients
  'hints > iterate',    -- Hints AFTER iterate
  'stats',    -- Track internal statistics
  'priming',  -- Initializing a DNS Resolver with Priming Queries implemented according.
  'detect_time_skew', -- System time skew detector
  'detect_time_jump', -- Detect discontinuous jumps in the system time
  'daf',
  'version',
  predict = {
    window = 180, -- 180 minutes sampling window
    period = 24*(60/15) -- track last 24 hours
  },
  'bogus_log',
}
-- Cache prefilling
modules.load('prefill')
prefill.config({
      ['.'] = {
              url = 'https://www.internic.net/domain/root.zone',
              ca_file = '/etc/pki/tls/certs/ca-bundle.crt',
              interval = 86400  -- seconds
      }
})
modules.list() -- Check module call order
For all contents, please check the following.
When the verbose option is enabled, the following message is output and stopped.
[29308][iter]   '.' type 'NS' id was assigned, parent id 0
[29308][plan]   plan '.' type 'DNSKEY'
[57247][iter]     '.' type 'DNSKEY' id was assigned, parent id 29308
[     ][nsre] score 1 for 101.101.101.101;       cached RTT: -1
[     ][nsre] score 1 for 1.1.1.1;       cached RTT: -1
[     ][nsre] score 1 for 1.0.0.1;       cached RTT: -1
[     ][nsre] score 1 for 2606:4700:4700::1111;  cached RTT: -1
[57247][resl]     => querying: '101.101.101.101' score: 1 zone cut: '.' qname: '.' qtype: 'DNSKEY' proto: 'udp'
[    0][plan] plan '.' type 'NS'
[ 3129][iter]   '.' type 'NS' id was assigned, parent id 0
[     ][nsre] score 1 for 101.101.101.101;       cached RTT: -1
[     ][nsre] score 1 for 1.1.1.1;       cached RTT: -1
[     ][nsre] score 1 for 1.0.0.1;       cached RTT: -1
[     ][nsre] score 1 for 2606:4700:4700::1111;  cached RTT: -1
[ 3129][resl]   => querying: '101.101.101.101' score: 1 zone cut: '.' qname: '.' qtype: 'NS' proto: 'udp'
[prefill] downloading root zone...
[prefill] saving root zone...
[    0][zimport] [zscanner] started; zone file `root.zone`
[zscanner] line: 1: parse error; code: -986 ('owner is invalid')
Segmentation fault (core dumped)
Is it necessary to check dump?
Best regards.
On 7月 8 2018, at 3:56 午後, Vladimír Čunát <vladimir.cunat@nic.cz> wrote:
On 07/08/2018 02:27 AM, Yoshi Horigome wrote:
Is this supposed behavior?
Still, I expect it would be nice to make the implementation follow redirects anyway...
