Skip to content
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

BUG in your code #6

Open
ghost opened this issue Oct 17, 2017 · 0 comments
Open

BUG in your code #6

ghost opened this issue Oct 17, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2017

After long long trial and error we finally found the problem. When we updated our records, our DKIM records were cut off ....

In your DnsRecord.PHP class, you use the function substr($value, 0, 200) in setData function.
this cuts off the record at 200 characters ! Major mistake when working with DKIM records which can be considerably longer when using 1024 or even 2048 bit keys !

Solution : Just parse the $value instead of using a substring of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants