attempt to resolve no nslookup problem in travis

i implemented the solution suggested by
http://stackoverflow.com/a/17662102/80353