Now support FQDN(sort of) and fix the bug in printing IP address