Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liut/cicada
A DNS server for CI/CD
https://github.com/liut/cicada
ci dns golang
Last synced: 9 days ago
JSON representation
A DNS server for CI/CD
- Host: GitHub
- URL: https://github.com/liut/cicada
- Owner: liut
- License: mit
- Created: 2023-05-11T07:57:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T07:19:23.000Z (5 months ago)
- Last Synced: 2024-08-29T08:48:21.124Z (5 months ago)
- Topics: ci, dns, golang
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cicada
A dns server for CI/CD
## Getting started
```bash
sudo apt install redis-server# build
make dist# usage
./cicada -h# add a record
./cicada -name feature-dev.mycom.work -ip 172.18.19.3 -days 10# start dns server
./cicada -serv -port=1353# test
dig @127.0.0.1 -p 1353 feature-dev.mycom.work# update with nsupdate
echo "server 127.0.0.1 1353
zone mycom.work.
update add feature-dev.mycom.work. 180 IN A 172.18.19.4
send
quit
" | nsupdate -d# update with http PUT
curl -X PUT -H "Content-Type: application/json" -d '[{"name":"feature-dev.mycom.work","ip":"172.18.19.5"}]' http://localhost:1354/api/dns/a```