Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 529
    • Issues 529
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 98
    • Merge requests 98
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #3266
Closed
Open
Created Apr 06, 2022 by Anton Castelli@anton.castelli

"rndc" system test fails due to rate-limit of built-in "_bind" view

Summary

A series of tests against the built-in "_bind" view sometimes fails due to the rate-limit.

BIND version used

9.18.1

Steps to reproduce

Run the "rndc" system test on a sufficiently fast machine. It is unclear to me what constitutes "sufficiently fast". I've had it succeed on low-end VMs and fail on real hardware.

What is the current bug behavior?

Too many queries against the "_bind" built-in view occur within a second, causing the rate limiting to kick in and some of the tests fail.

What is the expected correct behavior?

The "rndc" system test always succeeds.

Relevant logs and/or screenshots

The log file from the "ns4" nameserver for the "rndc" test. See lines 3353-3356. rndc.ns4.named.run.fail

Possible fixes

I first tried to override the built-in "_bind" view to remove the rate-limit, but this just caused more tests to fail due to the extra unexpected zones.

Eventually I simply introduced artificial delay after the third query. I don't know if this is the correct fix, but it seems to work consistently. rndc.git.patch

Assignee
Assign to
Time tracking