Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Sep 7, 2012
1 parent e43ff03 commit 4b9b634
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/GeoDNS.pm
Expand Up @@ -56,9 +56,10 @@ sub reply_handler {
$self->check_config();

my ($domain, $query_class, $query_type, $peer_host) = @_;

$domain = lc $domain . '.';

warn "$peer_host | $domain | $query_type $query_class\n" if $self->{debug};
warn "$peer_host | $domain | $query_type $query_class\n" if $self->{log};

my $stats = $self->{stats};

Expand Down
5 changes: 2 additions & 3 deletions monitor/.gitignore
@@ -1,3 +1,2 @@
measurements.db
rrd
graphs
db
node_modules
3 changes: 1 addition & 2 deletions pgeodns
Expand Up @@ -42,9 +42,8 @@ for my $i (0 .. scalar @{$opt_interface} - 1) {

my $g = GeoDNS->new(
server_id => $opt_interface->[0],
debug => 1,
config_file => $opt_config,
development => ($opt_development ? 1 : 0),
log => 1,
);


Expand Down

0 comments on commit 4b9b634

Please sign in to comment.