base: use dig instead of nslookup

nslookup cli does not work correctly when running serverspec. With dig,
all seems allright.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>