-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-cpan-module: Net::DNS git-cpan-version: 0.65 git-cpan-authorid: OLAF
- Loading branch information
Showing
9 changed files
with
131 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# https://module-build.sourceforge.net/META-spec.html | ||
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# | ||
name: Net-DNS | ||
version: 0.64 | ||
version_from: lib/Net/DNS.pm | ||
installdirs: site | ||
--- #YAML:1.0 | ||
name: Net-DNS | ||
version: 0.65 | ||
abstract: Perl DNS resolver module | ||
author: | ||
- Olaf Kolkman <[email protected]> | ||
license: unknown | ||
distribution_type: module | ||
configure_requires: | ||
ExtUtils::MakeMaker: 0 | ||
requires: | ||
Digest::HMAC_MD5: 1 | ||
Digest::MD5: 2.12 | ||
IO::Socket: 0 | ||
MIME::Base64: 2.11 | ||
Net::IP: 1.2 | ||
Test::More: 0.18 | ||
|
||
distribution_type: module | ||
generated_by: ExtUtils::MakeMaker version 6.30 | ||
Digest::HMAC_MD5: 1 | ||
Digest::MD5: 2.12 | ||
IO::Socket: 0 | ||
MIME::Base64: 2.11 | ||
Net::IP: 1.2 | ||
Test::More: 0.18 | ||
no_index: | ||
directory: | ||
- t | ||
- inc | ||
generated_by: ExtUtils::MakeMaker version 6.48 | ||
meta-spec: | ||
url: https://module-build.sourceforge.net/META-spec-v1.4.html | ||
version: 1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# $Id: 05-rr-various.t 795 2009-01-26 17:28:44Z olaf $ -*-perl-*- | ||
# Contains a number of additional test for RR related functionality | ||
|
||
|
||
use Test::More; | ||
use strict; | ||
use Net::DNS; | ||
use vars qw( $HAS_DNSSEC $HAS_DLV $HAS_NSEC3 $HAS_NSEC3PARAM); | ||
|
||
|
||
plan tests => 4; | ||
|
||
|
||
is ( Net::DNS::stripdot ('foo\\\\\..'),'foo\\\\\.', "Stripdot does its magic in precense of escapes test 1"); | ||
is ( Net::DNS::stripdot ('foo\\\\\.'),'foo\\\\\.', "Stripdot does its magic in precense of escapes test 2"); | ||
|
||
|
||
|
||
# rt.cpan.org 41071 | ||
my $pkt1 = Net::DNS::Packet->new('e3.example.com','AAAA','IN'); | ||
$pkt1->push( answer => Net::DNS::RR->new( | ||
name => 'e3.example.com', | ||
type => 'AAAA', | ||
address => 'CAFE:BABE::1' | ||
)); | ||
my $pkt2 = Net::DNS::Packet->new( \$pkt1->data ); | ||
is(($pkt1->answer)[0]->string,($pkt2->answer)[0]->string,"New from string and new from hash creation "); | ||
|
||
is(($pkt1->answer)[0]->address,"cafe:babe:0:0:0:0:0:1","Lets have cafe:babe:0:0:0:0:0:1"); | ||
|
||
|
||
|
||
|
||
#-------------- | ||
# | ||
# Some test that test on appropriate normalization of internal storage | ||
# when using new_from_hash | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters