New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : response-policy option #229

Closed
cahluor opened this Issue Jun 23, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@cahluor

cahluor commented Jun 23, 2015

Hello,

Would it be possible to support the "response-policy" option of bind ?

it looks like its just a matter of adding a line in table fm_dns_functions like :
('options', 'response-policy', '( quoted_string )', 'no', 'O', NULL, 'no'),

but even if it should work for most usages I'am not quite sure of how the def_type should be.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Jun 23, 2015

That entry is very close. The following should work with the caveat there will be no error checking in the value you define when using the option and I believe the whole configuration would have to be defined in a single line with the current implementation of fmDNS.

INSERT INTO fm_dns_functions VALUES ('options', 'response-policy', '( string )', 'no', 'O', NULL, 'no');

More info on RPZ - http://www.zytrax.com/books/dns/ch7/rpz.html

@cahluor

This comment has been minimized.

cahluor commented Jul 1, 2015

OK thanks, it works well

@cahluor cahluor closed this Jul 1, 2015

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Jul 1, 2015

Good to hear. I'd like to leave this open until it's been integrated into an official release.

@WillyXJ WillyXJ reopened this Jul 1, 2015

@WillyXJ WillyXJ added this to the 2.x release milestone Aug 20, 2015

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Aug 20, 2015

This has been added to the next v2.x release.

@WillyXJ WillyXJ closed this Aug 20, 2015

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