Graylog无法解析主机名(Graylog not resolving hostname)

编程入门 行业动态 更新时间:2024-10-15 12:28:55
Graylog无法解析主机名(Graylog not resolving hostname)

我有一个Graylog服务器,显示2个服务器而不是主机名的IP地址。 它显示其他服务器的正确主机名。 我已经确认DNS是正确的。 关于为什么GL会显示IP而不是主机名的任何想法?

I have a Graylog server that is showing IP addresses for 2 servers instead of Hostnames. It is showing the correct hostnames for the other servers. I have already confirmed DNS is correct. Any ideas on why GL would show IP instead of host name?

最满意答案

我想出了这个问题。 这是在DNS中创建反向查找条目的问题。 最初我只设置了查找条目。 然后删除Graylog中的主机并重新启动rsync。 然后,您可以发出logger -p user.err来创建日志。 希望有所帮助。

I figured out the issue. It was a matter of creating reverse lookup entries in DNS. Originally I only set forward lookup entries. Then delete the host in Graylog and restart rsync. Then you can issue logger -p user.err to create a log. Hope that helps.

更多推荐

本文发布于:2023-07-14 14:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1105123.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:主机名   Graylog   hostname   resolving

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!