--- In [email protected], Hemchand <hemchandra_...@...> wrote:
>
> Do you do dig on DNS server for microsoft.com.what is the result ?
> 
> What is the DNS server configured on Qmail server ?
> 
> You configured ISP DNS server as forwarder in your local DNS ?
> 
> 
> *********************************************************************
> 
> 
> 
> Thanks & Regards
> 
> 
> 
> Hemchand

-------------
Hi Hemchand,

Given below are the query from a mail server. 
i.e. executed dig  on a local mail server. It queries a local DNS server 
172.16.1.31 based on BIND9.

 #dig microsoft.com

; <<>> DiG 9.3.3rc2 <<>> microsoft.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54880
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;microsoft.com.                 IN      A

;; ANSWER SECTION:
microsoft.com.          3527    IN      A       207.46.197.32
microsoft.com.          3527    IN      A       207.46.232.182

;; AUTHORITY SECTION:
microsoft.com.          170686  IN      NS      ns5.msft.net.
microsoft.com.          170686  IN      NS      ns1.msft.net.
microsoft.com.          170686  IN      NS      ns2.msft.net.
microsoft.com.          170686  IN      NS      ns3.msft.net.
microsoft.com.          170686  IN      NS      ns4.msft.net.

;; ADDITIONAL SECTION:
ns1.msft.net.           170659  IN      A       65.55.37.62
ns2.msft.net.           170659  IN      A       64.4.59.173
ns3.msft.net.           170659  IN      A       213.199.161.77
ns4.msft.net.           170659  IN      A       207.46.66.126
ns5.msft.net.           170659  IN      A       65.55.226.140

;; Query time: 1 msec
;; SERVER: 172.16.1.31#53(172.16.1.31)
;; WHEN: Thu Aug 13 13:17:01 2009
;; MSG SIZE  rcvd: 241
------------------------------
 Now DIG for ANY for the same domain

# dig any microsoft.com

; <<>> DiG 9.3.3rc2 <<>> any microsoft.com
;; global options:  printcmd
;; connection timed out; no servers could be reached



Now if I do the same query from caching DNS server based on djbdns (dnscache) 
then I get a response.

# dig any microsoft.com @172.16.1.220

; <<>> DiG 9.3.3rc2 <<>> any microsoft.com @172.16.1.220
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6590
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 5, ADDITIONAL: 0

;; QUESTION SECTION:
;microsoft.com.                 IN      ANY

;; ANSWER SECTION:
microsoft.com.          172800  IN      NS      ns1.msft.net.
microsoft.com.          172800  IN      NS      ns2.msft.net.
microsoft.com.          172800  IN      NS      ns3.msft.net.
microsoft.com.          172800  IN      NS      ns4.msft.net.
microsoft.com.          172800  IN      NS      ns5.msft.net.

;; AUTHORITY SECTION:
microsoft.com.          172800  IN      NS      ns5.msft.net.
microsoft.com.          172800  IN      NS      ns1.msft.net.
microsoft.com.          172800  IN      NS      ns2.msft.net.
microsoft.com.          172800  IN      NS      ns3.msft.net.
microsoft.com.          172800  IN      NS      ns4.msft.net.

;; Query time: 235 msec
;; SERVER: 172.16.1.220#53(172.16.1.220)
;; WHEN: Thu Aug 13 13:22:57 2009
;; MSG SIZE  rcvd: 199


Here the sad part is that Qmail makes a query for ANY and not MX which it 
should ideally do. I dont understand why!

Secondly, Bernstein's djbdns helps qmail get around this problem.  :(



Reply via email to