Opened 21 years ago
Closed 21 years ago
#733 closed defect (fixed)
Make mention of resolv.conf in the book
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | 5.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
The LFS book doesn't define how to set up the system to resolve domain names. A section for this should be added.
In order to resolve domain names, you must have a resolv.conf file in /etc defining at least one nameserver. Command below (<yournameserver> is the DNS server either on the readers home network or defined by their ISP, on home network with router to outside, should be able to use the router IP):
cat > /etc/resolv.conf << "EOF" # Begin /etc/resolv.conf
nameserver <yournameserver>
# End /etc/resolv.conf EOF
Change History (2)
comment:1 by , 21 years ago
Priority: | normal → lowest |
---|---|
Severity: | blocker → normal |
Summary: | Can't resolve domain names. → Make mention of resolv.conf in the book |
comment:2 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've committed some changes to implement this. Thanks for the report.
This issue of including "resolv.conf" in the LFS book has been hashed to death many times in the past. Most times the conclusion has been something like "resolv.conf is part of basic networking setup and is therefore not part of LFS but maybe BLFS but maybe not".
Personally, I don't see why we can't make a small mention somewhere. The last thread I can find on the topic does support this:
http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2003-January/031328.html
Chapter 7 would seem like the most logical place. Similar to /etc/hosts.