You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let‘s assume you are running ONA (commit opennetadmin/ona@0ab7fd7 ) on an Apache2 server on port 8666 and this is again proxied via another apache server 1 with the configuration:
Afterwards, the script build_bind at commit 5924d5c is run which builds a bind9 /opt/ona/etc/bind/zone_data/named-sub.example.org zone file, then the file named-sub.example.org is truncated after 76 lines. Of course you need at least 66 entries (first 10 lines are zone file header) for sub.example.org, so that you can see that the file is truncated. The 76 lines of the file are completely correct, just the rest is missing.
This error does not affect reverse lookup files, i.e. named-*.ip6.arpa or named-*.in-addr.arpa files; they are complete and can exceed 76 lines.
I have no idea why exactly 76 lines, but the number seems to be constant and not changing.
When I remove the proxy, i.e. configure dcm.pl to use:
url => http://127.0.0.1:8666/ona/dcm.php
then named-sub.example.org is complete and does exceed 76 lines, so the problem arises really by using the proxy. I did not observe any other problems with the proxy.
When you read until this point and think, this cannot be and is wired behavior, especially the 76 lines, then I agree. But I had this problem already ~2 years ago, forgot it meanwhile, and configured now a server again with a proxy and the same problem occurs, so I can reproduce it on a second machine.
By the way, The apache proxy is just nice, I have no issues to run build_bind directly on http://127.0.0.1:8666/ona/ , just want to document the problem here.
1: When you wonder whey I am doing this, the first Apache server is running in a docker container.
The text was updated successfully, but these errors were encountered:
By the way, has anyone been able to solve this problem? I am not using proxy but the problem is present. I noticed that the file cannot be more than 8 kilobytes. Is this due to some limitations of the perl?
Let‘s assume you are running ONA (commit opennetadmin/ona@0ab7fd7 ) on an Apache2 server on port 8666 and this is again proxied via another apache server 1 with the configuration:
And
dcm.pl
is configured to use:Afterwards, the script
build_bind
at commit 5924d5c is run which builds a bind9/opt/ona/etc/bind/zone_data/named-sub.example.org
zone file, then the filenamed-sub.example.org
is truncated after 76 lines. Of course you need at least 66 entries (first 10 lines are zone file header) for sub.example.org, so that you can see that the file is truncated. The 76 lines of the file are completely correct, just the rest is missing.This error does not affect reverse lookup files, i.e.
named-*.ip6.arpa
ornamed-*.in-addr.arpa
files; they are complete and can exceed 76 lines.I have no idea why exactly 76 lines, but the number seems to be constant and not changing.
When I remove the proxy, i.e. configure
dcm.pl
to use:then
named-sub.example.org
is complete and does exceed 76 lines, so the problem arises really by using the proxy. I did not observe any other problems with the proxy.When you read until this point and think, this cannot be and is wired behavior, especially the 76 lines, then I agree. But I had this problem already ~2 years ago, forgot it meanwhile, and configured now a server again with a proxy and the same problem occurs, so I can reproduce it on a second machine.
By the way, The apache proxy is just nice, I have no issues to run build_bind directly on http://127.0.0.1:8666/ona/ , just want to document the problem here.
1: When you wonder whey I am doing this, the first Apache server is running in a docker container.
The text was updated successfully, but these errors were encountered: