[Nagiosplug-devel] [ nagiosplug-Bugs-3519847 ] check_dig thinks that :: is not :0:

SourceForge.net noreply at sourceforge.net
Fri Apr 20 16:48:27 CEST 2012


Bugs item #3519847, was opened at 2012-04-20 07:48
Message generated for change (Tracker Item Submitted) made by zugschlus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3519847&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface (example)
Group: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marc Haber (zugschlus)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_dig thinks that :: is not :0:

Initial Comment:
check_dig does not handle IPv6 addresses with the intelligence that it              
needs. For example:                                                                 
                                                                                    
/usr/lib/nagios/plugins/check_dig --hostname 127.0.0.1                              
--query_address=guanabara.rederio.br --record_type=AAAA                             
--expected_address=2001:12f0:4c2::222:19ff:febd:98c2 --verbose                      
/usr/bin/dig @127.0.0.1 -p 53 guanabara.rederio.br -t AAAA                          
Looking for: '2001:12f0:4c2::222:19ff:febd:98c2'                                    
;; ANSWER SECTION:                                                                  
guanabara.rederio.br.   86400   IN      AAAA    2001:12f0:4c2:0:222:19ff:febd:98c2  
                                                                                    
;; AUTHORITY SECTION:                                                               
rederio.br.             86400   IN      NS      rio.rederio.br.                     
rederio.br.             86400   IN      NS      guanabara.rederio.br.               
                                                                                    
;; ADDITIONAL SECTION:                                                              
rio.rederio.br.         86400   IN      A       200.20.94.51                        
guanabara.rederio.br.   86400   IN      A       200.20.94.50                        
                                                                                    
;; Query time: 510 msec                                                             
;; SERVER: 127.0.0.1#53(127.0.0.1)                                                  
;; WHEN: Thu Apr 19 00:06:03 2012                                                   
;; MSG SIZE  rcvd: 130                                                              
                                                                                    
DNS WARNING - 0.524 seconds response time (Server not found in ANSWER               
+SECTION)|time=0.523813s;;;0.000000                                                 
                                                                                    
note 19ff::febd on the command line (which is the output given, for                 
example, by the ruby Resolv library) and 19ff:0:febd in the output                  
given by dig.                                                                       



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3519847&group_id=29880




More information about the Devel mailing list