Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soveran/terco
Obstinate DNS
https://github.com/soveran/terco
Last synced: about 1 month ago
JSON representation
Obstinate DNS
- Host: GitHub
- URL: https://github.com/soveran/terco
- Owner: soveran
- License: mit
- Created: 2015-06-03T13:05:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-03T13:06:41.000Z (over 9 years ago)
- Last Synced: 2024-07-20T04:26:17.096Z (about 2 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 16
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
terco
=====Obstinate DNS
Description
-----------Terco is a DNS server that always resolves to 127.0.0.1.
It binds to port 53 by default, so probably you will have to sudo
it. If you want to run it in a different port, pass the port number
as the first argument.One possible use is to configure your computer to resolve all requests
for a given TLD to your own computer.Usage
-----``` console
$ terco
Listening on port 53
```Or, if you want to run it in the background:
```console
$ terco &
```Now you can tell your OS to use `127.0.0.1:53` as your DNS for a
given TLD. Here's how to do it in OS X:```console
$ sudo mkdir /etc/resolver
$ sudo sh -c 'echo "nameserver 127.0.0.1" > /etc/resolver/dev'
```Now all domains that use the `.dev` TLD will point to `127.0.0.1`.
## Installation
You can install it using rubygems.
```
$ gem install terco
```