From: Ray Olszewski <ray@comarre.com>
To: Anshuman Singh Rawat <asr245@nyu.edu>,
Linux-Newbie <linux-newbie@vger.kernel.org>
Subject: Re: DNS server
Date: Fri, 20 Feb 2004 16:22:36 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20040220161839.01f7d178@celine> (raw)
In-Reply-To: <4607acb4606bd1.4606bd14607acb@homemail.nyu.edu>
At 06:52 PM 2/20/2004 -0500, Anshuman Singh Rawat wrote:
>Hi,
>How does one enter preferred DNS addresses to be used in linux?
>
>I found that IP address, netmask, network address can be assigned in this
>file /etc/sysconfig/network-scripts/ifcfg-eth0 for interface eth0.
>
>Can DNS server list be added here too? If yes, what name is given for it?
>
>DEVICE=eth0
>IPADDR=208.164.186.4
>NETMASK=255.255.255.248
>NETWORK=208.164.186.1
>
>What would the name be for DNS server?
The usual place to enter the DNS server addresses is in the file
/etc/resolv.conf . This file has a man page you can consult for the
details, but the simplest version just has lines like these:
nameserver 192.168.1.40
nameserver 192.168.1.2
Some configuration tools will modify or overwrite this file, and DHCP
clients can modify it if they get DNS-server info as part of a lease ... so
there are distro-specific and site-specific elements to this question.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-02-21 0:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 23:52 DNS server Anshuman Singh Rawat
2004-02-21 0:22 ` Ray Olszewski [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-08 10:21 dns server Corin Langosch
2002-06-08 22:36 ` Nick Drage
2002-06-06 13:22 Corin Langosch
2002-06-06 13:31 ` Francois Peyron
2002-06-06 13:37 ` Raymond Leach
2002-06-06 13:45 ` Maciej Soltysiak
2002-06-06 13:48 ` Raymond Leach
2002-06-06 14:00 ` Antony Stone
2002-06-06 14:36 ` Arne Sagnes
2002-06-06 15:06 ` Tony Earnshaw
2002-06-06 13:33 ` Antony Stone
2002-06-06 14:00 ` Daniel Bastos
2002-06-06 14:04 ` Tony Earnshaw
2002-06-08 9:58 ` Nick Drage
2002-06-09 7:40 ` Tony Earnshaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20040220161839.01f7d178@celine \
--to=ray@comarre.com \
--cc=asr245@nyu.edu \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.