Ticket #490 (closed defect: fixed)
reload-acls ignores command line arguments
| Reported by: | peter | Owned by: | ahu |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | recursor | Version: | 3.4-pre |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When invoking rec_control reload-acls, recursor re-parses recursor.conf to pick up changes in the allow-from and allow-from-file lines. It ignores any command line arguments given to the recursor. Result:
$ sudo ./pdns_recursor --allow-from-file=acl ... $ sudo ./rec_control get-parameter allow-from-file allow-from-file="acl" $ sudo ./rec_control reload-acls Jun 15 14:02:13 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 ok $ sudo ./rec_control get-parameter allow-from-file allow-from-file=""
Change History
Note: See
TracTickets for help on using
tickets.