dnsserver

command module
v0.0.0-...-2159e90 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 5 Imported by: 0

README

dnsserver

Support local development with proper DNS resolution for IP address

Features

  • Resolve IP domain into IP

    # HOSTS
    1-2-3-4.devns.net 1.2.3.4
    2400-cb00-2049-1--a29f-1804.devns.net 2400:cb00:2049:1::a29f:1804 
    localhost.devns.net 127.0.0.1
    localhost.devns.net ::1 
    
  • Metrics

Usage

CLI
Usage of ./dnsserver:
  -api-endpoint value
        Specify multiple value for calling multiple API to get result
  -domain string
        [MUST CHANGE] Base domain for DNS resolution (default "example.com")
  -h    Print this help
  -nameserver string
        [MUST CHANGE] Primary NS for SOA must end with period(.) (default "ns.example.com.")
  -port int
        Port for DNS server to listen to (default 53)
  -soa-email string
        Email for SOA must end with period(.) (default "john\\n.doe.example.com.")

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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