Networking Forums

Networking Forums > Computer Networking > Linux Networking > How can I find out what my system'd DNS setting is? - Newbie question

Reply
Thread Tools Display Modes

How can I find out what my system'd DNS setting is? - Newbie question

 
 
Ninereeds
Guest
Posts: n/a

 
      02-20-2004, 11:00 AM
OK, under windows using the ipconfig command I can tell what a system
thinks it's DNS is.

Unfortunately IFCONFIG doesn't - well, at least *I* can't figure out
how to make it.

Can anyone tell me what command to use to determine what a Linux
system thinks it's DNS is?

TIA,

Ninereeds
 
Reply With Quote
 
 
 
 
Johan Lindquist
Guest
Posts: n/a

 
      02-20-2004, 11:12 AM
So anyway, it was like, 13:00 CET Feb 20 2004, you know? Oh, and, yeah,
Ninereeds was all like, "Dude,

> Can anyone tell me what command to use to determine what a Linux
> system thinks it's DNS is?


'grep nameserver /etc/resolv.conf'

hth.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
13:10:31 up 26 days, 20:47, 7 users, load average: 3.55, 3.42, 3.31
$ cat /dev/bollocks "echo y | format c:" Registered Linux user #261729
seize innovative eyeballs
 
Reply With Quote
 
P.T. Breuer
Guest
Posts: n/a

 
      02-20-2004, 02:20 PM
Ninereeds <(E-Mail Removed)> wrote:
> Can anyone tell me what command to use to determine what a Linux
> system thinks it's DNS is?


cat /etc/resolv.conf

Or of course, something like "nslookup localhost".

Peter
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      02-20-2004, 05:38 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

P.T. Breuer <(E-Mail Removed)> wrote:
> Ninereeds <(E-Mail Removed)> wrote:
> > Can anyone tell me what command to use to determine what a Linux
> > system thinks it's DNS is?


> cat /etc/resolv.conf


> Or of course, something like "nslookup localhost".


He might like to try an additional:

man 5 nsswitch.conf

BTW
Looks like your are still using this rather old tin version.


- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANlQKAkPEju3Se5QRAigNAJ44/bW/z+/h1fAHU6T+mdmtT6+a0ACgqOMN
tOc/COJ6dX+j3xyYCYOFsPI=
=Q7vS
-----END PGP SIGNATURE-----
 
Reply With Quote
 
P.T. Breuer
Guest
Posts: n/a

 
      02-21-2004, 06:38 PM
Michael Heiming <michael+(E-Mail Removed)> wrote:
> Looks like your are still using this rather old tin version.


User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))

Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.


Peter
 
Reply With Quote
 
B'ichela
Guest
Posts: n/a

 
      02-21-2004, 08:01 PM
In article <(E-Mail Removed)>, P.T. Breuer wrote:
> Michael Heiming <michael+(E-Mail Removed)> wrote:
>> Looks like your are still using this rather old tin version.

>
> User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))
>
> Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.

How did you upgrade Slackware 3.0 to 2.4.22? Are you still
using Libc5 with it? My Slackware 3.0 software still is using the
2.0.38 kernal version. I am actually running a Slackware 3.9 box here.
I haven't used 3.0 for Ages!
I started porting Slackware 8.0 to Libc5 which I should get
back to someday.

--
From the Desk of the Sysop of:
Planet Maca's Opus, a Free open BBS system.
Telephone 860-738-7176 300-33.6kbps Telnet://pinkrose.net.dhis.org
The New Cnews maintainer
B'ichela

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      02-21-2004, 08:18 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

P.T. Breuer <(E-Mail Removed)> wrote:
> Michael Heiming <michael+(E-Mail Removed)> wrote:
> > Looks like your are still using this rather old tin version.


> User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))


> Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.



Ops, from the "snapshot" dir, looks like you got me on this one.


This is RH 7.3.

- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAN8shAkPEju3Se5QRApb+AJwJ1MBsQ5tV/Sb4L3SZdxxbDpM+sgCgu6Hz
iyJmpsG1pZrX3De8eKWKC6w=
=5kM6
-----END PGP SIGNATURE-----
 
Reply With Quote
 
P.T. Breuer
Guest
Posts: n/a

 
      02-21-2004, 08:28 PM
B'ichela <(E-Mail Removed)> wrote:
> In article <(E-Mail Removed)>, P.T. Breuer wrote:
> > Michael Heiming <michael+(E-Mail Removed)> wrote:
> >> Looks like your are still using this rather old tin version.

> >
> > User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))
> >
> > Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.


> How did you upgrade Slackware 3.0 to 2.4.22?


