From owner-freebsd-stable Tue Apr 3 6:38:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sgi04-e.std.com (sgi04-e.std.com [199.172.62.134]) by hub.freebsd.org (Postfix) with ESMTP id 01F3037B71C for ; Tue, 3 Apr 2001 06:38:27 -0700 (PDT) (envelope-from kwc@world.std.com) Received: from world.std.com (world-f.std.com [199.172.62.5]) by sgi04-e.std.com (8.9.3/8.9.3) with ESMTP id JAA29208979 for ; Tue, 3 Apr 2001 09:38:23 -0400 (EDT) Received: (from kwc@localhost) by world.std.com (8.9.3/8.9.3) id JAA16296; Tue, 3 Apr 2001 09:38:20 -0400 (EDT) Date: Tue, 3 Apr 2001 09:38:20 -0400 (EDT) From: Kenneth W Cochran Message-Id: <200104031338.JAA16296@world.std.com> To: freebsd-stable@freebsd.org Subject: Strange localhost NS look attempts Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello -stable: Can someone tell me why I keep getting log-messages like this? It sometimes seems to "break" Netscape (waiting trying to resolve localhost). I'm using a "dummy" hostname of "myname.my.domain." This has been happening for *months* with no (or not much?) ill-effect, but I would like to clean that up if possible & there must be something I'm not quite getting right for config... What is happening here? It appears that I am rejecting a UDP DNS query from "myself." (?) What might/would be a Good & Proper Way To Fix This? Oh, I'm running 4.3-RC as of (cvsupped/built) 1 April 2001. Other information on request I guess... Many thanks, -kc From /var/log/messages: Apr 3 03:23:15 myname /kernel: Connection attempt to UDP 10.0.0.1:1516 from 10. 0.0.1:53 Apr 3 03:23:15 myname /kernel: Connection attempt to UDP 10.0.0.1:1517 from 10. 0.0.1:53 Apr 3 03:23:15 myname /kernel: Connection attempt to UDP 10.0.0.1:1518 from 10. 0.0.1:53 Apr 3 03:23:42 myname /kernel: Connection attempt to UDP 10.0.0.1:1519 from 10. 0.0.1:53 Apr 3 03:26:15 myname /kernel: Connection attempt to UDP 10.0.0.1:1526 from 10. 0.0.1:53 Apr 3 03:49:45 myname /kernel: Connection attempt to UDP 10.0.0.1:1530 from 10. 0.0.1:53 ---------------------------------------- Excerpt from /etc/hosts.allow: # ALL : ALL : allow # Prevent those with no reverse DNS from connecting. ALL : PARANOID : RFC931 20 : deny # Allow anything from localhost. Note that an IP address (not a host # name) *MUST* be specified for portmap(8). ALL : localhost myname myname.my.domain 127.0.0.1 192.168. 10.0.0. : allow # ALL : my.machine.example.com 192.0.2.35 : allow ---------------------------------------- /etc/namedb/named.conf: // Config file for caching only name server options { directory "/etc/namedb"; allow-query { 10/8; localhost; myname; }; # allow-query { 192.168/24; localhost; myname; }; # query-source port 53; }; zone "." in { type hint; file "named.root"; }; zone "my.domain" in { type master; file "db.my.domain"; }; zone "0.0.127.in-addr.arpa" in { type master; file "127.0.0"; }; # zone "0.168.192.in-addr.arpa" in { # type master; # file "192.168.0"; # }; zone "0.0.10.in-addr.arpa" in { type master; file "10.0.0"; }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message