Fixed the blocking of IPv6/AAAA records
Added permission check for creating pid file
notes on chrome, hackish ipv6 support