Date: Wed, 17 Jun 1998 15:07:24 +0400 From: "Aleksey Z. Nardinov" <anard@takthq.lipetsk.su> To: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: trouble to switch off DNS Message-ID: <3587A36B.331A31C6@takthq.lipetsk.su>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3587A36B.331A31C6>