From 45340ae6d70e3ba561b5361458a88b7b4dcccc4d Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Sat, 10 Jan 2004 01:10:21 +0000 Subject: Added instructions to create /etc/resolv.conf. Closes 733. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3158 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/network.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'chapter07/network.xml') diff --git a/chapter07/network.xml b/chapter07/network.xml index 609cf9185..a235e087f 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -60,5 +60,28 @@ and thus not brought up. + +Creating the /etc/resolv.conf file + +If you're going to be connected to the internet then most likely you'll +need some means of DNS name resolution to resolve internet domain names to IP +addresses. This is best achieved by placing the IP address of a DNS server +into /etc/resolv.conf. Create the file by running the +following: + +cat > /etc/resolv.conf << "EOF" +# Begin /etc/resolv.conf + +nameserver <IP address of your nameserver> + +# End /etc/resolv.conf +EOF + +Of course, replace <IP address of your nameserver> with the IP +address of the DNS server most appropriate for your setup. This will often be +provided by your ISP or it may even be a router on your local network. + + + -- cgit v1.2.3-54-g00ecf