-To use dig, install dnsutils package
dnsutils
$ apt-get install dnsutils
-To use the given server to lookup the domain.
$ dig @<DNS server ip> <domain> e.g) $ dig @192.168.0.11 mydomain.com