added IPv6 option, answer y/n in lowercase