dns setting in linux

Posted by: UndeadBob

dns setting in linux - 04/03/03 02:34 PM

during setup for slackware 9 i didn't put in a dns/nameserver ip and now i can only connect to website and servers via their ip. where is the setting for the dns because i have looked everywhere and i can't find it....
Posted by: jonconley

Re: dns setting in linux - 04/03/03 04:35 PM

edit /etc/resolv.conf
Posted by: Predator

Re: dns setting in linux - 04/04/03 06:33 AM

indeed it's in /etc/resolv.conf
add to it:
nameserver ipofdnsdserverhere
nameserver ipof2ndserverhere (optional)