https://github.com/chaosnet/config-files-from-dns
Tools to create host files (and perhaps other configuration files) from DNS data.
https://github.com/chaosnet/config-files-from-dns
chaosnet
Last synced: 27 days ago
JSON representation
Tools to create host files (and perhaps other configuration files) from DNS data.
- Host: GitHub
- URL: https://github.com/chaosnet/config-files-from-dns
- Owner: Chaosnet
- Created: 2018-11-14T18:15:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-10T07:40:01.000Z (about 1 year ago)
- Last Synced: 2025-02-16T23:02:33.053Z (4 months ago)
- Topics: chaosnet
- Language: Python
- Size: 41 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Generate Chaos host info from DNS
- ITS H3TEXT [see e.g. https://github.com/PDP-10/its/blob/master/build/h3text.2017#L134-L150]
- Lispm HOSTS TEXT or BSD 4.1 hosts file [see e.g. https://tumbleweed.nu/r/sys/file?name=site/hosts.text.392&ci=tip]Options:
-3 to generate hosts3 format ("extended" [RFC 810](https://www.ietf.org/rfc/rfc810.txt)) for ITS
-l to generate lispm format ([RFC 752](https://www.ietf.org/rfc/rfc752), I think) which looks like it matches the 4.1BSD format.
-a to add aliases for .Chaosnet.NET hosts by removing the trailing .Chaosnet.NET (so you can parse two-letter abbrevs easily)
-i to create a list of ITS shortnames, suitable for def of [ITSIRP in SYSTEM;CONFIG](https://github.com/PDP-10/its/blob/5a068bb1da329f829221076cd25bb6a38baf8272/build/klh10/config.203#L1001)-d domain to set local domain, which is also adds aliases without the domain
Requires dnspython, which is at https://github.com/rthalley/dnspython.