Skip to content

This project help to automate the dns proxy settings for local development environment.

Notifications You must be signed in to change notification settings

mahboobmonnamd/dns-masq

Repository files navigation

Docker DNS Setup

This project help to automate the dns proxy settings for local development environment.

semantic-release version code style: prettier Commitizen friendly GitHub All Releases

Installation

Using npm

To install dnsmasq-setup globally using npm, run the following:

npm install -g dnsmasq-setup

Usage

Before Starting dnsmasq-setup, make sure you are not running any other software that is listening on ports 53, 80, 443 and 19322. This will cause the command to fail. To allow the script to modify your systems DNS configuration, it may ask you to run the command with sudo the first time the script is run. Once configured, the script can be run with normal privileges.

Usage: dnsmasq-setup [options] [command]

A utility to help setup a docker development environment with host based routing

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  start          Pull and start the proxy container and configure DNS
  stop           Stop the proxy container
  restart        Restart the proxy container

Please feel free to follow readme

Thanks to Code Kitchen and AJ May