~ubuntu-branches/ubuntu/trusty/libnet-dns-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to Changes

  • Committer: Bazaar Package Importer
  • Author(s): Florian Hinzmann
  • Date: 2006-03-31 18:51:36 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060331185136-gpxyhfnnnt9f9b1n
Tags: 0.57-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
1
2
Revision history for Net::DNS                                     -*-text-*-
2
3
=============================
3
4
 
 
5
*** 0.57 February 24, 2006
 
6
 
 
7
Fix rt.cpan.org 17783
 
8
 
 
9
    The inet6 tests do not skip enough tests when ipv6 is not available.
 
10
    I did not catch this in my setup since IPv6 is available on all my
 
11
    machines. 
 
12
 
 
13
    Since this breaks automatic CPAN installs a new release is
 
14
    reasonable.
 
15
 
 
16
 
 
17
*** 0.56 February 20, 2006
 
18
 
 
19
Fix rt.cpan.org 17694
 
20
 
 
21
   Net::DNS::typesbyval() now confesses on undefined
 
22
   args. Acknowledgements to Dean Serenevy.
 
23
 
 
24
Feature Implemented SPF (typecode 99).
 
25
 
 
26
   The class completely inherits from Net::DNS::RR::TXT (the easiest 
 
27
   RR to implement ever).
 
28
 
 
29
Feature added rrsort() function.
 
30
   Feature was requested by Eric Hall in rt.cpan.org 13392
 
31
 
 
32
   This was a little tricky as I think that the sort functions are in
 
33
   fact RR specific class attributes that should be accessed through
 
34
   class methods. This is difficult to implement. I do think I found a
 
35
   fairly clean manner. It does require a global variable in Net::DNS
 
36
   to store the functions and some trickery when the sorting functions
 
37
   are defined.
 
38
 
 
39
   See Net::DNS and Net::DNS::RR documentation for details.
 
40
 
 
41
   Defaults sorting functions are currently implemented in 
 
42
      SRV: default sort: low prioirity to high priority and for
 
43
           same preference highest weight first.
 
44
           weight: sort all RRs based on weight, highest first
 
45
           priority: see default sort
 
46
 
 
47
      MX:  default sort: lowest preference first.
 
48
           preference: see default sort    
 
49
           
 
50
    NAPTR: default sort: lowest to highest order, for same order lowest
 
51
           preference first
 
52
           order: see default sort
 
53
           preference: order on preference, lowest first
 
54
 
 
55
      PX:  See MX
 
56
      RT:  See MX
 
57
 
 
58
 
 
59
Fix rt.cpan.org 14653 and 14049 
 
60
   TCP fallback after V6 socket failure 
 
61
 
 
62
   Reworked Net::DNS::Base::Nameserver::send_tcp() to fallback to IPv4 when 
 
63
   possible. (change applied to SVN Revision 538).
 
64
 
 
65
 
 
66
Feature Cleanup duplicated code
 
67
 
 
68
   axfr_send() and send_tcp() contained some duplicated code. I merged
 
69
   this in one "helper" method _create_tcp_socket()
 
70
 
 
71
 
 
72
 
 
73
Fix AXFR persistent sockets coliding with query sockets.
 
74
 
 
75
   I think that using the same persistent sockets for AXFR and
 
76
   'ordinary' queries could lead to race conditions. Better safe than
 
77
   sorry. For axfrs we create a different set of persitent sockets.
 
78
 
 
79
   Note that this prevents performing a SOA query first and then using
 
80
   the same socket for the zone transfer itself(in Net::DNS these are
 
81
   different code paths). This behavior 00 SOA and transfer on the
 
82
   same socket-- seems to be suggested by 1035 section 4.2.2:
 
83
 
 
84
     "In particular, the server should allow the SOA and AXFR request
 
85
     sequence (which begins a refresh operation) to be made on a
 
86
     single connection."
 
