host: Don't use IPv6 nameservers inside containers

Closes #474 
No need to check the error, also just write the newline in a separate call (`WriteByte`)