1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866
|
$Id: Changes 2045 2026-01-16 12:30:12Z willem $ -*-text-*-
**** 1.54 Jan 16, 2026
Resync with IANA DNS parameters registry.
Resync with IANA DNSSEC algorithms registry.
Implement DELEGI as derived subtype of DELEG RR.
Backport DELEG parser to SVCB.
**** 1.53 Aug 29, 2025
Suppress autovivified undefined $rr->{class} and $rr->{ttl}.
Rework test scripts for SVCB and DELEG.
**** 1.52 Jul 29, 2025
Refactor SVCB to avoid internal use of generic keyNN.
DELEG documentation and code improvement.
Fix rt.cpan.org #168433
Bug in resolver base selection on non-Unix/Linux platforms
**** 1.51 Jul 4, 2025
Resync with IANA DNS Parameters registry.
Add prototype DELEG RR package.
Minor code and documentation improvements.
**** 1.50 Feb 21, 2025
Minor code improvements in Resolver::Base.
Add RESINFO package for resolver information.
Documentation revision and reformatting.
Fix rt.cpan.org #158714
Fedora41: IPv4 loopback disabled in IPv6-only configuration
Fix rt.cpan.org #158706
Use of uninitialized value [in _send_udp]
**** 1.49 Dec 27, 2024
Add DSYNC package for Generalized Notification.
EDNS: Add support for ZONEVERSION option.
Fix rt.cpan.org #157700
"Use of uninitialized value" errors when using TCP connections
Fix rt.cpan.org #157669
Net::DNS::Nameserver: SOA not present in NODATA response
Fix rt.cpan.org #157195
EDNS option structure does not match JSON from $packet->edns->print
Fix rt.cpan.org #157043
User-hostile return value from SVCB key methods
**** 1.48 Nov 8, 2024
SVCB: Add tls-suppored-groups parameter.
Fix failures in 01-resolver.t dry tests.
**** 1.47 Sep 18, 2024
Restore current domain name following $INCLUDE in zone file.
Update RFC and other document references.
Fix rt.cpan.org #155337
Issue with parallel run of TSIG tests
**** 1.46 Aug 19, 2024
Resync with IANA DNS Parameters registry.
Revise documentation for Packet.pm and Header.pm.
Random ID cache moved from header->id to packet->encode.
Restructure resolver method inheritance tree.
**** 1.45 May 2, 2024
Resync with IANA DNSSEC Algorithm Numbers registry.
Resync with IANA DS Digest Algorithms registry.
Add support for EDNS CO flag.
Fix rt.cpan.org #152756
Net::DNS::Resolver::UNIX creates $ENV{PATH} key if one doesn't exist
**** 1.44 Feb 15, 2024
Simplify testing of resolver error paths.
Prevent read beyond end of RDATA in corrupt SVCB RR.
**** 1.43 Jan 26, 2024
Update b.root-servers.net addresses in resolver hints.
Improve accuracy and completeness of dependency metadata.
Nameserver: hangs on persistent TCP connection (Windows).
IPSECKEY: leave gateway undefined for gatetype 0.
Remove remaining support for GOST.
Fix rt.cpan.org #151240
Nameserver.pm: DoS vulnerability in TCP handling
Fix rt.cpan.org #151232
Net::DNS::Resolver::new hangs for 150s on Win32 with no active DNS
Fix rt.cpan.org #151075
Bug in Net::DNS::Resolver::Recurse::_referral
Fix rt.cpan.org #151074
Deep recursion in Net::DNS::Resolver::Recurse
**** 1.42 Dec 24, 2023
Fix rt.cpan.org #150695
Hang in Net::DNS::Nameserver on Windows
**** 1.41 Nov 28, 2023
Accept inbound Ethernet "Jumbo" UDP packet.
Facilitate decoding of mDNS/SD packets with compressed RDATA.
Update Parameters.pm to resync with IANA registry.
Fix rt.cpan.org #150550
Error trying to use Socket macro SO_REUSEPORT in Windows
**** 1.40 Aug 30, 2023
Add support for SVCB dohpath and ohttp parameters.
More robust test of bgbusy() SpamAssassin workaround.
Fix rt.cpan.org #149456
t/05-SOA.t test fails in 2038
Fix rt.cpan.org #149280
Deep recursion on subroutine "Net::DNS::Resolver::Recurse::_recurse"
**** 1.39 Jun 1, 2023
Fix rt.cpan.org #148340
udpsize uninitialized value
**** 1.38 May 9, 2023
Mailbox.pm: Improve robustness of address parsing.
Deprecate packet->edns->size() method.
Deprecate rdatastr() historical RR subtype method.
Major overhaul of pre-installation test scripts.
Add new t/TestToolkit.pm
Refactor socket code and control structure in
Nameserver.pm and improve efficiency of zonefile
data storage and retrieval.
Fix rt.cpan.org #148274
Multicast DNS flag breaks Net::DNS::Parameters::classbyval
Fix rt.cpan.org #148273
EDNS extended rcode not handled correctly
Fix rt.cpan.org #147507
Nameserver.pm: peerhost undefined after $sock->accept
**** 1.37 Mar 13, 2023
Add links to relevant RFCs in package documentation.
Fix rt.cpan.org #147038
resolver->axfr( undef ) fails silently
Fix rt.cpan.org #145944
Case sensitivity issue with AXFR
**** 1.36 Dec 30, 2022
Adopt JSON as presentation notation for EDNS options.
Disallow zero packet->id in outbound packet.
Remove deprecated 2-argument TSIG->create() method.
Revise TSIG test scripts and documentation.
**** 1.35 Oct 4, 2022
Improve SVCB error reporting.
Fix rt.cpan.org #144328
accept_reply test fails with matched consecutive "random"
generated packet->id
Fix rt.cpan.org #144299
Spelling errors.
**** 1.34 May 30, 2022
Improve robustness of EDNS option compose/decompose functions.
Simplify code in Makefile.PL.
Fix rt.cpan.org #142426
Avoid "Useless use of a constant in void context" warning.
**** 1.33 Dec 16, 2021
Fix rt.cpan.org #137768
Test t/05-SVCB.t on Perl 5.18.0 fails with deep recursion.
Fix rt.cpan.org #144136/#132921
$resolver->send wrongly overwrites RD flag in user's packet.
**** 1.32 Jul 16, 2021
Text: Offer both Unicode and escaped-ASCII strings.
Add LICENSE file to comply with Fedora/RedHat announcement.
Fix rt.cpan.org #136666
Net::DNS::RR::ZoneFile parser erroneously strips line
terminators in quoted string forming part of multiline RR.
**** 1.31 May 2, 2021
Improve implementation of SVCB record.
**** 1.30 Mar 30, 2021
Simplify parsing of multi-line RRs in zone file.
Improve robustness of "dry" resolver tests.
Avoid deep recursion in non-fatal test report.
**** 1.29 Nov 18, 2020
Include test number in summary of failed non-fatal tests.
Remove Net::DNS::SEC specific tests.
Fix faulty test plan in t/08-recurse.t.
**** 1.28 Oct 23, 2020
Eliminate indirect object syntax.
Eliminate grep/map <expression>.
**** 1.27 Sep 11, 2020
Fix rt.cpan.org #133203
Net::DNS::RR::LOC erroneously strips non default values from
string representation
**** 1.26 Aug 6, 2020
Add HTTPS/SVCB packages.
Fix rt.cpan.org #132921
EDNS OPT handling
**** 1.25 Jun 26, 2020
Parsing of TSIG keyfiles made more robust.
**** 1.24 May 27, 2020
Accept TSIG key generated by BIND tsig-keygen.
Add Net::DNS::RR::AMTRELAY package.
**** 1.23 Mar 18, 2020
Deprecate 2-argument form of TSIG create().
Fix rt.cpan.org #132170
[Documentation] Problems with TSIG on ddns update.
Fix rt.cpan.org #131906
Undefined errorstring/warning when axfr fails
**** 1.22 Feb 13, 2020
Fix rt.cpan.org #131579
Parse issue in Net::DNS::RR->token
Feature
Provide rudimentary decode and print for DSO packet.
**** 1.21 Aug 30, 2019
Fix error report for non-existent or recursive zone file $INCLUDE.
Emit one deprecation warning on invocation of obsolete method.
Rework OPT.pm EDNS0 option construction.
Remove obsolete Net::DNS::RR::DLV package.
Add Net::DNS::RR::ZONEMD package.
Fix rt.cpan.org #128901
background TCP query logic expects to read entire response at once
**** 1.20 Mar 22, 2019
TSIG MAC representation changed to Base64 (align with BIND).
Update Parameters.pm to resync with IANA registry.
Refactor resolver test scripts.
Revise documentation examples to use AAAA instead of A records.
Fix rt.cpan.org #128081
Recurse.pm fails to resolve domain "kickboxingireland.ie"
Fix rt.cpan.org #127307
Provide a more informative exception report if application code
has no "use Net::DNS::SEC" declaration but nevertheless attempts
to invoke the DNSSEC sign or verify features.
**** 1.19 Nov 14, 2018
Show structure of EDNS options using Perl-like syntax.
Fix rt.cpan.org #127557
Net::DNS::Resolver::Base should use 3 args open
Fix rt.cpan.org #127182
Incorrect logic can cause DNS search to emit fruitless queries.
**** 1.18 Sep 21, 2018
Documentation revised to remove ambigous use of "answer" which
has been used to refer to both the answer section of a packet
and the entire reply packet received from a nameserver.
Fix rt.cpan.org #127018
Net::DNS::ZoneFile->parse() fails if include directory specified.
Fix rt.cpan.org #127012
DNS resolution broken when options ndots used in /etc/resolv.conf
**** 1.17 Jul 25, 2018
Fix rt.cpan.org #125890
AXFR: 1 record per packet responses.
Fix rt.cpan.org #125889
New NSEC3 for empty non-terminal leaves type bitmap undefined.
Fix rt.cpan.org #125882
RDATA name compression pointer calculated incorrectly.
**** 1.16 Jul 15, 2018
Feature
New NSEC3 encloser(), nextcloser() and wildcard() instance
methods return closest encloser, "next closer" and putative
wildcard names respectively.
Feature
Add new NSEC covers() instance method.
Feature
New NSEC typemap() instance method interrogates type list.
IO::Socket::INET6 removed from recommended module metadata.
IPv6 requires IO::Socket::IP which is now a core package.
No requirement to escape @ in unquoted contiguous string.
**** 1.15 Feb 9, 2018
GOST R 34.11-94 hash algorithm: end of life 1st Jan 2018
per sunset clause in successor standard GOST R 34.11-2012.
Digest::GOST removed from the recommended module metadata,
but will still be used if available.
**** 1.14 Dec 15, 2017
Fix rt.cpan.org #123702
'use base' should not be used in packages with several
subpackages defined
Fix rt.cpan.org #123676
Net::DNS::Nameserver malformed message on big axfr
**** 1.13 Oct 18, 2017
Feature IDN query support
Queries for domain names containing non-ASCII characters are
now possible on Unicode platforms using CPAN Net::LibIDN2
**** 1.12 Aug 18, 2017
Fix rt.cpan.org #122586
Persistent UDP reports false timeouts
Fix rt.cpan.org #122352
bgsend(): TCP retry can stall for IO::Socket::IP before 0.38
Feature
CDS / CDNSKEY: Implement RFC8078 erratum 5049.
**** 1.11 Jun 26, 2017
Fix rt.cpan.org #122138
Send a UDP query with udppacketsize=512
Feature
Extract default resolver configuration from OS/390 MVS datasets.
Thanks to Sandra Carroll and Yaroslav Kuzmin for their assistance.
**** 1.10 May 5, 2017
Fix rt.cpan.org #120748
Net::DNS::Resolver::MSWin32 critical issue
Thanks to Dmytro Zagashev for his valuable assistance during
the investigation which exposed five distinct issues.
Feature rt.cpan.org #18819
Perl 5.22.0 puts EBCDIC character encoding back on the agenda.
Thanks to Yaroslav Kuzmin for successful test build on os390.
**** 1.09 March 24, 2017
Fix rt.cpan.org #120542
Fails tests when no "." in @INC
Fix rt.cpan.org #120470
Fragmented TCP length not correctly reassembled
Feature rt.cpan.org #75357
Add mechanism to encode/decode EDNS option octet strings
**** 1.08 February 20, 2017
Discontinue support for pre-5.6 perl
Remove pre-5.6 workarounds and outdated language features
Fix rt.cpan.org #120208
Unable to install 1.07 in local::lib environment
Feature rt.cpan.org #119679
Net::DNS::Nameserver: UpdateHandler for responding to UPDATE packets
Feature rt.cpan.org #75357
Net::DNS::Nameserver: optionmask (similar to headermask) added
to allow user to set EDNS options in reply packet
**** 1.07 December 29, 2016
Fix rt.cpan.org #118598/#108908
Serious Makefile.PL issues
"make install" now suppressed if pre-1.01 version detected
Fix rt.cpan.org #115558
Net::DNS::Nameserver does not allow EDNS replies
Fix rt.cpan.org #114917
Net::DNS::ZoneFile fails to parse mixed case mnemonics
Fix rt.cpan.org #114876
Use of uninitialized value in lc at MSWin32.pm line 77
Fix rt.cpan.org #114819
Net::DNS fails to compile with taint checks enabled
Feature
Add support for dynamic RR subtype package creation
per draft-levine-dnsextlang
**** 1.06 May 27, 2016
Fix rt.cpan.org #114918
Net::DNS::ZoneFile fails when unnamed RR follows $ORIGIN
Fix rt.cpan.org #114351
Case sensitive compression breaks resolver->nameservers()
Fix rt.cpan.org #113579
Net::DNS::Resolver dies on scoped IPv6 nameserver address
Fix rt.cpan.org #113020
Resolve::Recurse Hangs
Fix rt.cpan.org #112860
improperly terminated AXFR at t/08-IPv4.t line 446.
**** 1.05 March 7, 2016
Fix rt.cpan.org #111559
1.04: TSIG not working anymore (TSIG.pm)
Fix rt.cpan.org #108908
Installing recent version gets shadowed by old version.
Warnings added to Makefile.PL and t/00-version.t.
Fix rt.cpan.org #66900
Net::DNS::Async unable to retry truncated UDP using TCP because
of limitations in Net::DNS.
**** 1.04 December 8, 2015
Fix rt.cpan.org #109183
Semantics of "retry" and "retrans" options has changed with 1.03
Fix rt.cpan.org #109152
Deprecated method make_query_packet breaks calling code
Fix rt.cpan.org #109135
Resolver behaves differently with long and short IPv6 address format
Fix rt.cpan.org #108745
Net::DNS::Resolver bgsend
**** 1.03 November 6, 2015
Fix rt.cpan.org #107897
t/10-recurse.t freezes, never completes
Fix rt.cpan.org #101978
Update Net::DNS to use IO::Socket::IP
Fix rt.cpan.org #84375
Timeout doesn't work with bgsend/bgread
Fix rt.cpan.org #47050
persistent sockets for Resolver::bg(send|read|isready)
Fix rt.cpan.org #15515
bgsend on TCP
**** 1.02 September 16, 2015
Fix rt.cpan.org #107052
suppress messages: Can't locate Net/DNS/Resolver/linux.pm
Fix rt.cpan.org #106916
Dependency on MIME::Base32 makes Net::DNS not installable on MSWin32
Fix rt.cpan.org #106565
Net::DNS::Resolver::Recurse and IPv6 Reverse DNS
Fix rt.cpan.org #105808
Version test for Pod::Test is broken
**** 1.01 Jul 6, 2015
Feature
The RRs previously only available with Net::DNS::SEC are now
integrated with Net::DNS. Net::DNS::SEC needs to be installed
to enable the signature generation and verification functions.
Fix rt.cpan.org #105491
Can't call method "zclass" on an undefined value at ... Net/DNS/Packet.pm line 474
Fix rt.cpan.org #105421
Dead link in Net::DNS::FAQ
Fix rt.cpan.org #104657
Wrong split on Cygwin
Fix rt.cpan.org #102810
Dynamic update: rr_add overrides ttl of zero
Fix rt.cpan.org #102809
CAA broken
**** 0.83 Feb 26, 2015
Fix rt.cpan.org #101798
AUTOLOAD error confusing w/o reference to object class
Fix rt.cpan.org #101709
Provide separate control of IPv6 tests
Fix rt.cpan.org #101675
MX record with 0 preference fails to parse
Fix rt.cpan.org #101405
Install tests fail for v0.81 on Perl 5.21.7
**** 0.82 Jan 20, 2015
Fix rt.cpan.org #100385
Support for IPv6 link-local addresses with scope_id
**** 0.81 Oct 29, 2014
Fix rt.cpan.org #99571
AXFR BADSIG failures
Fix rt.cpan.org #99531
Resolver doc error - when is a 'bug' a 'bug'? [TSIG verification]
Fix rt.cpan.org #99528
TSIG::create fails with some filenames
Fix rt.cpan.org #99527
Random errors... [declaration with statement modifier]
Fix rt.cpan.org #99429
Infinite recursion in Net::DNS::Resolver::Recurse::send when
following certain delegations with empty non-terminals.
Fix rt.cpan.org #99320
Net::DNS::ZoneFile bug in "$ORIGIN ."
**** 0.80 Sep 22, 2014
Removal of Win32::IPHelper support with cygwin
Resolvers on Cygwin can get their DNS configuration from the
registry directly via the /proc filesystem. Getting rid of
the other method reduces dependencies and makes installations
less error prone.
Rework rt.cpan.org #96119
"Too late to run INIT block" warning for require Net::DNS
**** 0.79 Aug 22, 2014
Feature rt.cpan.org #98149
Add support for Android platform.
Fix rt.cpan.org #97736
Net::DNS::Resolver->new mistakenly copies supplied arguments
into default configuration on first instantiation.
Fix rt.cpan.org #97502
Net::DNS::Resolver->retrans does not accept a value of 1 (uses 2 instead)
Fix rt.cpan.org #83642
Configure CD flag in Net::DNS::Resolver->new
Fix rt.cpan.org #81760
Reverted workaround for TXT issue preventing propagation of
rule updates for SpamAssassin versions earlier than 3.4.0
Fix rt.cpan.org #16630
Net::DNS::Resolver::Recurse issues lots of IMHO unnecessary DNS requests.
**** 0.78 Jul 10, 2014
Fix rt.cpan.org #97036
Nameserver identification on Cygwin
Fix rt.cpan.org #96814
Trailing comments not stripped in /etc/resolv.conf
Fix rt.cpan.org #96812
Net::DNS::Resolver->new() hangs if nameserver :: exists
Fix rt.cpan.org #96755
RFC 3597 (hex) parsing mistake
Fix rt.cpan.org #96708
String treated as boolean in TXT
Fix rt.cpan.org #96608
"Insecure dependency in connect" with Net::DNS::Resolver over TCP
Fix rt.cpan.org #96535
Net::DNS::Resolver warns "Use of uninitialized value in length"
Fix rt.cpan.org #96531
Calling $resolver->nameservers multiple times returns an
increasingly-long list (on some perl installations)
Fix rt.cpan.org #96439
Uninitialised decoding object when printing packet
**** 0.77 Jun 13, 2014
Fix rt.cpan.org #96151
Unlocalised $_ modified when reading config file
Fix rt.cpan.org #96135
Deep recursion problem on Cygwin
Fix rt.cpan.org #96119
"Too late to run INIT block" warning for require Net::DNS
Fix rt.cpan.org #96035
Insert missing plan 'no-plan' in 10-recurse.t
Fix inefficient Net::DNS::SEC compatibility code
**** 0.76 May 23, 2014
Fix rt.cpan.org #95738
Test failure with IPv6 address in resolver.conf but without
prerequisite IO::Socket::INET6 package installed.
Fix rt.cpan.org #95596
Incorrect parsing of nameserver lines in resolv.conf
Feature rt.cpan.org #79568
Implement prefer_v6 resolver configuration attribute.
Fix rt.cpan.org #67602
Set resolver configuration defaults at first instantiation
instead of module load time.
**** 0.75 May 8, 2014
Fix rt.cpan.org #94069
Compile-time constant in Domain.pm/Text.pm cannot be used to
store pointer to encoding object when using perlcc compiler.
Thanks are due to Reini Urban for testing the revised code.
Fix rt.cpan.org #93764
Resolver gives unhelpful errorstring when attempting to use
IPv6-only nameserver without INET6 and Socket6 installed.
Fix rt.cpan.org #92626
Clarify documentation surrounding SRV RR sorting
Feature
Implement TSIG verified zone transfer.
Fix rt.cpan.org #92433 & #91241
TSIG: implement sign/verify for multi-packet message.
Fix rt.cpan.org #79569
Iterate nameservers in AXFR
**** 0.74 Jan 16, 2014
Fix rt.cpan.org #91306
Nameserver crashes on malformed UDP query.
Fix rt.cpan.org #91241
TSIG: Fix incorrectly generated %algbyval table.
Feature
Add CAA, EUI48 and EUI64 RR implementation.
**** 0.73 Nov 29, 2013
Fix rt.cpan.org #88778
$update->unique_push() does not work as advertised.
Fix rt.cpan.org #88744
Nameserver crashes on malformed TCP query.
Fix rt.cpan.org #84601/#81942
Fix memory leak on packet cleanup. Indirect self-reference via
header prevented garbage collector from deallocating packet.
Feature rt.cpan.org #84468
TSIG: add support for HMAC-SHA1 .. HMAC-SHA512
Fix rt.cpan.org #84110
Incorrect parsing of PTR records in zonefile.
Fix rt.cpan.org #83755
Erroneous attempt to invoke Net::LibIDN package in Domain.pm.
Fix rt.cpan.org #83078
Can't locate Net/DNS/Resolver/linux.pm in @INC
Conjecture: eval{ ... }; if ($@) { ... }; broken by threads.
Fix rt.cpan.org #83075
ZoneFile.pm wrongly rejects $TTL 0 directive.
Fix rt.cpan.org #82621
Error string empty after failed TCP query.
Fix rt.cpan.org #82296
IPv6 with embedded IPv4 address not mapped to ip6.arpa.
Fix rt.cpan.org #82294
Perl taint inadvertently removed in Domain and Text objects.
Feature rt.cpan.org #53610
add TSIG validation support
**** 0.72 Dec 28, 2012
Fix rt.cpan.org #82148
nxrrset fails to ignore RDATA.
Fix rt.cpan.org #82134
TSIG key and algorithm names not downcased in digest.
Class not forced to ANY.
Fix rt.cpan.org #82063
yxrrset, nxrrset and rr_del functions should force zero TTL.
Fix rt.cpan.org #82047
Clarify documentation to indicate that header counts may
differ from the number of RRs present if a packet is corrupt.
Fix rt.cpan.org #81941
Clarify documentation to make users aware that bgread will not
switch to TCP when a truncated packet is received.
**** 0.71 Dec 15, 2012
Temporary workaround rt.cpan.org #81760
The rdatastr method for TXT RRs will return unconditionally
quoted rdata fields to work around an issue with updating
SpamAssassin rules. This workaround will be reverted after
release of a version of SpamAssassin which resolves the issue.
Fix TSIG initialization
Uninitialised algorithm attribute caused signature generation
to fail silently when creating a TSIG signed packet.
Fix rt.cpan.org #81869
The rr_del auxiliary function broken by a conflicting change
in the RR.pm string parser. Note the ambiguous use of ANY,
which may stand for CLASS255 or TYPE255 depending upon the
argument string presented.
Fix rt.cpan.org #81756
Test failures on Perl 5.8.5 .. 5.8.8.
lc(), uc() and case insensitive regex matching broken for UTF8.
Thanks are due to Paul Howarth for patient work with perl -d.
Fix rt.cpan.org #81787
NXDOMAIN no longer reported by $resolver->errorstring.
Fix rt.cpan.org #81814
Allow zero in format, tag and algorithm fields of CERT RR.
Fix rt.cpan.org #81786
Substitute last owner for leading spaces in multiline zonefile RR.
Fix rt.cpan.org #77444
Make use of new extended header modus operandi for OPT records
also in the resolver. Preventing a warning.
**** 0.70 Dec 6, 2012
Feature
Add support for NID L32 L64 LP, RFC6742.
**** 0.69 Dec 5, 2012
Feature rt.cpan.org #62030
Parsing of BIND zone files implemented in Net::DNS::ZoneFile.
This replaces and is backward compatible with the CPAN module
of the same name.
Enhancement to simplify RR subtype template and recode packages.
Enhancement rt.cpan.org #75185
Packet decoder returns index to end of decoded data.
Added packet->reply() method.
Fix rt.cpan.org #79569
AXFR not setting packet->answer_from.
Enhancement rt.cpan.org #18819
Added support for Unicode and non-ASCII character encoding.
Feature integrate OPT as a header extension
Treat extended rcodes and the DO flag like they are part of
the packet header.
Fix rt.cpan.org #77444
Support escaped characters according to RFC1035 in TXT rdata.
Fix rt.cpan.org #77304
Fix resolver searchlist from registry setup on Win32.
Enhancement rt.cpan.org #67570
Make wire2presentation two till eighteen times faster.
A contribution from Matthew Horsfall
Fix rt.cpan.org #73366
Remove existing TSIG when resigning with a new TSIG and give warning.
Fix rt.cpan.org #75330
Also try nameserver without glue (as a last resort) when recursing.
Fix rt.cpan.org #74493
Read correct resolver configuration in OS/2.
**** 0.68 Jan 30, 2012
Fix rt.cpan.org #72314
Let a Net::DNS::Nameserver bind on Net::DNS::Nameserver::DEFAULT_ADDR
as a last resort.
Fix to suppress false warnings about subroutine profiles on ancient
versions of perl.
Fix to avoid constants with value undef which prevents unwanted code from being
optimized away on ancient versions of perl.
Fix code error in PTR.pm, canonical RDATA not downcased.
Enhancement to clarify the function of parse and data methods, by renaming them
to decode and encode respectively.
Feature IDN query support.
Question.pm modified to use the recently introduced DomainName.pm
module to represent DNS names. Queries for domain names containing
non-ASCII characters are now possible on Unicode platforms with CPAN
Net::LibIDN installed.
Introduction of Mailbox.pm module that will be used in the future to represent
RDATA components containing DNS coded RFC822 mailbox addresses.
Introduction of Text.pm module that will be used in the future to represent
RDATA components containing text.
**** 0.67 Nov 4, 2011
Enhancement rt.cpan.org #60726
On Cygwin Net::DNS now builds without Win32::IPHelper, unless a
previous version is updated that did use it.
The choice may also be set by the --iphelper or --noiphelper option
to Makefile.PL.
Fix to suppress IO::Socket::INET(6)::peerhost usage with TCP. On some systems
it doesn't work after receiving data.
Enhancement rt.cpan.org #43142
Allow ReplyHandlers to indicate that no answer should be returned
by the Net::DNS::Nameserver.
Fix rt.cpan.org #71796
Prevent TCP accepts from blocking on unfinished 3-way handshakes.
Fix rt.cpan.org #65607
Make 64bits windows work by depending on Win32::IPHelper version 0.07
Thanks to Lian Wan Situ.
Fix rt.cpan.org #66470
Named nameserver should be reachable by IPv6 too.
Fix to make tests work in jailed environments where a reply might come
from a different address than that of the loopback interface.
Feature to use a class method ReplyHandler for classes inheriting from
Net::DNS::Nameserver.
A contribution from Rob Brown.
Fix rt.cpan.org #71062
Replace the usage of the obsolete Win32::Registry module by
Win32::TieRegistry module.
Fix rt.cpan.org #68731
Fix linking of the C compiled parts of the library on Mac OS X
New improved version of the check_soa script in the contrib section.
A contribution from Dick Franks.
Fix rt.cpan.org #70830
Make t/08-online.t handle NXDOMAIN hijacking that return more than one
answer.
Fix rt.cpan.org #24525
Removed dependency on Net::IP
Fix online tests to use the library as documented and not use knowledge of the
internal workings of the classes that should be hidden.
A contribution from Dick Franks
Fix rt.cpan.org #55682
Make online tests non-fatal by default.
All interactive prompts are removed from Makefile.PL.
Online tests may still be made a requisite by using the --online-tests
option.
Major rework of Net::DNS::Domain.pm and the addition of Net::DNS::DomainName.pm
Which paves the way towards handling of character encodings and IDN.
A contribution from Dick Franks.
Fix rt.cpan.org #69174
Typo that prevented TCP traffic from being replied from the same
socket as it was received on.
Fix rt.cpan.org #68338
Suppress warnings of the deprecated use of qw as parentheses in
perl 5.14.
Enhancement rt.cpan.org #67418
A contribution from Wolfsage to perform presentation to wire format
conversion more efficiently.
Fix rt.cpan.org #67133
Gracefully handle corrupted incoming packets in Net::DNS::Nameserver.
Feature to manage serial numbers in SOA records in a modular and extensible way.
Three modules are provided. Strictly sequential, Date Encoded and
Time Encoded. A contribution from Dick Franks.
Fix rt.cpan.org #53325
Make Net::DNS::Resolver load even if /etc/resolv.conf is unreadable.
Fix rt.cpan.org #63486
Make t/08-online.t fail gracefully in stead of crash on failures.
Fix rt.cpan.org #55586
Various typo fixes.
Fix rt.cpan.org #55682
Really do not use networking functions when online tests are disabled.
Fix rt.cpan.org #64562
Replace TSIG key with the signature of the whole packet when signing
a packet, even when the TSIG key is not the first in the additional
section.
Fix rt.cpan.org #56181 and #47265
Assembly of segmented TCP traffic.
Feature rt.cpan.org #57289
Provide a configurable IdleTimeout for Net::DNS::Namserver.
Fix rt.cpan.org #53595
Fix documentation to reflect code behaviour where on successful packet
creation, the error should be ignored.
Fix rt.cpan.org #58914
Fix spelling of "algorithm"
Fix rt.cpan.org #61725
Include default domain in the search list on Win32.
Thanks Mark Rallen.
Fix rt.cpan.org #63321
A Net::DNS::Nameserver without a NotifyHandler now responds NOTIMP
to NOTIFY requests.
Fix rt.cpan.org #53595
Documentation now reflects Net::DNS::Packet construction behaviour.
**** 0.66 Dec 30, 2009
Feature Truncation for Nameserver
fixes rt.cpan.org #33547 and #42744
TAKE CARE:
this feature may cause unexpected behavior for your nameservers
and can be turned off by setting Truncate to 0 during the creation
of the nameserver.
my $ns = Net::DNS::Nameserver->new(
Truncate => 0,
);
Net::DNS::Packet::truncate is a new method that is called from
within Net::DNS::Nameserver that truncates a packet according to
the rules of RFC2181 section 9.
Acknowledgement Aaron Crane for an elegant test and for
inspiration for a direction.
Feature: Added Net::DNS::Domain
Net::DNS::Domain is an attempt to introduce a consistent model
for representation of RFC 1035 <domain-name>s.
The class and its test script t/02-domain.t are included to be
exposed to various architectures.
The class and its methods may be subject to change, both in terms of
naming and functionality.
A contribution by Dick Franks
Fix improved fuzzy matching of CLASS and TYPE in the Question
constructor method.
A contribution by Dick Franks.
Fix rt.cpan.org #43770
Update->rr_del() was reported broken for AAAA after 0.65.
The same bug also occurred in HINFO RR.
Fix rt.cpan.org #43765
Code inconsistent with documentation for loop_once.
Note: Keeping timeout undefined in loop_once will now block until
something arrived on the socket.
Fix rt.cpan.org #47050
Fixed logic error in bgsend socket acquisition code.
Fix rt.cpan.org #47265 (partial)
Frequently Net:DNS under Windows XP has a UDP problem which is
caused by a buggy implementation of SOCKS under Windows.
One liner added to not continue UDP processing when that happens.
Feature KX RR
Added support for the KX RR, RFC2230
The implementation is trivial since the KX inherits almost all of
its functionality by inheritance from the MX RR.
Fix NSAP RR string representation
RFC1706 specifies the masterfile format to have a leading "0x" and
optional dot. This was not how the RR was represented with the
rdatastr method (and hence string and print).
Fix rt.cpan.org #52307 AAAA v4compat parsing bug
Acknowledgement: BLBLACK
Fix AAAA dynamic update
Dynamic update of AAAA caused FORMERR on the prerequisite caused
by AAAA creating rdata even when an address was never specified.
This fix may cause difference in behavior for people who expect
a NULL address ("::") when creating a AAAA without an address
specified.
Feature HIP RR
Added support for the HIP RR, RFC5205
perldoc Net::DNS::RR::HIP for more information.
Feature DHCID RR
Added rudimentary support for the DHCID RR.
Fix rt.cpan.org #50883
This is basically #11931 but for cygwin.
Codepath in Cygwin and Win32 are now the same. This adds a
dependency in cygwin.
Acknowledgements "mikaraento"
Fix rt.cpan.org #45407 and #43190
Fixed escaping of semicolon.
Note a change in behavior:
For TXT and SPF the rdatastr method (and therefore the
print, and string method) returns the escaped format while the
chr_str_list method will return unescaped format.
Fix rt.cpan.org #43393
Typo in 01-resolver.t
Fix rt.cpan.org #43273
Added check for uninitialized opcode in headermask in
Nameserver.pm
Fix rt.cpan.org #46635
Minor documentation error in OPT.pm
Fix rt.cpan.org #51009
Fixed handling of empty string in Net::DNS::stripdot.
Elegant one-liner supplied by JMEHNLE.
Fix rt.cpan.org #49035
Comment parsing fixed: Semicolon in character string blocks (such
as in TXT and NAPTR) were only recognized when escaped.
Also fixed the NAPTR regular expression to not interpret
"bla' 'foo" as two strings bla and foo, but as one: bla' 'foo
Fix cd flag settings
Resolver bug and fix reported by Jon Haidu.
**** 0.65 January 26, 2009
Fix rt.cpan.org #41076
When the AAAA object was constructed with new_from_hash with an
address containing the "::" shorthand notation normalization was
not done properly.
Fix rt.cpan.org #42375
Typo in Win32.pm Registry root.
**** 0.64 December 30, 2008
Feature rt.cpan.org #36656
Added support for the APL record (RFC 3123)
The module consists of a list of Address Prefix Item objects
as defined in the Net::DNS::RR::APL::ApItem class.
NOTE: Class and its interface may be subject to change.
Fix rt.cpan.org #11931 Wrong nameserver list handling in
Net::DNS::Resolver::Win32
The init method has been rewritten to be based on WIN32::IPhelper for
the selection of the domain and the IP addresses. This is believed to
be more portable than trying to fetch the data from the registry.
We still trying to get the searchlist from the registry.
WARNING: If you use Perl under WIN32 (eg ActivePerl or Strawberry Perl)
then your module dependency graph has changed drastically
Fix IPv6 modules
When IO::Socket::INET6 was available but Socket6 was not the code would
recurse to infinity.
Fix rt.cpan.org #21757 and Feature: Connectivity during test
Addition of --no-IPv6-tests and --IPv6-tests option in Makefile.PL.
Note: This causes two questions to be asked when building the
Makefile instead of one.
Besides the test suites are constructed so that all the connectivity testing
happen in 001-connectivity.t and nonavailability of connectivity over a certain
transport is signaled over files t/online.disabled and t/IPv6.disabled respectively.
Both files are removed by t/99-cleanup
Fix rt.cpan.org #34511
Priming query logic contained unneeded recursion.
Now also falls back to hardcoded hints if there are no nameservers whatsoever.
Fix rt.cpan.org #38390 and 37089
Added CD and AD bit control to the resolver.
The CD flag defaults to being unset and the AD flags is set by default
whenever DNSSEC is available.
Both flags default to unset in absence of DNSSEC.
Fix rt.cpan.org #37282
Improved error reporting during client disconnect from the nameserver
NOTE rt.cpan.org # 40249
Release 0.62 introduced a feature to parse data inside a packet only
when needed. This can cause the following to happen:
Exception: corrupt or incomplete data at
/usr/lib/perl5/Net/DNS/RR.pm line 510.
caught at -e line 1
This may happen when you have undefined your packet data before all the
sections have been fully parsed. Such as in:
$packet = Net::DNS::Packet->new(\$data);
undef($data);
The workaround is to force parsing by calling the methods that
parse the data. e.g.
$packet = Net::DNS::Packet->new(\$data);
$packet->answer; $packet->additional; $packet->authority;
undef ($data)
Fix rt.cpan.org # 41076 and # 41071
Net::DNS::RR->new_from_hash function would not normalize the content
of the data so that a method getting a string representation would
get inconsistent results depending on whether a RR was created from
a string of from a hash.
Fix rt.cpan.org # 41296
Compression buggy for large packets. Fix by Kim Minh.
Fix rt.cpan.org # 35752
Perl 5.10.0 gave a number of issues on several platforms, preferring
XSLoader over Dynaloader seemed to fix those.
Bug rt.cpan.org #34510
Buggy setting of "Recursion too deep, aborted" corrected.
Feature (rt.cpan.org #39284)
The ReplyHandler now also receives a variable with an anonymous hash with the connection details. Variables
supplied to the Reply handler are: $qname, $qclass, $qtype, $peerhost, $query, $conn
The hash referenced by $conn contains the following buckets: sockhost, sockport, peerhost, and peerport.
Feature t/08-online.t and t/10-recurse.t
In particular environments a query for a.t. will resolve and or
middleboxes will replace DNS packet content for queries to the root.
A bunch of test is skipped when this (broken) environment is
detected.
Feature/Bug rt.cpan.org #22019
The initial fix for rt 22019 was to strip a trailing dot from all
attributes that were provided as argument for the
Net::DNS::RR::new_from_hash function. We have introduced
Net::DNS::stripdot, a function that will strip the dots of domain
names, taking into account possible escapes (e.g. labels like
foo\\\..). As a side effect the new_from_string method will now
convert possible spaces that are not trapped by some of the
new_from_string functions and convert them to \032 escapes.
For information: The internal storage of domain names is using
presentation format without trailing dots.
Bug
@EXPORT and @EXPORT_OK moved to a BEGIN block so that Net::DNS::SEC
can make use of exported functions
Feature/Bug
The Notify handler introduced in 0.63 did not set the OPCODE on the
reply appropriately. This has been solved generically by allowing the
"Headermask" that is returned as 4th element by the reply or notify
handler in the nameserver also allows for the opcode to be set.
e.g. as in return ("NXDOMAIN",[],[],[],{ opcode => "NS_NOTIFY_OP" }
);
*** 0.63, 8 Feb 2008
This version contains a Security Fix.
Feature NotifyHandler in Nameserver
The NotifyHandler is a new attribute to the nameserver used in the
same way as the ReplyHandler except that it is executed when the
opcode is NS_NOTIFY (RFC1996). It takes the same arguments as the
reply handler (i.e. $qname, $qclass, $qtype, $peerhost, and $query).
Corrections made in the documentation.
Fix rt.cpan.org #32937: 5.11 introduces new warning on uc(undef)
The patch supplied fixes for methods where undefined arguments were
likely. For methods where undefined arguments don't make the warning
will be printed.
Fix rt.cpan.org #32147: Default LocalAddr broken in Net::DNS::Nameserver 0.62
Listen on the default address if LocalAddr not defined.
Fix rt.cpan.org #30316 Security issue with Net::DNS Resolver.
Net/DNS/RR/A.pm in Net::DNS 0.60 build 654 allows remote attackers
to cause a denial of service (program "croak") via a crafted DNS
response (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-6341). Packet
parsing routines are now enclosed in eval blocks to trap exception
and avoid premature termination of user program.
Bug: mbox-dname and txt-dname were not allowed to be empty in the RP RR.
Fix by Peter Koch
*** 0.62, 28 December 2007
Features: Move of some functionality out of the Packet to the Question
and RR classes; parsing of elements in the packet is now performed
by calling the appropriate subclasses.
New methods were introduced:
* Net::DNS::Packet->parse()
* Net::DNS::RR->parse()
* Net::DNS::Question->parse()
The Packet class now defers parsing of authority/additional until
their content is really needed. This should cause a bit of
performance improvement.
Dick Franks is acknowledged for this Good Work (TM).
Added 20081216 see NOTE above under rt.cpan.org # 40249
Feature: the Net::DNS::Packet's answersize() method will from now on
ignore its arguments and just return the size of the packet.
Feature: The Net::DNS::RR->new() method used to call
Net::DNS::RR->new_from_data() whenever called with the appropriate
combination of arguments. That (undocumented) behavior has been deprecated.
Use Net::DNS::RR->new_from_data() directly if you depended on that.
Feature: Net::DNS::Packets unique_push now ignores the TTL in
comparison of uniqueness, this is closer to the intent of
RFC2181, but not yet fully compliant.
Fix rt.cpan.org #29816
Acquiring the IP address for the Resolver under Cygwin is made
more resilient.
Fix rt.cpan.org #31425
Empty question section in Base.pm search method detected
Fix rt.cpan.org #31042
Makefile corrected to add a library target.
Fix rt.cpan.org #29818
10-recurse.t used to fail in very specific environment (where a query for
qname="." and qtype="NS" would return with an empty additional section).
Fixed by adding the hints explicitly; this also forces the tests to take
place under the root served by a-m.root-servers.net
Fix rt.cpan.org #29877
Made 00-version.t recognize a "GIT" environment.
Fix rt.cpan.org #29878
SPF.pm did not evaluate as true. Thanks Bjorn Hansen.
Fix rt.cpan.org #21398
answersize() and answerfrom() set for persistent sockets
Fix rt.cpan.org #29883
Fix various tests only available through SVN, so they are
more robust (Acknowledgements Bjoern Hansen)
Fix rt.cpan.org #24343
Resolver's nameserver() method would do silly things with undefined
arguments.
Fix rt.cpan.org #29531
Nameserver.pm, Packet.pm and Question.pm modified to avoid erroneous PTR
lookup in response to mischievous query packet containing an IP address.
Fix rt.cpan.org #27970 better netdns.o
Marek Rouchal provided two minor improvements for linking the C
code snippets
Fix rt.cpan 28345
A fix in Test::Simple revealed an off by 1 error in the testplan
for 05-rr-rrsort.t. The fix is to remove a test, creating a dependency
on Test::Simple 0.71 seemed overkill.
*** 0.61, 1 August 2007
Fix rt.cpan.org #28106, 28198, and 28590
Modification of $_ in various places.
Fix
t/11-inet6 assumed lowercase domain names.
*** 0.60 20 June 2007
Fix spelling mistakes in change log using interactive spell checker (aspell).
Fix
Two redundant calls of $self->rdatastr() in Net::DNS::RR::string().
Fix rt.cpan.org #27285 bis
Unreleased 0.59_1 dn_expand_PP() has security flaw allowing access to
arbitrary data using crafted packet with out of range compression pointer.
Patch by Dick Franks based on 0.59 code.
Fix rt.cpan.org #27391
dn_compress() produces corrupt packet for name containing empty label.
Fix rt.cpan.org #26957
dn_compress() croaks for name having label which exceeds 63 characters.
Patch by Dick Franks truncates offending label.
Feature check_soa test of NCACHE TTL
Dick Franks supplied an improved version of check_soa script which
performs a direct test of NCACHE TTL by looking up non-existent name and
reporting value if it exceeds 86400. Test is skipped unless minimumTTL is
above same threshold. Recent BIND implementations impose a ceiling on
NCACHE TTLs internally, so a large minimumTTL value is unlikely to have
damaging consequences at many sites.
Fix rt.cpan.org #27285
Break out of malformed packets with compression loops.
Steffen Ullrich is acknowledged for patch and test code.
Feature check_zone "alternate domain" and "exception file" flags
Paul Archer supplied a patch for check_zone adding two new features.
Feature Support for IPSECKEY RR
Rudimentary IPSECKEY RR support added.
Fix rt.cpan.org #25342
HINFO would only accept its data fields within quotes. That has now
been fixed to adhere to <character-string> by inheriting parsing functions
from TXT.
Fix rt.cpan.org #24631 / Feature IP address prefix notation
Dick Franks supplied a cleaned up version of Question.pm.
Revised code deals with incomplete IPv6 address bug and accepts RFC4291
address prefix notation. IPv4/prefix also supported for completeness.
This involved a minor change to the API for reverse IP lookup. Changing
qtype to PTR is now performed for A and AAAA only. This allows queries
for NS and SOA records at interior nodes to be specified using the address
prefix. Type ANY queries now also produce the expected result.
Cleaned up TYPE/CLASS reversal code, exploiting fact that the intersection
of the sets of class and type names contains only one member (ANY).
Minor cleanup of remaining code.
Fix rt.cpan.org #22019
Expunge trailing dots from RR->new_from_hash() FQDN arguments.
Patch by Dick Franks.
Fix Recursion and EDNS OPT record
The Recursive resolver process would add an OPT-RR with each recursion
which causes FORMERRs with a number of authoritative servers.
Feature SSHFP warn instead of die
We do not die if a not implemented fingerprint type value is read
from the wire, instead we 'warn' and return undef.
Feature NSEC3PARAM hook
A hook to load NSEC3PARAM when available has been added.
WARNING: Both NSEC3 and NSEC3PARAM are configured with their
experimental type codes.
Feature rt r24525
Net::DNS::Resolver depended on Net::IP (2268 Kb) which depends on
heavy module Math::BigInt (1780 Kb). Valery Studennikov suggested to
ship Net::DNS::Resolver::Base with its own copies of ip_is_ipv[4|6] and
supplied a patch with those functions stripped from Net::IP.
Note that the package still depends on Net::IP because
Net::DNS::Nameserver and a few tests depend on it.
Fix rt 22334
Fixed "perl Makefile.PL --xs" behavior, patch by Tamas Palfalvi
Fix rt 21752 and 24042
Applied the patch supplied by Alexandr Ciornii to be able
to compile on ActiveState perl .
Slight modifications based on comments by nimnul
Fix rt 23961
Randomized the ID on the queries. Thanks to "hjp" for reporting and
suggesting a fix.
The randomization of the src port is supposed to be handled by the
setting the source port to "0" (default). Overriding the default
or using persistent sockets may be problematic.
Also see:
http://www.potaroo.net/ietf/idref/draft-hubert-dns-anti-spoofing/
Fix
Minor compile time warnings for netdns.c on Fedora Core.
*** 0.59 September 18, 2006
Fix rt.cpan.org 20836, 20857, 20994, and 21402
These tickets all revolved around proper reverse mapping of IPv6
addresses.
Acknowledgments to Dick Franks who has provided elegant solutions and
cleaned a bit of code.
Note that directly calling Question->new() without arguments will
cause the qclass,qtype to be IN, A instead of ANY, ANY.
Net::DNS::Resolver's search() method would always gracefully
interpret a qname in the form of an IPv4 address. It would go out
and do a PTR query in the reverse address tree. This behavior has
also been applied to IPv6 addresses in their many shapes and
forms.
This change did two things, 1) root zone not implicitly added to
search list when looking up short name, 2) default domain appended
to short name if DEFNAMES and not DNSRCH.
Fix rt.cpan.org 18113
Minor error due to unapplied part of patch fixed.
Feature: Experimental NSEC3 hooks.
Added hook for future support of (experimental) NSEC3 support
(NSEC3 having an experimental type code).
*** 0.58 July 4, 2006
Feature: hooks for DLV support in Net::DNS::SEC
added hooks for DLV support which is/will be available in
Net::DNS::SEC as of subversion version 592 (Tests are done against
the subversion number, not against the perl release version)
Net::DNS::SEC version 0.15 will have DLV support.
Partly Fixed rt.cpan.org 18940
djhale noticed a number of error conditions under which the
udp_connection in Nameserver dies. We now print a warning instead
of dying.
Fix rt.cpan.org 18958
Fixed typebyname croak for SIGZERO. Acknowledgments to djhale.
Optimize rt.cpan.org 11931
Hanno Stock optimized the method to get the list of available
interfaces in Win32. I have only done very rudimentary tests on
my Windows XP system.
Fix dependency on "CC" rt.cpan.org 19352
The Makefile.PL depended on availability of "cc" and would bail
out on systems where gcc is exclusively available. Thanks to Rob
Windsor for noticing and patching.
Fix compressed dnames in NAPTR/SRV
Clayton O'Neill noted that the domain names in the NAPTR and
SRV RRs rdata were subject to name compression which does not
conform to specs. Also see RFC 2782 and 2915.
Fix rt.cpan.org 18897
Zero-length rdata in TXT fixed (Acknowledgments to Roy Arends)
Fix rt.cpan.org 18785
SPF would not work unless the TXT RR was already loaded.
SPF fully inherits TXT and loading of TXT.pm is therefore a
prerequisite.
Fix rt.cpan.org 18713
Net::DNS::Resolver now deals gracefully with persistent sockets
that got disconnected. It will first try to connect again to the
socket and if that fails it will try to connect to the next
available nameserver. tcp_timeout() is the parameter that
determines how long to wait during a reconnect.
Fix rt.cpan.org 18268
Added reference to RFC in croak message for label length > 63 in
dn_comp().
Fix rt.cpan.org 18113
The inet6 tests contained another bug when online-tests were disabled.
Klaus Heinz discovered and provided a patch.
*** 0.57 February 24, 2006
Fix rt.cpan.org 17783
The inet6 tests do not skip enough tests when ipv6 is not available.
I did not catch this in my setup since IPv6 is available on all my
machines.
Since this breaks automatic CPAN installs a new release is
reasonable.
*** 0.56 February 20, 2006
Fix rt.cpan.org 17694
Net::DNS::typesbyval() now confesses on undefined
args. Acknowledgments to Dean Serenevy.
Feature Implemented SPF (typecode 99).
The class completely inherits from Net::DNS::RR::TXT (the easiest
RR to implement ever).
Feature added rrsort() function.
Feature was requested by Eric Hall in rt.cpan.org 13392
This was a little tricky as I think that the sort functions are in
fact RR specific class attributes that should be accessed through
class methods. This is difficult to implement. I do think I found a
fairly clean manner. It does require a global variable in Net::DNS
to store the functions and some trickery when the sorting functions
are defined.
See Net::DNS and Net::DNS::RR documentation for details.
Defaults sorting functions are currently implemented in
SRV: default sort: low priority to high priority and for
same preference highest weight first.
weight: sort all RRs based on weight, highest first
priority: see default sort
MX: default sort: lowest preference first.
preference: see default sort
NAPTR: default sort: lowest to highest order, for same order lowest
preference first
order: see default sort
preference: order on preference, lowest first
PX: See MX
RT: See MX
Fix rt.cpan.org 14653 and 14049
TCP fallback after V6 socket failure
Reworked Net::DNS::Base::Nameserver::send_tcp() to fallback to IPv4 when
possible. (change applied to SVN Revision 538).
Feature Cleanup duplicated code
axfr_send() and send_tcp() contained some duplicated code. I merged
this in one "helper" method _create_tcp_socket()
Fix AXFR persistent sockets colliding with query sockets.
I think that using the same persistent sockets for AXFR and
'ordinary' queries could lead to race conditions. Better safe than
sorry. For axfrs we create a different set of persistent sockets.
Note that this prevents performing a SOA query first and then using
the same socket for the zone transfer itself(in Net::DNS these are
different code paths). This behavior of SOA and transfer on the
same socket-- seems to be suggested by 1035 section 4.2.2:
"In particular, the server should allow the SOA and AXFR request
sequence (which begins a refresh operation) to be made on a
single connection."
Obviously, on the client side this behavior is not mandatory.
Fix rt.cpan.org 17596
The fixes and features above also fixed the timeout problem reported by
Paul Hoffman
Profiling
It turned out that each time we were calling
Net::DNS::Resolver::Base::nameserver(); We were creating a
resolver object. Now a resolver object is only called when a
domain name is given as argument.
**** 0.55 December 14, 2005
Fix Inconsistency in test
There was an inconsistency in the t/05-rr.t that got triggered by
the release of Net::DNS::SEC version 0.13 (when installed). That
has been fixed.
Feature Net::DNS::Nameserver loop_once()
Uncommented the documentation of the loop_once() function and introduced
get_open_tcp() that reports if there are any open TCP sockets (useful
when using loop_once().
loop_once() itself was introduced in version 0.53_02
Fix rt.cpan.org 16392
TCP Sockets stayed open even if not requested. This may cause the kernel
to run out of TCP slots.
This bug is the reason for releasing version 0.55 shortly after 0.54.
Spotted and patched by Robert Felber.
*** 0.54 December 7, 2005
Fix rt.cpan.org 15947
Failure to bind a nameserver when specifying an IPv6 address.
Fix rt.cpan.org 11931
Using Net-DNS 0.53 on Win XP, it is unable to retrieve the
nameservers when the IP address of the interface is assigned by
DHCP. This is due to the DHCP assigned IP address being stored in
DhcpIPAddress rather than IPAddress (which is then 0.0.0.0). Adding
a check of DhcpIPAddress existence and not being 0.0.0.0 fixes the
problem. Applied the patch submitted by "orjan".
Fix rt.cpan.org 15119
main_loop() consumed 100% of CPU, because of a bug that
caused loop_once() to loop ad infinitum.
Fix rt.cpan.org 15299
Defining multiple constants with 'use constant { BLA => 1, FOO =>2 };
is a backwards incompatible feature. Thanks to Ian White for spotting and
fixing this.
*** 0.53_02 Oct 18, 2005
Fix rt.cpan.org 14046
RRSIGs verify and create failed for a number of RR types. The
error message showed something like:
Can't call method "dn_comp" on an undefined value
This was caused by an omission in the _canonicalRdata() method
in Net::DNS::RR that was inherited by all failing RR types.
Code was added to t/05-rr.t that will test signature creation
if Net::DNS::SEC is available and can be loaded.
Feature async nameserver behaviour.
In rt.cpan.org 14622 Robert Stone suggested:
The fact that it needs to take over the main running thread
limits its audience. Since many daemon programs are already
driven by a top level select loop, it seems useful to provide an
API for the user to integrate Net::DNS::Nameserver processing to
their own select loop.
He also supplied example code for which he is hereby acknowledged.
The patch was not used because simultaneously Robert Martin-Legène
supplied a patch to Nameservers.pm that allowed the same async
functionality through the use of loop_once method. Robert M-L's
code also carefully manages the TCP sockets, so that they can
deal with AXFRs.
Robert S. has been so kind to review Robert M-L's code and is hereby
kindly acknowledged.
NB. Since the code may be subject to change the documentation of the
loop_once method has been commented out.
Fix bgsend srcaddr for IPv6 Achim Adam previously noticed that the
source address wildard "::" works provides better portability than
"0". We forgot to fix the bgsend() part earlier.
Fix rt.cpan.org 14624
Fixed documentation of Nameserver.pm Replyhandler and fixed a bug
that prevented the peerhost to be set.
Fix rt.cpan.org 14700
mistyped _name2wire helper function name. Noticed and patched by Simon
Josefsson.
Fix rt.cpan.org 13944
Terminating dot not printed when printing SRV record. The SRV dname should
be printed as FQDN, that is, including the dot at the end.
Acknowledgments Jakob Schlyter.
While adding the "dot" I noticed that in the fileformat parsing code
there might be theoretical corner cases where rdata elements are not
properly read. The code needs an audit for this.
Fix srcport for socket creation in bgsend method
Lionel Cons noted and patched a small bug in bgsocket creation code for
lib/Net/DNS/Resolver/Base.pm
*** 0.53_01 July 31, 2005
Fix rt.cpan.org 13809
"Phar" noted that the peerhost is never passed to the make_reply function
in nameserver.pm and provided the trivial patch.
Fix rt.cpan.org 13922
Fixed a problem with persistent TCP sockets which was introduced
because of using the address family as an index to the array of
persistent sockets.
Used AF_UNSPEC for the array index for the TCP socket; just to choose
a number. The key to the persistent sockets is the remote nameserver:port
combination.
Acknowledgments to Mike Mitchell for reporting the bug and testing
the solution.
Feat t/01-resolve will not try to do tests from private IP space; hopefully
that cuts down on the number of false positives.
*** 0.53 July 22, 2005
Fix rt.cpan.org 13669
Danny Thomas provided a somewhat more elegant line of code for the
typesbyval regexp.
Fix rt.cpan.org 13534
Net::DNS::Resolver::Recurse would bail out when it happened to run
into lame servers.
Doc rt.cpan.org 13387
Documented the BUG caught by Robert Martin-Legène
Net::DNS::Nameserver running with multiple IP interfaces might
violate section 4 of RFC2181.
Fix IPv6 on AIX
Binding to the local interface did not work when local address was
specified as "0" instead of "::". The problem was identified,
reported and fixed by Achim Adam.
Fix rt.cpan.org 13232
One uncaught AF_INET6.
*** 0.52 July 1, 2005
Feature
Net::DNS::RR::OPT
added the the size(), do(),set_do() and clear_do() methods.
*** 0.51_02 June 22, 2005
Fix rt.cpan.org 13297
Persistent_udp option broken starting in version 0.50.
This was fixed, based on a patch by Sidney Markowitz.
Guido van Rooij independently submitted a similar patch.
Fix rt.cpan.org 13289
Was caused by a typo.
Fix rt.cpan.org 13243 and 13191
The escaped characters test failed on some system because the
the systems dn_expand instead of the supplied dn_expand
was used after the makemaker magic linked DNS.xs.
This was fixed by renaming the dn_expand that comes with the
library to netdns_dn_expand.
Fix rt.cpan.org 13239:
When queries are refused the resolver would not take the next
nameserver on the nameserver list for its next try but skip one.
I was also made aware that the "use byte" pragma is incompatible
with pre 5.06 perl.
BEGIN {
eval { require bytes; }
}
It should be noted that for perl versions < 5.006 I had to disable
the escaped character test. Don't expect domain names with labels
that contain anything else than host names to work for versions
earlier than perl 5.6.0.
Thanks to Vladimir Kotal for the assistance in testing the code on
his system and the members of the NL-PM list for suggestions and
education.
*** 0.51_01 June 14, 2005
Fix rt.cpan.org 13232:
Replaced IF_INET6 by IF_INET6() so that use strict subs does not
complain in the absence of a definition of IF_INET6 in earlier
versions perl that did not have IF_INET6 defined in Socket.pm
The problem is similar to the problem described in:
http://lists.ee.ethz.ch/mrtg-developers/msg00198.html
*** 0.51 June 10, 2005
Fix rt.cpan.org 13184:
Removed a 'stale' debug line (oops). A "stale" debug line may
cause clutter in log files which may cause false positives on log
analysis tools. Harmful enough to warrant a quick patch.
*** 0.50 June 8, 2005
No changes with respect to 0.49_03.
*** 0.49_03 June 1, 2005 (Version 0.50 release candidate 3)
Fix:
Concatenation of scalars caused modification of data because of
Perl's habit to treat scalars as utf characters instead of bytes.
Inserted use bytes pragma throughout the code base. DNS is done
in octets.
Feature:
Added "ignqrid" as an attribute to the Resolver.
use as:
ok (my $res=Net::DNS::Resolver->new(nameservers => ['127.0.0.1'],
port => 5354,
recurse => 0,
igntc => 1,
ignqrid => 1,
),
When the attribute is set to a non-zero value replies with the
qr bit clear and replies with non-matching query ids are
happily accepted. This opens the possibility to accept spoofed
answers. YOU CAN BURN YOURSELF WITH THIS FEATURE.
It is set to 0 per default and remains, except for this changes file
an undocumented feature.
*** 0.49_02 May 28, 2005 (Version 0.50 release candidate 2)
Fix: Smoking Gun tests for non-cygwin Win32.
Makefile.PL failed to produce a proper Makefile under win32.
(e.g. www,nntp.perl.org/group/perl.cpan.testers/210570)
I worked around that by moving the library into the base
directory of the distribution as the "subdir" section
seemed to be all funny.
Fix: rt.cpan.org#11931 (the off-topic part)
Sidney Markowitz spotted an awkward condition that rarely happens but is
significant enough to be dealt with.
In the send_udp method there are two loops: one over the nameservers
and one that waits for the sockets to come forward with data.
That second loop will sometimes timeout and then be entered with a
repeated query to the same nameserver. It occasionally happens that the
old packet arrives on the socket. That packet is discarded but the
loop does not return to the loop to wait for the remainder of the
timeout period for an answer on the second query, that may still arrive.
This has now been fixed.
Thanks to Sidney for the assessment of the problem and the fix.
*** 0.49_01 (Version 0.50 release candidate 1)
Fix: Makefile.PL: Minor tweak to recognize Mac OS X 10.4 not so relevant
since netdnslib is distributed with the code.
Feature: Calling the Net::DNS::Resolver::dnssec method with a non-zero
argument will set the udppacketsize to 2048. The method will
also carp a warning if you pass a non-zero argument when
Net::DNS::SEC is not installed.
Feature: IPv6 transport support
IPv6 transport has been added to the resolver and to the
nameserver code.
To use IPv6 please make sure that you have IO::Socket::INET6 version
2.01 or later installed.
If IPv6 transport is available Net::DNS::Resolver::Recurse will make
use of it (picking randomly between IPv4 and IPv6 transport) use
the force_v4() method to only force IPv4.
Feature: Binary characters in labels
RFC 1035 3.1:
Domain names in messages are expressed in terms of a sequence of
labels. Each label is represented as a one octet length field
followed by that number of octets. Since every domain name ends
with the null label of the root, a domain name is terminated by a
length byte of zero. The high order two bits of every length octet
must be zero, and the remaining six bits of the length field limit
the label to 63 octets or less.
Unfortunately dname attributes are stored strings throughout
Net::DNS. (With hindsight dnames should have had their own class
in which one could have preserved the wire format.).
To be able to represent all octets that are allowed in domain
names I took the approach to use the "presentation format" for
the attributes. This presentation format is defined in RFC 1035
5.1.
I added code to parse presentation format domain names that has
escaped data such as \ddd and \X (where X is not a number) to
wireformat and vice verse. In the conversion from wire format to
presentation format the characters that have special meaning in a
zone file are escaped (so that they can be cut-n-pasted without
pain).
These are " (0x22), $ (0x24), (0x28), ) (0x29), . (0x2e) , ;
(0x3b), @ (ox40) and \ (0x5c). The number between brackets
representing the ascii code in hex.
Note that wherever a name occurs as a string in Net::DNS it is
now in presentation format.
For those that dealt with 'hostnames' (subset of all possible
domain names) this will be a completely transparent change.
Details:
I added netdnslib which contains Net::DNS's own dn_expand. Its
implemented in C and the source is a hodgepodge of Berkeley based
code and snippets from ISC's bind9 distribution. The behavior, in
terms of which chars are escaped, is similar to bind9.
There are some functions added to DNS.pm that do conversion from
presentation and wire format and back. They should only be used
internally (although they live in EXPORT_OK.)
For esoteric test cases see t/11-escapedchars.t.
Fix: rt.cpan.org #11931
Applied the patch suggested by "Sidney". It is a practical workaround
that may not be portable to all versions of the OS from Redmond. See
the ticket for details.
*** 0.49 March 29, 2005
No changes wrt 0.48_03.
*** 0.48_03 March 22, 2005 (Version 0.49 release candidate 3)
Fix: Only remove leading zeros in the regular expressions for typesbyval
and classbyval methods. (patch by Ronald v.d. Pol)
Fix: Properly return an empty array in the authority, additional and answer
methods (patch by Ronald v.d. Pol)
Fix: rt.cpan.org #11930
Incorrect searchlist duplication removal in Net::DNS::Resolver::Win32
Patch courtesy Risto Kankkunen.
Problem: rt.cpan.org #11931
Win32.pm used the DNSRegisteredAdapters registry key to determine which
local forwarders to send queries to. This is arguably the wrong key as it
is used to identify the server which to send dynamic updates to.
A real fix for determining the set of nameservers to query has not been
implemented. For details see
https://rt.cpan.org/Ticket/Display.html?id=11931
*** 0.48_02 March 14, 2005 (Version 0.49 release candidate 2)
Fix: Bug report by Bernhard Schmidt (concerning a bug on the IPv6 branch).
The bug caused dname compression to fail and to create
compression pointers causing loops.
*** 0.48_01 March 7, 2005 (Version 0.49 release candidate 1)
Fix: rt.cpan.org #8882
No redundant lookups on SERVFAIL response
and #6149
Does not search multiple DNS servers
Net::DNS::Resolver will now use the other nameservers in the
list if the RCODE of the answer is not NOERROR (0) or NXDOMAIN
(3). When send() exhausted the last nameserver from the it will
return the answer that was received from the last nameserver
that responded with an RCODE.
The errorstring will be set to "RCODE: <rcode from last packet>"
Fix: rt.cpan.org #8803
TXT records don't work with semicolons
Since we are expecting "zonefile" presentation at input
a comment will need to be escaped ( \; ).
It could be argued that this is a to strict interpretation of
1035 section 5.1.
While working on this I discovered there are more problems with
TXT RRs. Eg; 0100 is a perfectly legal character string that
should be represented as "\000" in a zonefile. Net::DNS does
pass character strings with "non-ASCII" chars from the wire
to the char_str_lst array but the print functions do not
properly escape them when printing.
Properly dealing with zonefile presentation format and binary
data is still to be done.
Fix: rt.cpan.org Ticket #8483
eval tests for DNS::RR::SIG fail when using a die handler
(Thanks Sebastiaan Hoogeveen)
Patch applied.
Fix: rt.cpan.org: Ticket #8608
Net::DNS::Packet->data makes incorrect assumptions
Implemented the "pop" method for the question.
Since having a qcount that is not 1 is somewhat rare (it appears
in TCP AXFR streams) the ability to pop the answer from a question
has not been documented in the "pod"
Also fixed the incorrect assumption.
(Thanks Bruce Campbell.)
Fix: Ticket #11106
Incorrect instructions in README
Corrected in the README and in Makefile.PL
Olaf Kolkman took over maintenance responsibility from Chris
Reinhardt. This involved importing the code into another subversion
repository. I made sure the numbers jumped, but I did not have access
to the "original" subversion repository so I lost some of the history.
*** 0.48 Aug 12, 2004
Net::DNS is now stored in a subversion repository, replacing cvs.
As such the submodule version numbers have taken another big jump.
Luckily those numbers don't matter as long as they work.
Fixed a bug with Unknown RR types that broke zone signing [Olaf].
Added callback support to Net::DNS::Resolver::Recurse. The
demo/trace_dns.pl script demonstrates this.
Added a note regarding answers with an empty answer section to the
Net::DNS::Resolver::search() and Net::DNS::Resolver::query()
documentation.
The copyright notice for Net::DNS::RR::SSHFP was incorrect. That file
is Copyright (c) 2004 RIPE NCC, Olaf Kolkman.
*** 0.47_01 May 6, 2004
** NOTICE **
RR subclasses no longer pull in parts of Net::DNS; Net::DNS is assumed
to be up and running when the subclass is compiled. If you were using a
RR subclass directly, this may break your code. It was never documented
that you could use them directly however, so hopefully you never did...
Fixed bug where SRV records with a priority of 0 did not function
correctly. CPAN #6214
Calls to various constants where using the &NAME syntax, which is not
inlined. Changed to NAME().
Added SSHFP support. [Olaf]
CERT fixes. [Olaf]
*** 0.47 April 1, 2004
safe_push() is back in Net::DNS::Packet, due to the excellent debate
skills of Luis E Munoz. However, the name safe_push() is deprecated,
use the new name unique_push() instead.
Fixed a bug in Net::DNS::Nameserver which caused the class to build
packets incorrectly in some cases. [Ask Bjorn Hansen]
Error message cleanups in Net::DNS::typesbyname()
and Net::DNS::typesbyval() [Ask Bjorn Hansen]
Net::DNS::RR::new_from_hash() now works with unknown RR types [Olaf].
*** 0.46 February 21, 2004
IPv6 reverse lookups can now be done with Net::DNS::Resolver::search(),
as well as with query().
Hostnames can now be used in the 'nameservers' argument to
Net::DNS::Resolver->new()
*** 0.45_01 February 9, 2004
Net::DNS now uses UDP on windows.
Removed Net::DNS::Select from the package. IO::Select appears to work
on windows just fine.
Fixed a bug that caused MXes with a preference of 0 to function
incorrectly, reported by Dick Franks.
Net::DNS had a few problems running under taint mode, especially under
cygwin. These issues have been fixed. More issues with taint mode may
lie undiscovered.
Applied Matthew Darwin's patch added support for IPv6 reverse lookups to
Net::DNS::Resolver::query.
*** 0.45 January 8, 2004
No changes from 0.44_02.
** 0.44_02 January 3, 2004
The XS detection code was broken. We actually use the XS bits now.
Major cleanups/optimizations of the various RR subclasses. This release
of Net::DNS is over twice as fast at parsing dns packets as 0.44.
** NOTICE **
$rr->rdatastr no longer returns '; no data' if the RR record has no
data. This happens in $rr->string now.
Net::DNS::Packet::safe_push() no longer exists. The method is now only
available from Net::DNS::Update objects.
** 0.44_01 January 3, 2004
Net::DNS::RR objects were not playing nice with Storable, this caused
the axfr demo script to fail. Thanks to Joe Dial for the report.
** NOTICE **
This may cause RR objects that are already serialize to not deserialize
correctly.
Reply handlers in Net::DNS::Nameserver are now passed the query object.
Fixed a nasty bug in Nameserver.pm related to the qr bit. As Olaf
explained:
Replies are sent if the query has its "qr" bit set. The "qr" bit is an
indication that the packet is sent as a response to a query. Since
there are more implementations that suffer from this bug one can cause
all kinds of nasty ping-pong loops by spoofing the initial packet or
have an infinite query loop by spoofing a query from the localhost:53
address.
Various Win32/Cygwin cleanups from Sidney Markowitz.
*** 0.44 December 12, 2003
The Wrath of CPAN Release.
CPAN.pm doesn't understand the nature of revision numbers. 1.10 is
newer than 1.9; but CPAN.pm treats them as floats. This is bad.
All the internal version numbers in Net::DNS have been bumped to
2.100 in order to fix this.
No actual code changes in this release.
*** 0.43 December 11, 2003
Added warning of deprecation of Net::DNS::Packet::safe_push. This will
move into Net::DNS::Update, as Net::DNS::Update is now a proper subclass
of Net::DNS::Packet.
** 0.42_02 December 11, 2003
Fixed a long standing bug with zone transfers in the "many-answers" format.
CPAN #1903.
Added the '--online-tests' flag to Makefile.PL. This activates the online
tests without asking the user interactively. "--no-online-tests" turns
the tests off.
Cleaned up Makefile.PL a little. The "--pm" flag is now deprecated, use
"--no-xs" instead.
Added support for unknown RR types (rfc3597). Note for developers: the
typesbyname, typesbyval, classesbyname and classesbyval hashes should
not be used directly, use the same named wrapper functions
instead. [Olaf Kolkman]
Added two hashes for administrative use; they store which types are
qtypes and metatypes (rfc2929). [Olaf Kolkman]
** 0.42_01 November 30, 2003
Major work to get Net::DNS functioning properly on Cygwin by Sidney
Markowitz.
Fixed a bug in Net::DNS::Nameserver's error handling. CPAN #4195
*** 0.42 October 26, 2003
Fixed compilation problems on panther (Mac OS 10.3).
Fixed a bug in Net::DNS::Resolver::Recurse which allowed an endless
loop to arise in certain situations. (cpan #3969, patch
by Rob Brown)
Applied Mike Mitchell's patch implementing a persistent UDP socket.
See the Net::DNS::Resolver documentation for details.
*** 0.41 October 3, 2003
Added some documentation about modifying the behavior of Net::DNS::Resolver.
** 0.40_01 September 26, 2003
Fixed some uninitialized value warnings when running under windows.
Fixed a bug in the test suite that caused 00-version.t to fail with
certain versions of ExtUtils::MakeMaker. Thanks to David James, Jos
Boumans and others for reporting it.
Reply handlers in Net::DNS::Nameserver are now passed the peerhost.
(Assen Totin <assen@online.bg>)
Reply handlers in Net::DNS::Nameserver can now tweak the header bits
that the nameserver returns. [Olaf]
The AD header bit is now documented, and twiddlable. [Olaf]
The change log has been trimmed, entries for versions older than 0.21
have been removed.
** NOTICE **
Net::DNS::Resolver::axfr_old() has been removed from the package.
An exception will be thrown if you attempt to use this method. Use
axfr() or axfr_start() instead.
*** 0.40 September 1, 2003
Various POD tweaks.
** 0.39_02 August 28, 2003
Net-DNS-SEC updates, seems that IETF has been busy redefining DNSSEC.
[Olaf]
Added version to all the modules in the distribution.
** 0.39_01 August 12 2003
Added a META.yaml. The crystal ball says an upgrade to Module::Install may
be coming soon.
Changed how the versions of the various submodules were set. The CPAN
indexer cannot execute "$VERSION = $Net::DNS::VERSION". The single line
with the $VERSION assignment is pulled out of the file and eval'ed; at
that time, Net::DNS is not loaded. The submodules now pull their version
numbers out of CVS.
*** 0.39 August 7 2003
Fixed a bug on Win32 where some machines separated lists with commas,
not whitespace. Thanks to Jim White for pointing it out.
** 0.38_02 July 29 2003
Reworked the POD for Net::DNS::Resolver.
When parsing resolver configuration files, IPv6 addresses are now skipped,
as Net::DNS does not yet have IPv6 support.
** 0.38_01 Jun 22 2003
Broke Net::DNS::Resolver into separate classes. UNIX and Win32
classes are currently implemented. Many of the globals in
Net::DNS::Resolver no longer exist. They were never documented
so you never used them.... right?
Options to Net::DNS::Resolver->new() are now supported, including
using your own configuration file. See the Net::DNS::Resolver man
page for details.
Tweaked Net::DNS::RR::TXT to fail more gracefully when the quotes
in the data section are not balanced.
Add more tests (of course).
Moved next_id() from Resolver.pm to Header.pm (which is where it is
used).
Net::DNS::Select now uses $^O directly, this means that the second
argument to Net::DNS::Select::new() (the OS) is now ignored.
*** 0.38 Jun 5 2003
Various buglets fixed in the new Makefile.PL.
Use Dynaloader instead of XSLoader. Turns out that XSLoader is only
in more recent perls.
Added deprecation warning to Net::DNS::Resolver::axfr_old().
HP-UX fixes [cpan #2710], I don't have the name of the reporter/patcher.
*** 0.37 May 28 2003
Renamed the test C file to compile.c, test.c was confusing the 'make test'
target.
*** 0.36 May 28 2003
Removed Rob Brown's RPM stuff. Something odd happened in the 0.35 tarball
and at the moment I don't have the time to investigate.
*** 0.35 May 26 2003
POD fixes, added tests for POD.
*** 0.34_03 May 22 2003
Reworked Makefile.PL to try and detect if you have a working C compiler.
Added '--pm' and '--xs' command line options to Makefile.PL
Fixed linking problem on linux.
Tie::DNSHash removed from the package, see Tie::DNS from CPAN for a more
complete implementation of a DNS hash.
*** 0.34_02 May 21 2003
Net::DNS::Packet::dn_expand is now implemented using the function of the
same name from libresolv. This method of decompressing names is around
twice as fast as the perl implementation.
Applied Jan Dubois's patch to fix nameserver lookup on Windows 2000/95/98/ME.
*** 0.34 6 Mar 2003
Applied David Carmean's patch for handling more than one string in a
TXT RR's RDATA section.
Applied Net::DNS::Resolver::Recurse bug fixes from Rob Brown.
Added check of the answer's rcode in Net::DNS::Resolver::axfr_next().
Applied Kenneth Olving <kenneth.olving@eoncompany.com> Windows changes.
Applied patch from Dan Sully (daniel@electricrain.com) allowing multiple
questions to be part of a DNS packet.
*** 0.33 8 Jan 2003
Fixed 00-load.t to skip the Net::DNS::SEC modules. The test suite
should now pass if you have Net::DNS::SEC installed.
Fixed the regular expression in RR.pm to comply with the RFCs, turns
out we were _too_ paranoid. [Olaf]
*** 0.32 5 Jan 2003
Various cleanups for perl 5.004. Thanks to nathan@anderson-net.com
([cpan #1847])
Applied Olaf's SIG patch (thanks as always).
Win32 now looks at the environment variables when building the
configuration defaults. Thanks to net-dns-bug@oak-wood.co.uk
(That's the only name I have... [cpan #1819])
Added Rob Brown's Net::DNS::Resolver::Recurse module.
*** 0.31 17 Nov 2002
Applied Olaf's patch for an initialization bug in OPT.pm
Applied Rob Brown's patch for udp timeouts.
Added stuff from Rob Brown for making RPM creation easier.
Fixed a typo in FAQ.pod that was making apropos and whatis
grumpy. Thanks to Florian Hinzmann for pointing it out and a patch.
*** 0.30 7 Nov 2002
Applied Andrew Tridgell's (tridge@samba.org) patch for TKEY support.
Added Net::DNS::Packet->safe_push() to allow for automatically
checking for duplicate RRs being pushed into a packet. Inspired by Luis
Munoz.
Added more tests.
*** 0.29 2 Oct 2002
Fixed $_ from creeping out of scope in Resolver.pm. Thanks to
Ilya Martynov for finding the problem and the patch to fix it.
Fixed divide by zero bug there is no usable network interface(s).
Thanks to twilliams@tfcci.com, misiek@pld.ORG.PL (and one other
person that I can't seem to find the address of) for reports.
*** 0.28 20 Aug 2002
Fixed a bug in the new AUTOLOAD routines that made it impossible to set
attributes to '0'.
Fixed a bug in the RR patch that broke many updates.
*** 0.27 15 Aug 2002
Added (untested) support for perl 5.004.
We now allow whitespace at the beginning of a RR.
Fixed an issue that gave Net::DNS::SEC problems, %Net::DNS::RR::RR is now
in a scope that the Net::DNS::SEC hook can see it from.
Fixed SRV records.
Fixed debug message in Net::DNS::Resolver::bgread().
*** 0.26 5 Aug 2002
Fixed various bugs in the test suite.
Fixed warning in Net::DNS::RR::AUTOLOAD with perl 5.005.
---
Olaf Kolkman <olaf@net-dns.org>
Chris Reinhardt
Michael Fuhr
|