Skip to content

Commit

Permalink
change to use cloudflares proxies by default, upgrade packages, updat…
Browse files Browse the repository at this point in the history
…e readme
  • Loading branch information
ekristen committed Apr 1, 2018
1 parent d9bfc33 commit b22b6ee
Show file tree
Hide file tree
Showing 4 changed files with 2,476 additions and 8 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ I can guarentee this app isn't perfect but fulfills my current needs for routing

`npm install -g dns-proxy`

## Features

* Override nameservers for TLD
* Override nameservers for Domain
* Set IP for entire domain or TLD. (example: if you want to answer 192.168.11.1 for local.dev)
* Set IP for host
* Wildcard Support

## Examples

For nameserver overrides if an answer isn't received by a threshold (350ms by default) DNS proxy will fallback to one of the default nameservers provided in the configuration (by default 8.8.8.8 or 8.8.4.4)
Expand Down
4 changes: 2 additions & 2 deletions dns-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const defaults = {
host: '127.0.0.1',
logging: 'dnsproxy:query,dnsproxy:info',
nameservers: [
'8.8.8.8',
'8.8.4.4'
'1.1.1.1',
'1.0.0.1'
],
servers: {},
domains: {
Expand Down
Loading

0 comments on commit b22b6ee

Please sign in to comment.