~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to pdns/dynhandler.cc

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2006-05-06 10:40:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060506104044-v9hczzfl7dcri6qt
Tags: 2.9.20-3
Disable the recursor, this is in a separate package now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
  ostringstream os;
204
204
  if(parts.size()!=3)
205
205
    return "syntax: notify-host domain ip";
 
206
 
 
207
  struct in_addr inp;
 
208
  if(!Utility::inet_aton(parts[2].c_str(),&inp))
 
209
    return "Unable to convert '"+parts[2]+"' to an IP address";
 
210
 
206
211
  L<<Logger::Warning<<"Notification request to host "<<parts[2]<<" for domain '"<<parts[1]<<"' received"<<endl;
207
212
  Communicator.notify(parts[1],parts[2]);
208
213
  return "Added to queue";