9* hosts2zone
Convert entries from /etc/hosts to unbound local zone hat is my old code and therefore it smells
Short roadmap on improving situation with smelling code:
hosts(5) says that lines in file are already limited to BUFSIZ characters (currently 1024).
Use includes and BSD make.
I need to rewrite hosts parsing. he best way is found out how system does it already. /etc/hosts is parsed by gethostbyname() by default, some code can be borrowed from here. Maybe use some lex.
It was not tested and is done messy by ifdef macros.