Permalink
Browse files

if no nameserver configured in /etc/resolv.conf, send to 127.0.0.1. C…

…loses #1851.
  • Loading branch information...
1 parent 9fa7373 commit 4a4597e9c0cb4a5a4f927a2a9f5328c5c23afe93 @ahupowerdns ahupowerdns committed with mind04 Oct 31, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 pdns/secpoll-auth.cc
@@ -52,6 +52,9 @@ static vector<ComboAddress> parseResolveConf()
}
}
+ if(ret.empty()) {
+ ret.push_back(ComboAddress("127.0.0.1", 53));
+ }
return ret;
}

0 comments on commit 4a4597e

Please sign in to comment.