Hi all,
I have configured a VH using private as well as public IP. I would like
to make sure
that the requests from the server ( on which apache is running ) are
resolved locally -
without any DNS lookup. I have specified the private IP with servername in
the /etc/hosts.
But any request from from the server still do the DNS lookup.
Any suggestions on how to avoid DNS lookup?
Here is the VH section
<VirtualHost 10.x.x.2 213.x.x.250>
ServerName dtd.mydomain.com
...
</VirtualHost>
The /etc/hosts file:
127.0.0.1 localhost
10.x.x.2 dtd.mydomain.com
Appreciate your help,
Santosh
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
I have configured a VH using private as well as public IP. I would like
to make sure
that the requests from the server ( on which apache is running ) are
resolved locally -
without any DNS lookup. I have specified the private IP with servername in
the /etc/hosts.
But any request from from the server still do the DNS lookup.
Any suggestions on how to avoid DNS lookup?
Here is the VH section
<VirtualHost 10.x.x.2 213.x.x.250>
ServerName dtd.mydomain.com
...
</VirtualHost>
The /etc/hosts file:
127.0.0.1 localhost
10.x.x.2 dtd.mydomain.com
Appreciate your help,
Santosh
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org