<div dir="ltr">Hello,<br>I have my entry for authentication server as localhost and <a href="http://127.0.0.1">127.0.0.1</a> which is correct. However when wifidog starts it appears to be contacting an external DNS server and trying to resolve that address and when it can't it gives the error "cannot contact any auth servers." It appears that wifidog doesn't attempt to contact the server listening on localhost if it can't resolve the hostname externaly. This is what I see in debug/foreground:<br>
<br><br>[7][Tue Aug 5 10:39:32 2008][32120](util.c:137) Locking wd_gethostbyname()<br>[7][Tue Aug 5 10:39:32 2008][32120](util.c:137) wd_gethostbyname() locked<br>[7][Tue Aug 5 10:39:32 2008][32120](util.c:152) Unlocking wd_gethostbyname()<br>
[7][Tue Aug 5 10:39:32 2008][32120](util.c:152) wd_gethostbyname() unlocked<br>[7][Tue Aug 5 10:39:32 2008][32120](centralserver.c:256) Level 5: Resolving popular server [<a href="http://www.google.com">www.google.com</a>] succeeded = [<a href="http://209.85.171.104">209.85.171.104</a>]<br>
[7][Tue Aug 5 10:39:32 2008][32120](centralserver.c:276) Level 5: Marking auth server [localhost.localdomain ] as bad and trying next if possible<br><br><br>Can anybody help me to work around this or am I doing something wrong? I guess since it is using library resolver routines it will never look inside of /etc/hosts ???<br>
<br>Thanks<br>C.<br></div>