-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Absolute DNS name are supported #229
Comments
We should add this, even if it's just to trim the trailing period so it works. However, we currently don't support the |
No rush on this; I discovered it while testing your bunny version 0.6 for rabbitmq which reworks the async part and relies on react/socket, react/dns and this broke during the upgrade test (and yes trimming the ending dot hotfix it) If the search directive isn’t supported, adding trailing dot support should not cause a BC break since all queries are already treated as absolute. Trimming the dot aligns with DNS standards without altering existing behavior until search is implemented (if I understand correctly) |
As brought up in reactphp#229 we're already treating all domains as absolute, so adding direct support for it is a small bug fix. That said, fully support for search domains requires a different handling of this and will be done in a different PR.
Just filed #230 to move that hot fix here. Running Bunny inside Kubernetes so having search support in there would make configuring it a little bit easier. |
The UdpTransportExecutor does not correctly handle FQDN with a trailing dot, such as
google.com.
. This notation is often used for in-cluster DNS queries and ensures efficiency by telling the resolver not to search using local domain suffixes. When passing such names, the resolution fails.I tested on php8.4, react/socket v1.16.0, react/dns v1.13.0
The text was updated successfully, but these errors were encountered: