Support NAME.INSTANCE.DOMAIN records

e.g.: instance-01.ap-northeast-1.aws.

- Splits into package
- Adds Makefile to try easier.