1)I am sharing internet through proxy server
what should put in the ip of the dns server tho use dig command, whether i should put address of proxy server or the address of dns server
dig @DNS_server host
and when i tried with dns server ip it says,
# dig @172.16.0.1
www.linuxquestions.org
; <<>> DiG 9.2.3rc2 <<>> @172.16.0.1
www.linuxquestions.org
;; global options: printcmd
;; connection timed out; no servers could be reached
and when i tried with proxy server ip it says same thing as above.
#/etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.1.2
nameserver 172.16.0.1
2)# nslookup
www.linuxquestions.org
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
;; connection timed out; no servers could be reached
how can i run nslookup command