Thank you
That was what i hoped, I have nothing to do in this case :)
Philippe

-----Message d'origine-----
De : rsyslog [mailto:rsyslog-boun...@lists.adiscon.com] De la part de David Lang
Envoyé : vendredi 6 avril 2018 20:17
À : rsyslog-users
Objet : Re: [rsyslog] fromhost and fromhostip

On Fri, 6 Apr 2018, Maupertuis Philippe wrote:

> Hi list
> Due to misbeaving client , I want to rewrite the message received on the 
> first central sever with the name corresponding to the source ip address.
> I am using fromhost for that and it works so far.
> However I am wondering what is the value of fromhost if the dns couldn't 
> resolve the ip address ?
> I failed to find any specification for that case and would like to know how 
> to test it has failed, probably to replace by fromhostip.

If a name lookup (DNS or /etc/hosts or whatever else is defined in
/etc/nsswitch) fails to return a name, the IP is returned, so fromhost will 
then be the same as fromhost-ip

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is 
a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our 
control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.!!!"
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to