Panel lists node domain as invaid if only AAAA record is avalible #368

Closed
opened 2026-02-05 17:30:14 +03:00 by OVERLORD · 1 comment
Owner

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:

Image

Image

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 gethostbynamel function. 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/4398

Panel 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?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
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: ![Image](https://github.com/user-attachments/assets/850befe3-f748-4e55-8df1-9f905001481a) ![Image](https://github.com/user-attachments/assets/ecf66691-9c8d-4f12-b6dc-5239b1820548) 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 `gethostbynamel` function. 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/4398 ### Panel Version 1.0.0-beta21 ### Wings Version 1.0.0-beta13 ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
OVERLORD added the 🟢 easy label 2026-02-05 17:30:14 +03:00
Author
Owner

@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

@marpisco commented on GitHub (Jul 3, 2025): My guess is applying the patch that Ptero used to check for records, over at this commit: https://github.com/pterodactyl/panel/pull/4398/commits/250784593270756f73078f5c0c8699ed58b834f8
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#368