diff --git a/www/lib/DNSManager.pm b/www/lib/DNSManager.pm index 25d9b76..ef954ca 100755 --- a/www/lib/DNSManager.pm +++ b/www/lib/DNSManager.pm @@ -283,6 +283,7 @@ prefix '/domain' => sub { , admin => session('admin') , domain => param('domain') , domain_zone => $zone->output() + , user_ip => request->address , expert => true }; } else @@ -298,7 +299,8 @@ prefix '/domain' => sub { , cname => $zone->cname() , ptr => $zone->ptr() , mx => $zone->mx() - , ns => $zone->ns() }; + , ns => $zone->ns() + , user_ip => request->address }; } } diff --git a/www/views/details.tt b/www/views/details.tt index 1a248d4..296fb86 100644 --- a/www/views/details.tt +++ b/www/views/details.tt @@ -151,6 +151,7 @@