*********************************************************************



Thanks & Regards



Hemchand



CCNP,RHCE,ITIL Certified



**********************************************************************

--- On Thu, 13/8/09, DoOrsOfpErcEpTioN <[email protected]> wrote:

From: DoOrsOfpErcEpTioN <[email protected]>
Subject: [LinuxVadaPav] Re: BIND lookup for 'ANY' domain=microsoft.com ?
To: [email protected]
Date: Thursday, 13 August, 2009, 1:28 PM






 




    
                  --- In linuxvadapav@ yahoogroups. com, Hemchand <hemchandra_ 
4...@...> 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.  :(
*********************************************************************
Hi,
Please perform the following command on Mail server.#dig  @172.16.1.220  
microsoft.com MX 

#dig  @172.16.1.220  microsoft.com anyI hope DNS part looking good.
Thanks,Hemchand


 

      

T
        
         
        
        








        


        
        


      Looking for local information? Find it on Yahoo! Local 
http://in.local.yahoo.com/

[Non-text portions of this message have been removed]

Reply via email to