To check the status of the local caching nameserver:
# service named status
If you have an interface on your QMT that uses dhcp, that can overwrite
your resolv.conf file. Your interface(s) on your QMT should be defined
as static.
Once you have your caching nameserver installed, your resolv.conf file
should contain "nameserver 127.0.0.1" as the first entry. As a backup,
in the event that your caching nameserver has a problem, you might want
to add "nameserver 208.67.222.220" and/or "nameserver 208.67.222.222"
(opendns.org resolvers). Or you could use your internet provider's
resolver(s) if you'd like. They'd likely be a tiny bit faster (because
they're closer).
You can use the 'dig' command to test your local resolver, as well as
other resolvers. 'man dig' for options.
--
-Eric 'shubes'
Amit Dalia wrote:
Today after configuring local DNS I think my caching DNS was break. It
doesn't had entry "nameserver 127.0.0.1". So reinstalling
caching-nameserver.
Lets see if it solves the problem.
Thanks Eric and Martin. Will update you back by tomorrow.
Regards,
Amit
At Friday, 25-06-2010 on 23:49 Maxwell Smart wrote:
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]