reload-acls ignores command line arguments #490

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

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=""
@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
fixed in 3037 thanks peter ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment