Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 04-30-2002, 04:24 AM   #1
LQ Newbie
Registered: Apr 2002
Posts: 19

Rep: Reputation: 0
Red face All works perfectly except DNS

Finish installing LFS and all things work great.

One problem is donno where to put the DNS file, whether inside /etc/hosts or /etc/sysconfig/network.
I tried both ways but fail. Any idea?

Thanks in advance.
Old 04-30-2002, 09:38 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
whicj DNS file?

I usually keep my named.conf in my /etc dir, but for chroot-ed it should be in the environment it will live. (can't elaborate yet as I'm still in the learning phase )

your zone files can be referenced from within your named.conf file.
Old 05-01-2002, 05:45 AM   #3
LQ Newbie
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry, maybe I put the question wrongly
I confused on how to set up my DNS ..
Do I need to install other program to set up my DNS?
My LFS can log on the internal network ( and can ping the DNS server ( but cannot ping www site ( .. etc).
Please help
Old 05-01-2002, 06:39 AM   #4
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Edit the file /etc/resolv.conf and add entries like:

You should add a line like that for each dns server. There is also often a search line present. But you can read more about all that in if you run 'man resolv.conf'
Old 05-01-2002, 09:23 PM   #5
LQ Newbie
Registered: Apr 2002
Posts: 19

Original Poster
Rep: Reputation: 0

Thx a lot. Now my LFS can surf inet already with lynx although still using console mode

Next step will be trying to install XFree86. Thanks again for the advice.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS Error - Works fine but won't cache! Darvocet Linux - Software 0 07-10-2005 01:27 PM
Steam problem: Half-Life works perfectly but can't create/join games with CS 1.6. pujolasdf Linux - Games 9 02-09-2005 11:20 AM
Debian GRUB gives error 18; Fedora works perfectly; why? jariep Debian 4 01-26-2005 02:30 PM
Telewest Broadband UK via USB modem Works Perfectly! kamal2099 Red Hat 0 03-01-2004 04:53 PM
is there a GUI version of VNC? im using RH8.. the viewer works perfectly.. kublador Linux - Networking 1 04-09-2003 06:37 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:03 AM.

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