-
Notifications
You must be signed in to change notification settings - Fork 100
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
Failed to load zones or crashes on queries #122
Comments
Hi @SivaKesava1, I'm showing that the JSON you've pasted specifies the TTLs as strings ("500") not integers. I was able to reproduce the error, and also to successfully load/query the zone switching the TTL to integers |
Thanks, @san983 for the reply. I, now run into JSON issues with the release command. I have the following Dockerfile to run ErlDNS:
where I have also added the above When I run
I saw that this commit 08f1a8a#diff-427d8ddce21ccc4fae24fb547c7a82c2a793ed57208d8343e519e0aec8119ff7 updated to the default JSON module. However, I am still seeing issues on Ubuntu:Jammy. |
@SivaKesava1 I'm showing that your Dockerfile actually installs erlang v24.x which is EOL already. The current version of
|
Hi,
I built
erldns
usingmake
and then added the following file aserldns.config
.I have placed the following
campus.json
file inpriv
directory.Then I ran
./rebar3 release
. Though there were some out of date warnings, it successfully assembled it. Then I ran./_build/default/rel/erldns/bin/erldns foreground
which gave the errorFailed to load zones (module: erldns_zone_loader, event: read_file_error, reason: enoent)
. Whatever I did and wherever I placed the file, it gave the same error. I finally tried naming the file asexample.zone.json
, and it successfully loaded it!! I am not sure what the problem here is, and any help would be useful.The logs while loading the file were:
Then I queried it using
dig @127.0.0.1 +norecurse t.e.campus.edu
, which resulted in a huge crash report message. Some parts of that message are:System:
OS: Ubuntu bionic (actually a docker image)
Erlang installed using the steps mentioned here as the
apt install erlang
gave errors for themake
.I am not used to Erlang, so I did not try much to find the root cause. Thanks for any help in advance
The text was updated successfully, but these errors were encountered: