LFS 6.2
7.13.3. Creating the /etc/resolv.conf File
Why are the curly braces {} in this example file?
They do not appear in the real resolv.conf
and the < > are to show replaceable text.
cat > /etc/resolv.conf << "EOF"
# Begin /etc/resolv.conf
domain {<Your Domain Name>}
nameserver <IP address of your primary nameserver>
nameserver <IP address of your secondary nameserver>
# End /etc/resolv.conf
EOF
lfs:~$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search sbcglobal.net
nameserver 68.uuu.xxx.1
nameserver 68.vvv.yyy.1
lfs:~$
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page