That's his User-Agent line, not mine. I am running 2.2.15 (much modded
by now). Not that it makes a difference, because the kernel is
independent of the distro.

> Are you still using Libc5 with it?


Yes.

> My Slackware 3.0 software still is using the
> 2.0.38 kernal version.


I never went beyond 2.0.36, I think. I was on 2.0.25 for a
long long time. Here's /boot:

% ls -lrt /boot/
total 1691
-rw-r--r-- 1 root root 2329 Aug 23 1995 config
-rw-r--r-- 1 root root 93849 Aug 23 1995 zSystem.map
-rw-r--r-- 1 root root 512 Nov 10 1995 boot.0303
-rw-r--r-- 1 root root 204 May 25 1996 any_b.b
-rw-r--r-- 1 root root 4416 May 25 1996 boot.old
-rw-r--r-- 1 root root 204 May 25 1996 any_d.b
-rw-r--r-- 1 root root 192 May 25 1996 os2_d.old
-rw-r--r-- 1 root root 88 May 25 1996 chain.old
-rw-r--r-- 1 root root 512 May 26 1997 boot.0300
-rw-r--r-- 1 root root 4536 Jun 23 1997 boot.b-2.0
-rw-r--r-- 1 root root 300 Jun 23 1997 chain.b-2.0
-rw-r--r-- 1 root root 308 Jun 23 1997 os2_d.b-2.0
-rw-r--r-- 1 root prof 15476 Apr 17 1998 memtest
-rw-r--r-- 1 root prof 512 Jul 30 1998 boot.0340
-rw-r--r-- 1 root prof 755 Nov 7 1998 hda-partitions
-rw-r--r-- 1 ptb prof 605 Dec 10 1998 part-dump
-rw-r--r-- 1 root prof 512 Feb 15 1999 boot.0305
-rw-r--r-- 1 root prof 512 Feb 15 1999 boot.0301
-rw-r--r-- 1 root prof 380708 Mar 10 1999 vmlinuz.536-compr
-rw-r--r-- 1 root prof 512 Apr 1 1999 boot.1600
-rw-r--r-- 1 root prof 4592 Apr 21 2000 boot.b
-rw-r--r-- 1 root prof 612 Apr 21 2000 chain.b
-rw-r--r-- 1 root prof 644 Apr 21 2000 os2_d.b
...


> I am actually running a Slackware 3.9 box here.
> I haven't used 3.0 for Ages!


Well, of course not.

> I started porting Slackware 8.0 to Libc5 which I should get
> back to someday.


Real men use libc4. That ELF stuff is for cissies.

Peter
 
Reply With Quote
 
Billy O'Connor
Guest
Posts: n/a

 
      02-21-2004, 08:36 PM
(E-Mail Removed) (P.T. Breuer) writes:

> Michael Heiming <michael+(E-Mail Removed)> wrote:
>> Looks like your are still using this rather old tin version.

>
> User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))
>
> Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.


Cool. Have you ha 3.0 on that box since it was new, or are you
running 3.0 for some other reason?
 
Reply With Quote
 
P.T. Breuer
Guest
Posts: n/a

 
      02-21-2004, 10:30 PM
Billy O'Connor <(E-Mail Removed)> wrote:
> (E-Mail Removed) (P.T. Breuer) writes:
>
> > Michael Heiming <michael+(E-Mail Removed)> wrote:
> >> Looks like your are still using this rather old tin version.

> >
> > User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.22 (i686))
> >
> > Hmm. Yours doesn't look that new to me. Anyway, this *IS* slackware 3.0.

>
> Cool. Have you ha 3.0 on that box since it was new, or are you
> running 3.0 for some other reason?


As far as I can recall, I put 3.0 on in order to move to ELF
comfortably. Before I think there was 2.2 on it. The box itself at
that time was a P120. Since then the box has changed and so have its
disks and processor and ... but the distro hasn't changed. Dunno how
much of the original stuff is left. I note I have 2GB in /usr/local.

Peter
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you find out when a system auto rebooted? Dennis_S Windows Networking 2 05-12-2008 05:24 PM
newbie Question: Setting up Ad-hoc wireless network and share files/folder? saturnlee@yahoo.com Wireless Internet 1 01-17-2006 09:54 AM
Newbie trying to find ideal wireless solution Mojo Wireless Internet 2 09-29-2004 04:07 PM
Setting up wireless in the home - a newbie question..... Adam Savage Home Networking 3 10-13-2003 10:10 PM
Help setting up wirless system!! TIA Ironfist Wireless Internet 6 10-06-2003 01:44 AM



1 2 3 4 5 6 7 8 9 10 11