mirror of
https://github.com/yswery/PHP-DNS-SERVER.git
synced 2026-04-26 09:45:54 +03:00
[PR #90] [MERGED] PhpDnsServer phar and cli phar #96
Labels
No labels
bug
enhancement
enhancement
hacktoberfest
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PHP-DNS-SERVER#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/yswery/PHP-DNS-SERVER/pull/90
Author: @xaoseric
Created: 9/23/2019
Status: ✅ Merged
Merged: 2/21/2020
Merged by: @samuelwilliams
Base:
master← Head:master📝 Commits (8)
934cfc5add support for running PhpDnsServer from command line with a filesystem resolver7b74ea0default to current directory on windows and /etc/phpdnsserver directory on unixe2378a7implement fileconfig reading and saving23e8726fix ServerTest4330ec4Server constructor cleanup, only register filesystem if neededdbaa637whitespace fixes12fd80aadded a php based installer, and updated readme5f5a581ran php-cs-fixer against the updates📊 Changes
21 files changed (+771 additions, -4 deletions)
View changed files
📝
README.md(+19 -0)➕
bin/PhpDnsConsole.php(+13 -0)➕
bin/PhpDnsInstaller.php(+65 -0)➕
bin/PhpDnsServer.php(+65 -0)📝
composer.json(+11 -2)➕
console.box.json(+13 -0)➕
installer.box.json(+13 -0)➕
server.box.json(+13 -0)➕
src/Config/FileConfig.php(+76 -0)➕
src/Config/RecursiveArrayObject.php(+31 -0)➕
src/Console/CommandServer.php(+31 -0)➕
src/Console/Commands/VersionCommand.php(+33 -0)➕
src/Exception/ConfigFileNotFoundException.php(+18 -0)➕
src/Exception/InvalidZoneFileException.php(+18 -0)➕
src/Exception/ZoneFileNotFoundException.php(+18 -0)➕
src/Filesystem/FilesystemManager.php(+99 -0)📝
src/Resolver/AbstractResolver.php(+13 -0)➕
src/Resolver/JsonFileSystemResolver.php(+162 -0)📝
src/Server.php(+54 -1)📝
tests/ServerTest.php(+1 -1)...and 1 more files
📄 Description
Adds the beginning of a cli interface for PhpDnsServer, and a filesystem config for loading all .json files from a zones directory.
Some additional ideas, if php is running on linux or unix we could default to /etc/phpdnsserver/settings.json or /etc/phpdns.conf for a config file
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.