suddenly bind and access to NNTP server (localhost) doesn't work

Andreas Klemm andreas at freebsd.org
Mon Nov 3 06:15:15 PST 2003


with local nameserver
Reply-To: 
X-Operating-System: FreeBSD 5.1-CURRENT
X-Disclaimer: A free society is one where it is safe to be unpopular

Hi,

is there perhaps a problem with committs of the last 2 days ?

I use a local and caching DNS server. From /usr/src (not ports).

Since about 2 days I can't make dns queries via local nameserver.
To get dns requests I need to add my forwarders in /etc/resolv.conf.

But then one problem remains. knews can't connect anymore to
local NNTP server (leafnode+).

BTW, changing the Firewall progile to "open" didn't cure the problem
as well.

Am I the only one having this ??

	Andreas ///

/etc/resolv.conf
domain		klemm.apsfilter.org
nameserver	127.0.0.1

/etc/hosts
#::1			localhost.klemm.apsfilter.org localhost
127.0.0.1		localhost.klemm.apsfilter.org localhost
172.16.2.1		titan.klemm.apsfilter.org titan
172.16.2.1		titan.klemm.apsfilter.org.

/etc/namedb/named.conf:
options {
	directory "/etc/namedb";
	forward only;
	forwarders {
		// Arcor
		145.253.2.11;
		145.253.2.11;
		145.253.2.75;
		145.253.3.171;
		145.253.2.171;
	};
};

zone "." {
	type hint;
	file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
	type master;
	file "localhost.rev";
};

zone "klemm.apsfilter.org" {
	type master;
	file "db.klemm.apsfilter.org";

};

zone "2.16.172.in-addr.arpa" {
	type master;
	file "db.172.16.2";
};

uname -a:
FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 19 16:33:53 CEST 2003     root at titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN  i386

/etc/rc.conf

# Reordered by rclean on Tue Oct 28 12:10:09 2003
# rclean Copyright (c) 2002 Lapo Luchini <lapo at lapo.it>
# Please make all changes to this file, not to /etc/defaults/rc.conf
# This file contains just the overrides from /etc/defaults/rc.conf
hostname="titan.klemm.apsfilter.org"		# ""
firewall_enable="YES"				# "NO"
#firewall_type="sshirc"				# "UNKNOWN"
firewall_type="open"				# "UNKNOWN"
firewall_quiet="NO"				# "NO"
ifconfig_fxp0="inet 172.16.2.1  netmask 255.255.255.0" # "<not defined>"
inetd_enable="YES"				# "NO"
named_enable="YES"				# "NO"
sshd_enable="YES"				# "NO"
amd_enable="YES"				# "NO"
nfs_client_enable="YES"				# "NO"
nfs_server_enable="YES"				# "NO"
nfs_reserved_port_only="YES"			# "NO"
rpcbind_enable="YES"				# "NO"
ntpdate_enable="YES"				# "NO"
ntpdate_flags="-b 18.72.0.3 128.118.46.3 130.105.1.156 128.96.60.5" # "-b"
defaultrouter="172.16.2.5"			# "NO"
keymap="german.iso"				# "NO"
keyrate="fast"					# "NO"
font8x16="iso15-8x16"				# "NO"
font8x14="iso15-8x14"				# "NO"
font8x8="iso15-8x8"				# "NO"
blanktime="600"					# "300"
saver="logo"					# "NO"
moused_enable="YES"				# "NO"
sendmail_enable="YES"				# "NO"
sendmail_flags="-L sm-mta -bd -q5m"		# "-L sm-mta -bd -q30m"
lpd_enable="YES"				# "NO"
usbd_enable="YES"				# "NO"
check_quotas="NO"				# "YES"
xntpd_enable="YES"				# "<not defined>"
portmap_enable="YES"				# "<not defined>"
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib"

root at titan[ttyp3]{202} ~ ipfw l
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any

BTW, as normal user I can't run ipfw l
andreas at titan[ttyp3]{1002} ~ ipfw l
ipfw: socket: Operation not permitted

But I think this is normal, or ?


	Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/


More information about the freebsd-current mailing list