Apache Logs DNS Root server IP Addresses only



This issue started happening after upgrading a server from a single
processor to an 8 cpu monster. The Apache logs (both access and error)
contain only ROOT DNS server IP addresses for all virtual and non
hosts.

eg:
168.137.203.9 - - [23/Aug/2007:20:26:14 -0700] "GET {URL} HTTP/1.1
" 200 308 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; S
V1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR
1.1.4322)"
168.137.203.9 - - [23/Aug/2007:20:26:21 -0700] "GET {URL} HTTP/1.1"
304 - "-" "
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
128.1.0.0 - - [23/Aug/2007:20:26:24 -0700] "GET {URL} HTTP/1.1" 200
5162 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Gecko/20070321 Netscape/8.1.3"

Three different people all associated with what I believe to be a root
DNS server. Almost 25K people visit the site each day, it isn't
possible for all of them to be originating from 3 IP Addresses
especially considering the sites are geared towards a younger audience
than H&R Block. :-)

The Apache (2.0.59:prefork) conf where the virtualhosts are defined:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName tidal.gdofwr.com # resolves to a real IPv4 address
DocumentRoot /www/htdocs/tidal-main/
# Used without rotatelogs produces the same results
CustomLog "|/www/apache/sbin/rotatelogs /www/log/tidal-main/access-
%Y_%m_%d.log 1990M" combined
ErrorLog log/tidal-main/error.log
<Directory /www/htdocs/tidal-main>
Options -Indexes
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName fireball.gdofwr.com # resolves to a real IPv4 address
DocumentRoot /www/htdocs/fireball-main/
CustomLog "|/www/apache/sbin/rotatelogs /www/log/fireball-main/
access-%Y_%m_%d.log 1990M" combined
ErrorLog log/fireball-main/error.log
<Directory /www/htdocs/fireball-main>
Options -Indexes
</Directory>
</VirtualHost>

Other services running include: bind 9.2.4-24, vsftpd 2.0.1-5, MySQL
5.1, nagios, iptables +apf, sendmail, SVN (compiled with neon),
BerkeleyDB 4.4 and xinetd. The OS is CentOS4 using Kernel version
2.6.9-55.0.2.ELsmp

Bind seemed a likely culprit and I turned off using my own DNS to
using the web providers DNS but the problem persisted. The only other
likely issue I can think of might be something to do with a rule with
iptables / forwarding, but after turning off the firewall the problem
still existed.

I've searched through the Apache mailing list archive for a solution /
cause, and then searched through the archives on this group and
several others.

Why is Apache logging root DNS IP addresses instead of logging the
user' incoming IP address? I'm sure it's something dead simple I'm
missing, but if anyone can assist it would be immensely appreciated.

The Apache server is "hand built" from a script (APR 0.9.14):

#! /bin/sh
#
# Created by configure

"./configure" \
"--enable-layout=Blackhole" \
"--disable-ipv6" \
"--enable-ssl" \
"--enable-deflate" \
"--enable-mime-magic" \
"--enable-static-htpasswd" \
"--enable-static-rotatelogs" \
"--enable-static-logresolve" \
"--enable-ext-filter" \
"--enable-rewrite" \
"--enable-dav" \
"--enable-so" \
"--with-apr=/usr/local/apr/bin/apr-config" \
"--with-apr-util=/usr/local/apr/bin/apu-config" \
"--with-berkeley-db=/usr/local/BerkeleyDB.4.4/" \
"--enable-suexec" \
"--with-mpm=prefork" \
"--enable-modules=MOST" \

Thank you.

.



Relevant Pages

  • Re: What is CACHE.DNS file?
    ... By default, when DNS is running on a Windows 2000 domain controller, the ... root hints are read from Active Directory upon startup first. ... Does the above apply to Windows Server 2003 R2 configured as an AD ...
    (microsoft.public.windows.server.dns)
  • Re: What is CACHE.DNS file?
    ... It looks like DNS console root hints has up-to-date IP addresses while the ... addresses for root server B and L. ...
    (microsoft.public.windows.server.dns)
  • Re: DNS Root Hints Question
    ... I looked at the article and can confirm that there wasn't any root zone ... So there's no reference to the DNS servers provided by the ISP there - ... If I right click the server name and look at Properties Forwarders there ... Gregg suggested using the copy from server command in the root hints folder. ...
    (microsoft.public.windows.server.sbs)
  • Re: ? Own DNS server
    ... > I think I need to look up virtual hosting of the web server. ... So far as domains and subdomains, domains cost money but they are not ... They will provide the DNS to point the URL to your IP ... Setup apache to use name based virtual domains and assign the document root ...
    (comp.os.linux.networking)
  • Re: Active Directory Replication Monitor cant open domaincontroller
    ... As long as the child dc's point to the dns server at the root this is fine. ... I do have transitive trusts between the root domain and the subdomains, ...
    (microsoft.public.win2000.active_directory)