refactor, change `ip` argument name to `host`
refactor, change `ip` variable name to `host`
Adding dns stuff