Path: utzoo!attcan!uunet!jarthur!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!rice!rice!sun-spots-request From: glenn@csri.toronto.edu (Glenn Mackintosh) Newsgroups: comp.sys.sun Subject: Re: syslog.conf and `LOGHOST' Keywords: Networks Message-ID: <1990Sep4.232403.17084@rice.edu> Date: 1 Sep 90 21:32:16 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 310, message 3 X-Refs: Original: v9n304 schoch@trident.arc.nasa.gov (Steve Schoch) writes: >My question is: "How does syslogd find out whether the current host is >the loghost or not?" It doesn't seem to work on our system. Does it use >gethostbyname()? I have modified libc.so to use the nameserver instead of >the host table. Since you are using the nameserver you are going to need an A record for "loghost" in the nameserver data. I.e. something of the form: loghost IN A ???.???.???.??? Glenn Mackintosh Univ. of Toronto CSNET/ARPA: glenn@utcs.{toronto.edu,utoronto.ca} CDNNET: glenn@utcs.toronto.cdn BITNET: glenn@utcs.utoronto.bitnet (may not work from all sites) UUCP: uunet!utcs!glenn