Doug Hardie wrote:



sendmail -q


Depending on how your environment is setup you may have specify the full
path to sendmail.


I just tried sendmail -q, I don't know why I still have "host name lookup failure" problem.


AFAIK the hostnames' ip address should be cached for furture reference, so, say I lookup hotmail.com, if I access hotmail.com right after that lookup, my box should use the cached ip address without lookup DNS again.

Here is what I did:

#nslookup hotmail.com; sendmail -v -q
Server:  modem.realss
Address:  10.0.0.138

Non-authoritative answer:
Name:    hotmail.com
Addresses:  64.4.33.7, 64.4.52.7, 64.4.32.7


Running /var/spool/mqueue/hBB4UpWD050471 (sequence 1 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: alobbs.com.: host name lookup failure


Running /var/spool/mqueue/hBB4mcWD050542 (sequence 2 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: xmu.edu.cn.: host name lookup failure


Running /var/spool/mqueue/hBB4oqWD050549 (sequence 3 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: xmu.edu.cn.: host name lookup failure


Running /var/spool/mqueue/hBB3h5WD009741 (sequence 4 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name lookup failure


Running /var/spool/mqueue/hB9KvAi4002520 (sequence 5 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name lookup failure


Running /var/spool/mqueue/hB9KvAi5002520 (sequence 6 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: hotmail.com.: host name lookup failure


Running /var/spool/mqueue/hB9Gbhi3001046 (sequence 7 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: lists.sourceforge.net.: host name lookup failure


Running /var/spool/mqueue/hB9Gdti3001049 (sequence 8 of 8)
<[EMAIL PROTECTED]>... Deferred: Name server: kneschke.de.: host name lookup failure


_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to