Skip to content
GitLab
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 572
    • Issues 572
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 110
    • Merge requests 110
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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 ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #381
Closed
Open
Issue created Jul 03, 2018 by Tony Finch@fanfOwner

mirror on/off reconfig incomplete

If I switch mirror on or off using rndc reconfig, named does not reconfigure the mirror zone completely.

Test 1

I start with named.conf containing only the mirror example from the ARM (no other zones, no options section).

I dig . soa @::1 and I get flags: qr rd ra ad; as expected

I edit named.conf to comment out the mirror yes line and run rndc reconfig.

When I dig again I get the same flags. I expected AA=1 AD=0.

I restart named and dig again, and I get flags: qr aa rd ra; as expected.

Test 2

Having started named with mirroring disabled/commented out (the state at the end of Test 1), I uncomment the mirror line and run rndc reconfig to enable it again.

When I dig again I get flags: qr rd ra; which has AA=0 as expected but not AD=1.

Test 3

I stop named and add the following to named.conf.

options {
        recursion no;
        allow-query-cache { localhost; };
        allow-query { localhost; };
};

I start named again (mirroring is enabled). When I dig I get flags: qr rd ad; as expected.

I edit named.conf to turn off mirroring, and remove the allow-query-cache option, so the configuration becomes auth-only. I run rndc reconfig.

When I dig I get REFUSED. I expected an AA=1 answer. After I restart named I get the answer as expected.

Assignee
Assign to
Time tracking