Project

hast

0.0
No commit activity in last 3 years
No release in over 3 years
HAST stands for 'Hosting Account Status Tool'. HAST is a tool for fetching domains from Apache configuration files and from Postfix on a hosting server environment. It will then run a report, checking the DNS records for each domain to see if they match your server. This is important for finding "dead" domains where the domain either doesn't exist anymore or where the owner have moved it to another hosting provider. Before you can use HAST, you need to setup a config.yml file. Run 'hast --generate-config > config.yml' to create a sample config file that you can modify.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0
>= 0.1
 Project Readme

HAST¶ ↑

HAST stands for ‘Hosting Account Status Tool’.

HAST is a tool for fetching domains from Apache configuration files and from Postfix on a hosting server environment. It will then run a report, checking the DNS records for each domain to see if they match your server.

This is important for finding “dead” domains where the domain either doesn’t exist anymore or where the owner have moved it to another hosting provider.

Before you can use HAST, you need to setup a config.yml file. Run ‘hast –generate-config > config.yml’ to create a sample config file that you can modify.

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Usage ¶ ↑

hast config-file [options]

For help use: hast -h

Options¶ ↑

-h, --help                Displays help message
-v, --version             Display version
-g, --generate-config     Output a config file template (pipe it to a
                          file for easy use: hast -g > config.yml)
-q, --disable-lookup      Do not lookup any domain names or MX records
-y, --yaml                Output as YAML (pipe it to a file for easy
                          use: hast -y > domains.yml)
-c, --domain-cache FILE   Get the domains from a YAML file

Examples¶ ↑

Generate a human-readable report:

hast config.yml

Do not perfom DNS lookups:

hast config.yml -q

Do not perfom DNS lookups and genereate a YAML file with the result:

hast config.yml -yq > domains.yml

Load the domains to check from a YAML file:

hast config.yml -c domains.yml

Copyright © 2010 Thomas Watson Steen. See LICENSE for details.