Bug 1323734 - DNS reverse lookup is not working for 1st request
Summary: DNS reverse lookup is not working for 1st request
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: squid
Version: 6.7
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 14:33 UTC by Martin Frodl
Modified: 2016-08-16 10:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1263229
Environment:
Last Closed: 2016-08-16 10:44:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Frodl 2016-04-04 14:33:26 UTC
Description of problem:
A problem likely identical to bug 1263229 has been encountered in squid on RHEL 6. When squid is configured to log fully qualified domain names, reverse DNS lookup is never performed for the first request.

Version-Release number of selected component (if applicable):
squid-3.1.23-9.el6

How reproducible:
always

Steps to Reproduce:

On server machine:
$ cat <<EOF >> /etc/squid/squid.conf
log_fqdn on
logformat fqdn %>A %>Hs "%rm %ru"
access_log /var/log/squid/fqdn.log fqdn
EOF
$ echo OK > /var/www/html/test
$ service httpd start
$ service squid start

On client machine:
$ curl http://<SERVER_NAME>/test -x [<SERVER_IPV6>]:3128 > /dev/null
$ curl http://<SERVER_NAME>/test -x [<SERVER_IPV6>]:3128 > /dev/null
$ curl http://<SERVER_NAME>/test -x [<SERVER_IPV4>]:3128 > /dev/null
$ curl http://<SERVER_NAME>/test -x [<SERVER_IPV4>]:3128 > /dev/null

On server machine:
$ cat /var/log/squid/fqdn.log

Actual results:
<SERVER_IPV4> 200 "GET http://<SERVER_NAME>/test"
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"
<SERVER_IPV6> 200 "GET http://<SERVER_NAME>/test"
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"

Expected results:
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"
<SERVER_NAME> 200 "GET http://<SERVER_NAME>/test"

Comment 3 Tomáš Hozza 2016-08-16 10:44:10 UTC
Red Hat Enterprise Linux version 6 is entering the Production 2 phase of its lifetime and this bug doesn't meet the criteria for it, i.e. only high severity issues will be fixed. Please see https://access.redhat.com/support/policy/updates/errata/ for further information.

This issue is being tracked in Red Hat Enterprise Linux version 7 in bug #1263229.


Note You need to log in before you can comment on or make changes to this bug.