Comments (6)
Looks like I need to set up a newer version of php on my dev environment. I am using php v8.1.x and it seems there is no issue on that version.
This particular part of the code is not exactly written well so I'm not surprised it is starting to have issue with newer php versions. I'll see if I can get a newer version of php set up and get this code cleaned up. Thanks for letting me know!
from ona.
Hi Matt,
this issue affects not just CNAMEs, but also (at least) MX and TXT records.
Is there a time frame for a fix? My workaround with footer files is tiresome. I appreciate your efforts but I start to think about switching to a different IPAM system. Downgrading my PHP version is not an option.
from ona.
@heppel Sorry for my delay in getting back to you on this. Well I have done what I can to try and recreate this and have not yet had the issue.
I have installed php 8.2.10 on ubuntu as well as php 8.2.7 on debian12 (via default docker container images). I am able to add CNAMES, MX and TXT records with no issues.
I'm not sure which method you use to install/upgrade ONA but I would maybe refresh your installation to see if something is possibly missing? I usually install my systems via a direct git clone which allows for easy updates as well as to see a comparison of local files with the core repo.
For reference.. my line 1074 of the functions_general.inc.php file looks like this:
if ((strlen($ip) >= 3) and (@strpos($ip, ':',3) !== false)) {
from ona.
Well, I'm using the official version from the "master" branch. The line you are citing is from the "develop" branch. It's different in the "master" branch.
Are you saying, that I should switch to the "develop" branch?
from ona.
Well this is just downright embarrassing. I clearly lost track timeframes. I looked at my develop branch and thought that my changes were already released in 19.0.1. CLEARLY they were not.
I have released a proper update (19.0.2) that should include the fixes to address your issue. Sorry for the extreme waste of time and frustration.
from ona.
Thank you.It's working now since upgrading to 19.0.2.
from ona.
Related Issues (20)
- rndc.key HOT 1
- DNS Server Entries Error with MariaDB >= 10.2 HOT 2
- Split dns; internal A local record with rest of the domain resolved via global forward? HOT 3
- Valid IPv6 subnet masks not allowed HOT 2
- /etc/onabase: Permission denied HOT 1
- Build_dns creates unusable ptr records
- build_bind ignores dns_views?
- Apache2 error on Ubuntu 21.10 HOT 4
- upgrade issue HOT 15
- dcm.pl throws error when getting empty custom_attribute_display list
- Custom Attribute modify changes the type to the last one of the list HOT 4
- LDAP authentication failed with 'Unknown User' HOT 9
- dcm.pl uses with local user
- Reverse-proxy issues HOT 1
- User groups disappear while upgrading to v19.0.0 HOT 3
- Automatically updating dhcpd.conf.ona and named.conf.ona
- Bug when display hosts' shared IP HOT 1
- Can't add subnets HOT 1
- New Install on Ubuntu 24.04: no possibility to login with admin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ona.