Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
02-27-2006, 06:03 PM
|
#1
|
Member
Registered: Dec 2003
Distribution: RH8.0
Posts: 30
Rep:
|
Setting DNS ip addresses
I'm a programmer not a sys-admin, please be gentle.
I set up Fedora RC2 about 3 years ago, and I just
use it for file sharing and CVS repositories. Since
then I've been java hacking and I've forgotten how
to find out which of my ISP's DNS servers the box
is using.
what commands display the primary and secondary
DNS server addresses ?
Bill.
|
|
|
02-27-2006, 06:07 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
You can just cat the file /etc/resolv.conf to get the DNS servers.
|
|
|
02-27-2006, 06:08 PM
|
#3
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
more /etc/resolv.conf
|
|
|
02-27-2006, 07:06 PM
|
#4
|
Member
Registered: Dec 2003
Distribution: RH8.0
Posts: 30
Original Poster
Rep:
|
M, Many thanks, Bill.
|
|
|
All times are GMT -5. The time now is 04:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|