commit b99a91cd26c787483f0385ff2410eeea8eee8c5c from: jrmu date: Mon Mar 06 17:14:21 2023 UTC Fix rDNS bug commit - 9bcc7d5dd8f2ff81cc1185553ce36f64284fabcb commit + b99a91cd26c787483f0385ff2410eeea8eee8c5c blob - 5f975bc20b60739da562c37e93b5bb2017d38587 blob + ad797c7bf421778b4515b7ced6a616e96b7a2b01 --- DNS.pm +++ DNS.pm @@ -150,7 +150,7 @@ sub setrdns { my $name = substr($reversed, 0, 32-$subnet/4); $name = join('.', split(//, $name)); # delete old PTR records, then set new one - return setdns($name, $origin) && setdns($name, $origin, "PTR", $hostname); + return setdns($name, $origin) && setdns($name, $origin, "PTR", $hostname."."); } # delete rdns of $ip6 given $subnet # return true on success; false on failure