Why so we see DNS requests when accessing a service, when using tcpwrappers, while we only use IPs in the tcpwrappers config?

Solution Verified - Updated -

Issue

"ALL:[::1]" was defined in the first line of /etc/hosts.allow. When the "snmpwalk -v 1 -c public " command was executed, name resolution to DNS server occurred.

We think that name resolution to DNS server should not occur because we defined only IP address(IPv6) in /etc/hosts.allow. When we defined only IP address(IPv4) in /etc/hosts.allow, the request did not occur.

Please tell us the reason why name resolution to DNS server occurred when only the IP address(IPv6) was defined in /etc/hosts.allow.

# cat /etc/hosts.allow
ALL : [::1]

Environment

  • Red Hat Enterprise Linux (RHEL)
  • tcp wrappers used

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content