git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[users@httpd] unable to resolve local(virtual) domain


hi guys

my apache is, for a reason I cannot explain, unable to resolve domain(virtual host) which is served by local(on the same box) DNS server.

[core:error] [pid 7251:tid 140307250551040] (EAI 2)Name or service not known: AH00547: Could not resolve host name domain.local -- ignoring!

same time:
# sudo -u apache host domain.local
domain.local has address 10.3.1.99

The host's fqdn is: thisdom.local which is also served by that local DNS server(neither domain/hostname is in /etc/hosts)

In other words this works:

<VirtualHost thisdom.local:443>
....

but this does not, gets ignored a per error above

<VirtualHost domain.local>
...

It works if I put ignored domain - domain.local - in /etc/hosts but I do not want to do that, I want Apache to rely on DNS.

Bit of a puzzle to me this is. Care to share your thoughts?
Many thanks, L.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx