Commit Graph

70 Commits (main)
 

Author SHA1 Message Date
Maël GRAMAIN f68f3bd946 Bump dependencies 10 months ago
Mael GRAMAIN 4f23676f89 Fix buffer signal.Notify (SCC-SA1017) 2 years ago
Mael GRAMAIN dcd5da2cfb Listen in TCP & UDP. 2 years ago
Maël 8e5bf6ebdb
Merge pull request #14 from outout14/axfr-support
CORS
2 years ago
Mael GRAMAIN 8744a7e5df AllowedOrigins []strings option in the configuration file for the API
The App{} struct have been updated to parse a new argument for the API configuration file.

AllowedOrigins permit the user to set what URLs are allowed to send request to the API via CORS headers.
2 years ago
Mael GRAMAIN 3aa2cd4984 README update 2 years ago
Maël cf1f7e2ee4
Merge pull request #12 from outout14/axfr-support
Axfr support
2 years ago
Mael GRAMAIN d071c8e6e2 Fix SCC-SA4006 (Deepsource) with Debugging for GetSoa() in the AXFR func 2 years ago
Mael GRAMAIN 1ec2b3c5a2 XFR is now limited to certains IP configured in the config file
https://github.com/outout14/sacrebleu-dns/issues/11
https://github.com/outout14/sacrebleu-dns/issues/11#issuecomment-753423572
2 years ago
Mael GRAMAIN 384ca40434 New parameters in the config file 2 years ago
Mael GRAMAIN 78744ea1ac AXFR support
#11
2 years ago
Mael G. d1b9dba472 Using sqlMigrate from sacrebleu-api 2 years ago
Mael G. 1b00ac0528 Clarification of config example
Since the SQL database port is 3306, the type should be set as "mysql".
2 years ago
Mael G. 1cf5c4f3d5 Using api structs for the Records 2 years ago
Mael G. e05cab9d5e Multiple records support 2 years ago
Maël a1cd3ea5a1
Merge pull request #6 from outout14/deepsource-transform-f033f2c5
Format code with gofmt
2 years ago
Maël 6f8f0ce7d6
Merge pull request #8 from luclu7/add-socket-support
Add socket support
2 years ago
Luclu7 15910ae7a2
updated README.md 2 years ago
Luclu7 44f07ca2a2
add support for sockets (mostly clarification) 2 years ago
Luclu7 f95ab468b3
add built binary to gitignore 2 years ago
Luclu7 8220eacb10
config: fixed app_mode
also changed like Ip to IP and Db to DB
2 years ago
deepsource-autofix[bot] 2359e07146
Format code with gofmt
This commit fixes the style issues introduced in e9e84ea according to the output
from gofmt.

Details: https://deepsource.io/gh/outout14/sacrebleu-dns/transform/67d36107-8c80-4374-8608-5a30493582d4/
2 years ago
Maël e9e84ea076
Merge pull request #5 from luclu7/patch-2
defaults to ./config.ini
2 years ago
Luclu7 20ed884d05
defaults to ./config.ini
not the best option but it's at least better
2 years ago
Mael G. aed754d74c Badges on readme 2 years ago
Mael G. deb28bbff9 GORM logging level is now based on the AppMode configuration 2 years ago
Mael G. 0b6b6d977c Simplify returning boolean expression 2 years ago
Mael G. 607dc95b5a Port double dots is now hard written in the code 2 years ago
Mael G. 23bbef688b Updated readme 2 years ago
Mael G. 506e0d8422 Using the default DNS port as default in configuration file 2 years ago
Mael G. eeea8c17b7 SQL database migration command 2 years ago
Mael G. 3737e17ecf Switched sql funcs returns from int to bool 2 years ago
Mael G. 02ee609cc4 Readme updated
Informations updated
2 years ago
Mael G. 319f1abb2c Merge remote-tracking branch 'origin/main' into main 2 years ago
Maël 235e1605e9
Merge pull request #2 from luclu7/patch-1
Fix readme.md
2 years ago
Mael G. 4a14ad594b Switching from database/sql to GORM 2 years ago
Luclu7 55be51c41c
fixed readme
REDIS => Redis
2 years ago
Mael G. 43e8ab8210 PostgreSQL Support
Implementation of PostgreSQL database engine in the DNS server using jackc/pgx (as database/sql driver). 
The user can select what database type he want in the config.ini file under the database section.
2 years ago
Mael G. efffac8b0a Refactoring of some vars and funcs name
Theses change breaks old configuration files but make the code readability better thanks to VSCode plugins.
2 years ago
Maël 7cf1ae926b
Merge pull request #1 from fossabot/add-license-scan-badge
Add license scan report and status
2 years ago
fossabot 9a6daa346e Add license scan report and status
Signed off by: fossabot <badges@fossa.com>
2 years ago
Mael G. 98537616c8 Commenting 2 years ago
Mael G. 3459498605 Renamed the default DB name 2 years ago
Mael G. e70571c450 Better SqlTest() function 2 years ago
Mael G. 61d6d47637 Unused code removed 2 years ago
Mael G. de3bcdd7fc Service file 2 years ago
Mael G. 44147b07f2 Configuration file patch is dynamic 2 years ago
Mael G. c858b1b5e1 test sql connexion before launch 2 years ago
Mael G. 3f7fa58fd6 Github renamed master branch to main... 2 years ago
Mael G. 9be5aa8718 Updated makefile 2 years ago