LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-30-2014, 12:52 AM   #1
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 81

Rep: Reputation: Disabled
LFS 7.5 - 7.2.3. Creating the /etc/resolv.conf File


okay... been 18 hours since i started building LFS 7.5 and not i'm at chapter 7.2.3. Creating the /etc/resolv.conf File.. the problem here is that how do i find <Your Domain Name>, <IP address of your primary nameserver> and <IP address of your secondary nameserver>..

my router only provides these information...

Code:
Connection Status	        Connected
Internet Connection Type	Static IP
WAN IP	                        27.147.203.57
Subnet Mask	                255.255.255.240
Gateway	                        27.147.203.49
DNS Server	                27.147.203.49
Alternate DNS Server	        203.76.127.4
 
Old 07-30-2014, 05:58 AM   #2
oblo
Member
 
Registered: May 2014
Location: Rome, Italy
Distribution: LFS 7.6
Posts: 55

Rep: Reputation: Disabled
cat > /etc/resolv.conf << "EOF"
# Begin /etc/resolv.conf

domain search
nameserver 8.8.8.8
nameserver 8.8.4.4

# End /etc/resolv.conf
EOF
 
Old 08-01-2014, 09:39 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Its really irreverent anyway since once you install dhcpcd or another client it gets overwritten anyway.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/resolv.conf file looks like? anserq Linux - General 1 12-07-2006 12:21 AM
My resolv.conf file is being rewritten JimRivera Linux - Networking 1 12-08-2005 07:17 PM
resolv.conf file hraposo Debian 5 12-27-2004 05:22 AM
problem with resolv.conf file romel Linux - Networking 1 07-23-2004 11:49 AM
how and where to edit the resolv.conf file? apu95 Linux - Wireless Networking 3 05-05-2004 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration