Help - Search - Members - Calendar
Full Version: What's your resolv.conf look like?
The Planet Forums > Control Panels > cPanel/WHM
H2O
Hi, I set the DNS of my domain to ns1/ns2.servermatrix.com at my registrar. My resolve.conf looks like
CODE
nameserver 127.0.0.1

nameserver 216.185.111.10 //ns1.servermatrix.com

nameserver 69.56.222.10  //ns2.servermatrix.com

Some people said I should add
CODE
domain my-domain.com

search my-domain.com

to the first two lines of resolve.conf. Should I do it? Cpanel+RHE
Ronny AcuNett
I've never understood the purpose of the following lines:

domain my-domain.com
search my-domain.com

Most servesr have more than one domain on the server. Unless they're talking aboutthe hostname I don't see any advantage in using that.

I use the former

nameserver 127.0.0.1
nameserver 216.185.111.10 //ns1.servermatrix.com
nameserver 69.56.222.10 //ns2.servermatrix.com
kris1351
domain domain.com
search domain.com

These two lines will tell the server to automatically append the domain.com to things such as ping svr. It also tells it that it is part of the domain.com and should search the domain.com for any possible conical resolutions of just a host.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.