Of course the caching-nameserver is the best way, but under certain circumstances I have used the host file successfully for testing. This however was for web not mail services.
On 06/25/2010 10:49 AM, Eric Shubert wrote: > I don't believe the hosts file will be of any help. There are 2 > different ways of resolving names. I don't recall the details, but > IIRC one includes the hosts file and the other doesn't. I expect that > chkuser uses the one that doesn't include hosts, and even if chkuser > used the method that includes the hosts file, it would fail obtaining > the MX record for the domain. > > I'm curious to know, Amit, do you have a caching-nameserver on your > host, and do you have "nameserver 127.0.0.1" listed first in your > resolv.conf file? > -- Cecil Yother, Jr. "cj" cj's 2318 Clement Ave Alameda, CA 94501 tel 510.865.2787 | fax 510.864.7300 http://yother.com --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com