On Fedora Core 2 what DNS server am I using?
I'm obtaining my ip information and DNS server from DHCP...how do I find out what DNS server my system will query? I know I can do a nslookup and see what it is or even a tcpdump and figure it out...but what command will just give it to me? Can't I cat some file or something? I've googled and found stuff about an /etc/resolve.conf file but it seems that my system does not have an /etc/resolve.conf file.....
Any assistance is greatly appreciated! -Jesse |
Should be in /etc/resolv.conf (at least on debian it is). ([edit] err, I skipped reading the part where you said it's not there [/edit]) If not check the output of dig some.server.com:
Code:
demian@dirac: ~ $ dig www.google.com |
jlepich
Try looking for /etc/resolv.conf instead of /etc/resolve.conf I think you will find this file exists, try as root Code:
/]# vi etc/resolv.conf |
All times are GMT -5. The time now is 08:10 AM. |