rootzone

command module
v0.0.0-...-1f093b3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

README

Go Report Card

Luzifer / rootzone

rootzone is a small util for my personal-dns project to collect all IANA and OpenNIC TLDs and generate a named stub file for bind to be able to resolve those TLDs without delegation to third-party nameservers which might be modifying the original responses from the root nameservers.

Building

$ go get github.com/Luzifer/rootzone

Usage

$ rootzone --help
Usage of rootzone:
      --concurrency-limit int       How many queries to execute in parallel (default 50)
      --iana-filter strings         IANA TLDs to igore (default [arpa.])
      --iana-tld-list string        IANA TLD list file (default "https://data.iana.org/TLD/tlds-alpha-by-domain.txt")
      --internic-root-file string   Internic root nameserver file (default "https://www.internic.net/domain/named.root")
      --log-level string            Log level (debug, info, warn, error, fatal) (default "info")
      --opennic-filter strings      OpenNIC TLDs to ignore (default [.,opennic.glue.])
      --opennic-root string         OpenNIC root server (default "75.127.96.89")
      --version                     Prints current version and exits
$ rootzone | head -n12
# Autogenerated with rootzone dev
#
zone "aaa." in {
  type static-stub;
  server-addresses { 156.154.144.2; 156.154.145.2; 156.154.156.2; 156.154.157.2; 156.154.158.2; 156.154.159.2; };
};
#
zone "aarp." in {
  type static-stub;
  server-addresses { 192.42.173.30; 192.42.174.30; 192.42.175.30; 192.42.176.30; };
};
#

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