Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomlobato/dns_one
DNS server for many zones sharing only one or few records, written in Ruby.
https://github.com/tomlobato/dns_one
daemon dns dns-server ruby sysadmin
Last synced: 1 day ago
JSON representation
DNS server for many zones sharing only one or few records, written in Ruby.
- Host: GitHub
- URL: https://github.com/tomlobato/dns_one
- Owner: tomlobato
- License: mit
- Created: 2017-06-25T15:24:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-16T20:24:02.000Z (over 6 years ago)
- Last Synced: 2024-10-06T04:13:38.888Z (about 1 month ago)
- Topics: daemon, dns, dns-server, ruby, sysadmin
- Language: Ruby
- Homepage:
- Size: 108 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# DnsOne
[![Gem Version](https://badge.fury.io/rb/dns_one.svg)](https://badge.fury.io/rb/dns_one)
[![Code Climate](https://codeclimate.com/github/tomlobato/dns_one.svg)](https://codeclimate.com/github/tomlobato/dns_one)
![](http://ruby-gem-downloads-badge.herokuapp.com/dns_one?type=total&label=gem%20downloads)
By [Bettercall.io](https://bettercall.io/).Instead having a complex data schema to assign record sets to DNS zones, dns_one assigns one or a few record sets to many zones.
Configure your record sets in YML files and fetch your domains from a database or YML backend.
*DnsOne is written on top of the great gem [https://github.com/socketry/rubydns](https://github.com/socketry/rubydns). Big thanks!
## Installation
# gem install dns_one
## Usage
# dnsone setup
Configure ```/etc/dnsone.yml```. Then:
# systemctl enable dnsone
# systemctl start dnsoneAlso:
# systemctl status dnsone
# systemctl stop dnsone# dnsone remove
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Compatibility
IPV6 error in Ruby 2.3.0:
variables address, a1 and a2 should`nt be frozen in 2.3.0/lib/ruby/2.3.0/resolv.rb
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/tomlobato/dns_one.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).