Hi,
On Suse 9.1, how can i find out the DNS servers if my router doesn't tell me? Is there some sort of daemon/configuration script that can be run?
Thank you very much,
David Noble
On 8/28/05, David Noble davidwnoble@gmail.com wrote:
On Suse 9.1, how can i find out the DNS servers if my router doesn't tell me? Is there some sort of daemon/configuration script that can be run?
Ask you ISP?
What's in your /etc/resolv.conf ?
If you run "nslookup www.google.com", the first line should start with "Server: " which is the DNS server you are using.
Hope this helps! Tim.
*SNIP*
Ask you ISP?
What's in your /etc/resolv.conf ?
If you run "nslookup www.google.com", the first line should start with "Server: " which is the DNS server you are using.
nslookup is a windows app, dig might work better.
Cheers
Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
David Reynolds david@reynoldsfamily.org.uk wrote:
*SNIP*
nslookup is a windows app, dig might work better.
Ignore me... I was wrong.
Not so much 'wrong' as been trained in the new tools ;) nslookup was the origional evil dns querying foo...
But, anyways - if we go to the beginning, the question was about DNS servers, so, the suggesting of using nslookup and getting the Server: line is kinda, well, not the easiest way of finding out on your average linux install... cat /etc/resolv.conf is generally better, the lines starting with nameserver are the DNS servers that it knows about, if your router is doing the DHCP, though, I wouldn't mind betting that it'll return the routers IP address.
So, back to the real issue, you'll just have to ask the router, most have a shiny web interface that will tell you these things. For example, as soon as I log in to my netgear dg834g, I get the router status page... in there, quite clearly listed, are my ISPs recursive name servers.
Cheers, - -- Brett Parker web: http://www.sommitrealweird.co.uk/ email: iDunno@sommitrealweird.co.uk
On Sun, Aug 28, 2005 at 08:33:31PM +0100, David Reynolds wrote:
*SNIP*
Ask you ISP?
What's in your /etc/resolv.conf ?
If you run "nslookup www.google.com", the first line should start with "Server: " which is the DNS server you are using.
nslookup is a windows app, dig might work better.
nslookup is deperecated, it's an *old* utility not specifically a Windows one. It's actually rather more universal than 'dig' or 'host', it works on Windows, Linux and my Solaris worktop.
On Sunday 28 August 2005 17:54, David Noble wrote:
Hi,
On Suse 9.1, how can i find out the DNS servers if my router doesn't tell me? Is there some sort of daemon/configuration script that can be run?
Thank you very much,
David Noble
1. Ask your ISP (is that bcn?)
2. Failing that, you can probably find appropriate nameservers for your setup by googling "<ISP Name> DNS Servers". Make sure they are the real ones :)