Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 17:26:44 +0100
From:      Guido Demmenie <rottweilertje@rottnic.nl>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: remote logging with syslogd
Message-ID:  <C96C12CA-426B-4FAB-86D1-D6B0A909EDDF@rottnic.nl>
In-Reply-To: <226ae0c60703230654r5643fca6m58849554010052c6@mail.gmail.com>
References:  <226ae0c60703220745x6764d58du4798c3e25d65d5cd@mail.gmail.com> <E003A2D3-BD3F-4086-8D21-60342EA443B8@rottnic.nl> <226ae0c60703230654r5643fca6m58849554010052c6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 23, 2007, at 2:54 PM, David Robillard wrote:

>> Thnx for the tip. Found out that it was not the airport UDP port.  
>> It is
>> some misconfiguration in my DNS, but still don't get why it  
>> doesn't work
>> as expected. For some reason my DNS-name is snipped just before  
>> the TLD.
>>
>> Oh btw i changed some configs
>>
>> I prepended to /etc/syslog.conf the next and deleted what I wrote  
>> above
>> # Log remote Airport Express
>> +airport.intranet.mydomain.org
>> *.*             /var/log/airport.log
>> +*
>> !*
>>
>> And in rc.conf I changed the above to:
>> syslogd_enable="YES"
>> syslogd_flags="-b myhostname.intranet.mydomain.org -a
>> airport.intranet.mydomain.org"
>>
>> So what comes in on syslogd looks like "airport.intranet.mydomain"  
>> so no
>> .org or something. I really don't get where that comes from. But now
>> syslogd rejects because of "name mismatch".
>
> If you're having DNS problems, you can always check if your rc.conf(5)
> and syslog.conf(5) configurations are good by using IP addresses.
> Don't forget to restart syslogd(8) of course. That will help you find
> out if your configurations are good.

Well with my latest changes it kind of works, doesn't look very  
pretty, because
I now use no TLD in my rc.conf(5), so no .org only the  
airport.intranet.mydomain.
And well it is okay like that.

> Now that should not prevent you from fixing your DNS :)

At the moment no time, but I sure must get deeper into the Bind  
manual book ;)

--Guido
www.rottnic.nl




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C96C12CA-426B-4FAB-86D1-D6B0A909EDDF>