[syslog-ng] Syslog-ng DNS Problem

zarahel at iol.pt zarahel at iol.pt
Tue May 20 11:57:39 CEST 2008


I figured out the problem.

It wasn´t a problem in syslog-ng, but in my dns server. For some  
reason I had to re-create my hosts in my foward lookup zone and then  
reload my dns server. After that, syslog-ng started resolving the  
names ok.

Thkx

----- Mensagem de kkadow at gmail.com ---------
     Data: Mon, 19 May 2008 21:41:03 -0500
       De: K K <kkadow at gmail.com>
Responder Para: Syslog-ng users' and developers' mailing list  
<syslog-ng at lists.balabit.hu>
  Assunto: Re: [syslog-ng] Syslog-ng DNS Problem
     Para: Syslog-ng users' and developers' mailing list  
<syslog-ng at lists.balabit.hu>


> On 5/19/08, zarahel at iol.pt <zarahel at iol.pt> wrote:
>> I´ve installed syslog-ng and it´s cacti plugin and it´s working fine,
>> except for it´s name resolution.
>
> Which version of syslog-ng?
>
>
>> For some reason it resolves some names, and doesn´t resolve others.
>> I´m able to ping my hosts by their names without any problem, and I´ve
>> set use_dns(yes) in syslog-ng.conf
>
> When you say "it resolves some names", do you mean "it resolves some
> IP addresses to names"?
>
> Can you post an example of a 'destination' where you are using the name?
>
>
>> I´ve done nslookup, and everything´s as it should.
>
> So if you nslookup the IP of each source, the nameserver returns an
> appropriate name?
>
>> Does anybody have any idea why syslog-ng is resolving only some of my
>> hosts names?
>
> What OS?  What is in /etc/resolv.conf? /etc/hosts?
> What is in /etc/nsswitch.conf (or the equivalent for your OS)?
>
> I had all sorts of trouble because of slow nameservers (out of my
> control), I ended up just putting an entry in /etc/hosts for each
> remote syslog source.  Not a scalable solution, but effective.
>
> Kevin
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:  
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>


----- Fim da mensagem de kkadow at gmail.com -----



________________________________________________________________________________
Cartão Citi: receba GRÁTIS uma máquina de café
Peça aqui o seu http://www.iol.pt/correio/rodape.php?dst=0805131


More information about the syslog-ng mailing list