Ticket #490 (closed defect: fixed)

Opened 11 months ago

Last modified 4 months ago

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

Changed 11 months ago by peter

  • component changed from auth to recursor

Changed 4 months ago by ahu

  • status changed from new to closed
  • resolution set to fixed

fixed in 3037 thanks peter ;-)

Note: See TracTickets for help on using tickets.