From owner-freebsd-questions Wed Jun 17 04:02:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23343 for freebsd-questions-outgoing; Wed, 17 Jun 1998 04:02:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from access.lipetsk.ru (access.lipetsk.ru [195.34.224.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA23324 for ; Wed, 17 Jun 1998 04:02:07 -0700 (PDT) (envelope-from anard@takthq.lipetsk.su) Received: from explore.tts.int ([192.168.100.103]:14085 "EHLO takthq.lipetsk.su" ident: "NO-IDENT-SERVICE") by access.lipetsk.ru with ESMTP id <92560-1918>; Wed, 17 Jun 1998 15:01:39 +0400 Message-ID: <3587A36B.331A31C6@takthq.lipetsk.su> Date: Wed, 17 Jun 1998 15:07:24 +0400 From: "Aleksey Z. Nardinov" X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: trouble to switch off DNS Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I do not need DNS, I have tried to switch off this service (I think it's enough to map hosts over NIS) I have problem:. when I comment in host.conf bind ipfw does not work correctly it looks the following: /etc > cat host.conf # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the nameserver first # If that doesn't work, then try the /etc/hosts file hosts #bind # If you have YP/NIS configured, uncomment the next line nis then I try to add rule by ipfw: /usr/local/etc/ipfw > ipfw add 11002 pass all from 192.168.100.27 to192.168.76.65 ipfw: error: hostname ``192.168.100.27'' unknown usage: ipfw [options] .... when I make host.conf like this: /etc > cat host.conf # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the nameserver first # If that doesn't work, then try the /etc/hosts file hosts bind # If you have YP/NIS configured, uncomment the next line nis Then ipfw runs real :) : /etc > ipfw add 11002 pass all from 192.168.100.27 to 192.168.76.65 11002 allow ip from 192.168.100.27 to 192.168.76.65 And another problem - why does ypxfr use DNS? when I correctly build DNS service all runs fine, but when I remove resolv.conf ypxfr can't take all maps and send clear request to slave server (ypserv). It looks the following: /root/bin > /usr/libexec/ypxfr -d `domainname` -f -h 192.168.100.27 group.bygid ypxfr: failed to send 'clear' to local ypserv: RPC: Unknown host ypxfr: Exiting: Couldn't send "clear" request to local ypserv If I make DNS resolver, then I have all ok! /usr/libexec/ypxfr -d `domainname` -f -h 192.168.100.27 group.bygid ypxfr: Exiting: Map successfully transfered -- anard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message