Date: Tue, 3 Apr 2001 09:38:20 -0400 (EDT) From: Kenneth W Cochran <kwc@world.std.com> To: freebsd-stable@freebsd.org Subject: Strange localhost NS look attempts Message-ID: <200104031338.JAA16296@world.std.com>
next in thread | raw e-mail | index | archive | help
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... <shrug>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104031338.JAA16296>
