LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   equiv of ipconfig /all? (https://www.linuxquestions.org/questions/linux-newbie-8/equiv-of-ipconfig-all-760348/)

JRink 10-07-2009 11:32 AM

equiv of ipconfig /all?
 
In the Linux world, what is the equiv of ipconfig/all (from Windows)? I know "ifconfig" but it doesnt show me the DNS servers, etc.

Thanks

pljvaldez 10-07-2009 11:48 AM

nslookup www.google.com should show the first DNS server your box finds when looking for google.

Also, dns servers are usually stored in /etc/resolv.conf.

jiml8 10-07-2009 12:03 PM

If your linux box is behind a router, such as can be purchased anywhere, then resolv.conf will probably have the address of the router as the dns address.


All times are GMT -5. The time now is 11:38 PM.