Skip to content

About

Tools to create host files (and perhaps other configuration files) from DNS data.

Topics

Resources

Stars

3 stars

Watchers

4 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

Generate Chaos host info from DNS

Output format selection - one of the following (required):

  • -3 to generate HOSTS3 format ("extended" RFC 810) for e.g. ITS

  • -l to generate LISPM format (RFC 752, I think) which looks like it matches the 4.1BSD format.

  • -i to create a list of ITS shortnames, suitable for def of ITSIRP in SYSTEM;CONFIG. Note: prunes any "-ITS" suffix (e.g. ES-ITS becomes just ES) and only includes short (2-3 characters) names, since longer ones are not useful as ITS shortnames.

Other options:

  • -a to add aliases for .Chaosnet.NET hosts by removing the trailing .Chaosnet.NET (so you can e.g. parse two-letter abbrevs easily)

  • -d domain to set the local domain, so aliases without the domain are added

  • -I to add IP addresses to those that have them (including private IP addresses)

  • -G to add non-private (global) IP addresses only

  • -S servername to set the DNS server used for queries (default dns.chaosnet.net)

Requires dnspython, which is at https://github.com/rthalley/dnspython.

About

Tools to create host files (and perhaps other configuration files) from DNS data.

Topics

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages