- Fix check_dns error on 4.X Since FreeBSd 5.x, the build-in nslookup has been MFCed from BIND 9 and related bits. and retire the BIND 8 sources. So, we still need a hyphen (-) as the prefix of the first argument on 4.X, This workaround patch can fix this problem. Thanks! Port maintainer (jarrod@netleader.com.au) is cc'd. Generated with FreeBSD Port Tools 0.77 How-To-Repeat: FreeBSD 4.X box: ---------------- chinsan@saint </usr/local/etc/nagios> nslookup bbs.webamp.cc 203.187.29.178 *** Can't find server name for address 203.187.29.178: No information *** Default servers are not available chinsan@saint </usr/local/etc/nagios> nslookup -bbs.webamp.cc 203.187.29.178 *** Invalid option: bbs.webamp.cc Server: dns3.giga.net.tw Address: 203.133.1.7 Name: u29-178.u203-187.giga.net.tw Address: 203.187.29.178
State Changed From-To: open->feedback Awaiting maintainers feedback
Chinsan, Unfortunately, I am slightly confused as to what the problem is here. In your first example, you attempt to resolve bbs.webamp.cc using 203.187.29.178 as your name server - this looks like the IP assigned to you by your ISP. Your second example, the suggested fix, actually still results in an error but returns the PTR record for 203.187.29.178, instead of an A record for bbs.webamp.cc which is what I am assuming you are testing for. But, this uses the name servers from your /etc/resolv.conf (like 203.133.1.7). Same command line arguments tested against the current version of Bind 9 available in the ports tree, plus the one in a standard FreeBSD 4.11 installation: Bind 9.3.2: wallace# nslookup www.netleader.com.au 210.11.55.170 Server: 210.11.55.170 Address: 210.11.55.170#53 Name: www.netleader.com.au Address: 210.11.55.171 wallace# Bind 8.3.7-REL: wallace# ./nslookup www.netleader.com.au 210.11.55.170 Server: manhattan.netleader.com.au Address: 210.11.55.170 Name: www.netleader.com.au Address: 210.11.55.171 wallace# Jarrod.
State Changed From-To: feedback->closed New port added. Thanks!
State Changed From-To: closed->open Closed by mistake.
Responsible Changed From-To: freebsd-ports-bugs->itetcu Track; will close in 2 days if nothing new is sent, sicen maintainer rejects it.
2006/7/12, Ion-Mihai Tetcu <itetcu@freebsd.org>: > Synopsis: [PATCH] net-mgmt/nagios-plugins: Fix check_dns error on 4.X > > Responsible-Changed-From-To: freebsd-ports-bugs->itetcu > Responsible-Changed-By: itetcu > Responsible-Changed-When: Tue Jul 11 17:56:16 UTC 2006 > Responsible-Changed-Why: > Track; will close in 2 days if nothing new is sent, sicen maintainer > rejects it. > Hi, itetcu: It's okay, please close this PR(ports/98895) Thank you and jarrod. :) Sincerely, chinsan
State Changed From-To: open->closed Closed at submitter's request.