Use gateway instead of names for DNS.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>