87
 
 
88
   Obviously, on the client side this behavior is not mandatory.
 
89
 
 
90
 
 
91
Fix rt.cpan.org 17596
 
92
    
 
93
    The fixes and features above also fixed the timeout problem reported by
 
94
    Paul Hofman
 
95
   
 
96
 
 
97
 Profiling
 
98
 
 
99
    It turned out that each time we were calling
 
100
    Net::DNS::Resolver::Base::nameserver(); We were creating a
 
101
    resolver object. Now a resolver object is only called when a
 
102
    domain name is given as argument.
 
103
 
 
104
 
 
105
**** 0.55 December 14, 2005
 
106
 
 
107
Fix Inconsistency in test
 
108
 
 
109
   There was an inconsistency in the t/05-rr.t that got triggered by
 
110
   the release of Net::DNS::SEC version 0.13 (when installed). That
 
111
   has been fixed.
 
112
 
 
113
Feature Net::DNS::Nameserver loop_once()
 
114
 
 
115
   Uncommented the documentation of the loop_once() function and introduced
 
116
   get_open_tcp() that reports if there are any open TCP sockets (useful
 
117
   when using loop_once().
 
118
 
 
119
   loop_once() itself was introduced in version 0.53_02
 
120
 
 
121
 
 
122
Fix rt.cpan.org 16392
 
123
 
 
124
   TCP Sockets stayed open even if not requested. This may cause the kernel
 
125
   to run out of TCP slots. 
 
126
 
 
127
   This bug is the reason for releasing version 0.55 shortly after 0.54.
 
128
 
 
129
   Spotted and patched by Robert Felber.
 
130
 
 
131
 
 
132
*** 0.54 December 7, 2005
 
133
 
 
134
 
 
135
Fix rt.cpan.org 15947
 
136
 
 
137
  Failure to bind a nameserver when specifying an IPv6 address.
 
138
 
 
139
Fix rt.cpan.org 11931
 
140
 
 
141
  Using Net-DNS 0.53 on Win XP, it is unable to retrieve the
 
142
  nameservers when the IP address of the interface is assigned by
 
143
  DHCP.  This is due to the DHCP assigned IP address being stored in
 
144
  DhcpIPAddress rather than IPAddress (which is then 0.0.0.0).  Adding
 
145
  a check of DhcpIPAddress existance and not being 0.0.0.0 fixes the
 
146
  problem.  Applied the patch submitted by "orjan". 
 
147
 
 
148
Fix rt.cpan.org 15119
 
149
 
 
150
  main_loop() consumed 100% of memory, because of a bug that
 
151
  couced loop_once() to loop ad infinitum.
 
152
 
 
153
Fix rt.cpan.org 15299
 
154
 
 
155
  Defining multiple constants with 'use constant { BLA => 1, FOO =>2 };
 
156
  is a backwards incompatible feature. Thanks to Ian White for spotting and
 
157
  fixing this.
 
158
 
 
159
*** 0.53_02 Oct 18, 2005
 
160
 
 
161
 
 
162
 
 
163
Fix rt.cpan.org 14046
 
164
 
 
165
  RRSIGs verify and create failed fror a number of RR types. The 
 
166
  error message showed something like:
 
167
      Can't call method "dn_comp" on an undefined value 
 
168
  This was caused by an ommission in the _canonicalRdata() method
 
169
  in Net::DNS::RR that was inherited by all failing RR types.
 
170
 
 
171
  Code was added to t/05-rr.t that will test signature creation
 
172
  if Net::DNS::SEC is available and can be loaded.
 
173
 
 
174
 
 
175
Feature async nameserver behaviour.
 
176
  
 
177
   In rt.cpan.org 14622 Robert Stone suggested:
 
178
 
 
179
      The fact that it needs to take over the main runnning thread
 
180
      limits its audience.  Since many daemon programs are already
 
181
      driven by a top level select loop, it seems useful to provide an
 
182
      API for the user to integrate Net::DNS::Nameserver processing to
 
183
      their own select loop.
 
184
 
 
185
   He also supplied example code for which he is hereby acknowledged.
 
186
   The patch was not used because simultaneously Robert Martin-Legene
 
187
   supplied a patch to Nameservers.pm that allowed the same async
 
188
   functionality through the use of loop_once method. Robert M-L's 
 
189
   code also carefully manages the TCP sockets, so that they can 
 
190
   deal with AXFRs.
 
191
 
 
192
   Robert S. has been so kind to review Robert M-L's code and is hereby
 
193
   kindly acknowledged.
 
194
 
 
195
   NB. Since the code may be subject to change the documentation of the
 
196
   loop_once method has been commented out.
 
197
 
 
198
 
 
199
Fix bgsend srcaddr for IPv6 Achim Adam previously noticed that the
 
200
  source address wildard "::" works provides better portability than
 
201
  "0". We forgot to fix the bgsend() part earlier.
 
202
 
 
203
 
 
204
 
 
205
Fix rt.cpan.org 14624 
 
206
 
 
207
  Fixed documentation of Nameserver.pm Replyhandler and fixed a bug
 
208
  that prevented the peerhost to be set.
 
209
 
 
210
Fix rt.cpan.org 14700
 
211
 
 
212
  mistyped _name2wire helper function name. Noticed and patched by Simon 
 
213
  Josefsson.
 
214
 
 
215
Fix rt.cpan.org 13944
 
216
 
 
217
  Terminating dot not printed when printing SRV record. The SRV dname should
 
218
  be printed as FQDN, that is, including the dot at the end.
 
219
  Acknowledgements Jakob Schlyter. 
 
220
 
 
221
  While adding the "dot" I noticed that in the fileformat parsing code
 
222
  there might be theoretical corner cases where rdata elements are not
 
223
  properly read. The code needs an audit for this.
 
224
 
 
225
Fix srcport for socket creation in bgsend method
 
226
 
 
227
   Lionel Cons noted and patched a small bug in bgsocket creation code for
 
228
   lib/Net/DNS/Resolver/Base.pm
 
229
 
 
230
 
 
231
*** 0.53_01 July 31, 2005
 
232
 
 
233
Fix rt.cpan.org 13809
 
234
 
 
235
   "Phar" noted that the peerhost is never passed to the make_reply function
 
236
   in nameserver.pm and provided the trivial patch. 
 
237
 
 
238
Fix rt.cpan.org 13922
 
239
 
 
240
    Fixed a problem with persistent TCP sockets which was introdcuced
 
241
    because of using the address family as an index to the array of
 
242
    persistent sockets. 
 
243
 
 
244
    Used AF_UNSPEC for the array index for the TCP socket; just to choose
 
245
    a number. The key to the persistent sockets is the remote nameserver:port 
 
246
    combination.
 
247
 
 
248
    Acknowledgements to Mike Mitchell for reporting the bug and testing
 
249
    the solution.
 
250
 
 
251
Feat t/01-resolve will not try to do tests from private IP space; hopefully
 
252
    that cuts down on the number of false positives.
 
253
 
 
254
 
4
255
*** 0.53 July 22, 2005
5
256
 
6
257
Fix rt.cpan.org 13669
15
266
 
16
267
Doc rt.cpan.org 13387
17
268
 
18
 
    Documented the BUG caught by Robert Martin-Legène;
 
269
    Documented the BUG caught by Robert Martin-Leg�ne
19
270
    Net::DNS::Nameserver running with multiple IP interfaces might
20
271
    violate section 4 of RFC2181.
21
272
 
836
1087
Chris Reinhardt 
837
1088
Michael Fuhr 
838
1089
 
839
 
$Id: Changes 468 2005-07-22 12:12:55Z olaf $
 
1090
$Id: Changes 575 2006-02-24 12:51:55Z olaf $