mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Panel lists node domain as invaid if only AAAA record is avalible #367
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MaZe3D on GitHub (Jul 2, 2025).
Originally assigned to: @Boy132 on GitHub.
Current Behavior
Currently the Panel lists only A-Records as valid in the Panel. But if a host is reachable only via IPv6 and therefore the domain only has an AAAA-Record, the panel ignores it.
Expected Behavior
I would expect that the Panel will also check if AAAA-Records are available.
As an example googles IPv4 and IPv6 only domains:
As you can see only A-Records are accepted.
Steps to Reproduce
Create a DNS Entry that only points to a AAAA-Record. Try to add it as node in Pelican. It will show as invalid.
I think I found the code that is responsible for this:
The Panel uses the
gethostbynamelfunction. This PHP function is known for only supporting IPv4, which is criticized for years. The exact same issue was part of Pterodactyl a few years ago: https://github.com/pterodactyl/panel/pull/4398Panel Version
1.0.0-beta21
Wings Version
1.0.0-beta13
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@marpisco commented on GitHub (Jul 3, 2025):
My guess is applying the patch that Ptero used to check for records, over at this commit:
2507845932