Skip to content

Add DNS testing setup using BIND 9 #18693

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

Draft
wants to merge 3 commits into
base: PHP-8.3
Choose a base branch
from
Draft

Add DNS testing setup using BIND 9 #18693

wants to merge 3 commits into from

Conversation

bukka
Copy link
Member

@bukka bukka commented May 28, 2025

This creates a test framework for testing PHP DNS functions that are currently completely untested. It provides script for starting BIND 9 DNS server that uses locally defined zone files. Those can be then used for creating specific test scenarios without a need to use online tests. As part of that, the systemd resolv script is provided to use BIND as a primary resolver. This all is then used in the CI.

The target branch is set to 8.3 because this is meant to be used for testing of fixes for the bug fixes.

@bukka
Copy link
Member Author

bukka commented May 28, 2025

This is a draft for now as it will require most likely more work to make it work in pipeline. It works locally for me but I'm not expecting CI to work the same...

@bukka bukka force-pushed the dns-test branch 3 times, most recently from 198090e to 4f83408 Compare June 23, 2025 10:15
This creates a test frameword for testing PHP DNS functions that are
currently completely untested. It provides script for starting BIND 9
DNS server that uses locally defined zone files.  Those can be then used
for creating specific test scenarios without a need to use online tests.
As part of that, the systemd resolv script is provided to use BIND as a
primary resolver. This all is then used in the CI.
@bukka bukka force-pushed the dns-test branch 3 times, most recently from cfc5ae6 to 287454f Compare June 23, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant