We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we try to encode a response which has an Authority (nslist) section, the library crashes
** (FunctionClauseError) no function clause matching in :inet_dns.encode_res_section/3 (kernel) inet_dns.erl:275: :inet_dns.encode_res_section(<<155, 118, 133, 0, 0, 1, 0, 0, 0, 1, 0, 1, 5, 100, 114, 105, 110, 107, 4, 116, 101, 115, 116, 0, 0, 29, 0, 1>>, {2, {["drink", "test"], 12, nil, {["test"], 18, nil, nil}}}, [%DNS.Resource{bm: [], class: :in, cnt: 0, data: {'ns1.test', 'root.drink.test', 2022082613, 1800, 300, 604800, 86400}, domain: 'drink.test', func: false, tm: :undefined, ttl: 0, type: :soa}]) (kernel) inet_dns.erl:242: :inet_dns.encode/1 (drink) lib/drink/server.ex:315: Drink.Server.make_response/4 (drink) lib/drink/server.ex:157: Drink.Server.serve/6
Answer or Additional section do not have the problem.
The text was updated successfully, but these errors were encountered:
Encode the Authority section. Closes tungd#54
21bd477
No branches or pull requests
If we try to encode a response which has an Authority (nslist) section, the library crashes
Answer or Additional section do not have the problem.
The text was updated successfully, but these errors were encountered: