dns

command module
v0.0.0-...-db6b989 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 12 Imported by: 0

README

dns

# dns server listening on 192.168.0.3
# *.server.com to 192.168.0.2
dns --domain "*.server.com:192.168.0.2" --addr 192.168.0.3

# set default dns server
dns --domain "*.server.com:192.168.0.2" --addr 192.168.0.3 --default 8.8.8.8

# use config file
echo "*.server.com 192.168.0.2" > config.txt
dns --config config.txt --addr 192.168.0.3 --default 8.8.8.8

# simple
# dns server listening on 127.0.0.1
dns -d "*.server.com:192.168.0.2"
  • Linux and windows need set dns server ip to you network.
  • MacOS will do it automatic.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL