-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add $INCLUDE parsing and RFC 2308 $TTL compliance #2
base: master
Are you sure you want to change the base?
Commits on Oct 19, 2014
-
Added parsing functionality before individual records are parsed such…
… that included records can be parsed in same loop. Added separate test 'dns-zoneparse-include.t' for testing inclusion of other zones. New test is a clone of dns-zoneparse.t but only tests parsing from data in variable and reading from file as when included records are parsed, output and parsed again they're returned in a different format than the expected hash structure due to record grouping by ORIGIN. Added 2x test zones, include-test-zone.db (performs the inclusion with the directives) and included-test-zone.db (is included by the former) as to not impact original test-zone.db. included-test-zone.db has slightly different records to distinguish results in new test. parsing is compliant with specification in RFC1035 and supports domain parameter (which sets the relative origin of the included records) and comment parameter (which isn't used at present).
Mr Ben Nott committedOct 19, 2014 Configuration menu - View commit details
-
Copy full SHA for ed71572 - Browse repository at this point
Copy the full SHA ed71572View commit details
Commits on Oct 20, 2014
-
Added RFC2308 compliant \$TTL directive behavior. The directive is us…
…ed to set the TTL of all resource records that do not explicitly set a TTL. When a \$TTL directive is not set, the original behavior of inheriting the previously set TTL is used. When neither a \$TTL directive or explicit RR TTL is set, the minimum TTL of the SOA record is used. An additional test dns-zoneparse-dollar-ttl.t has be added to prove that the original behavior is still working. The main test dns-zoneparse.t has been updated to reflect the new behavior as the test zone test-zone.db uses a \$TTL directive. Both of these tests prove the functionality to work in either case.
Mr Ben Nott committedOct 20, 2014 Configuration menu - View commit details
-
Copy full SHA for b5fb593 - Browse repository at this point
Copy the full SHA b5fb593View commit details -
Added RFC2308 compliant $TTL directive behavior.
The directive is used to set the TTL of all resource records that do not explicitly set a TTL. When a $TTL directive is not set, the original behavior of inheriting the previously set TTL is used. When neither a $TTL directive or explicit RR TTL is set, the minimum TTL of the SOA record is used. An additional test dns-zoneparse-dollar-ttl.t has be added to prove that the original behavior is still working. The main test dns-zoneparse.t has been updated to reflect the new behavior as the test zone test-zone.db uses a $TTL directive. Both of these tests prove the functionality to work in either case.
Mr Ben Nott committedOct 20, 2014 Configuration menu - View commit details
-
Copy full SHA for 703c732 - Browse repository at this point
Copy the full SHA 703c732View commit details -
Merge branch 'master' of https://github.com/xdrr/dns-zoneparse-perl
Mr Ben Nott committedOct 20, 2014 Configuration menu - View commit details
-
Copy full SHA for df33d0a - Browse repository at this point
Copy the full SHA df33d0aView commit details
Commits on Oct 27, 2014
-
Added better support for last_origin fallback when resetting relative…
… origin following $INCLUDE
Mr Ben Nott committedOct 27, 2014 Configuration menu - View commit details
-
Copy full SHA for f3841fd - Browse repository at this point
Copy the full SHA f3841fdView commit details -
Greatly reduced size of testing for $INCLUDE and $TTL functionality i…
…n dns-zoneparse-perl
Mr Ben Nott committedOct 27, 2014 Configuration menu - View commit details
-
Copy full SHA for dbef3a5 - Browse repository at this point
Copy the full SHA dbef3a5View commit details
Commits on Oct 28, 2014
-
Updated exact SOA test to reflect addition fo RFC2308 $TTL behavior a…
…dded in this branch.
Mr Ben Nott committedOct 28, 2014 Configuration menu - View commit details
-
Copy full SHA for 0ddbbbf - Browse repository at this point
Copy the full SHA 0ddbbbfView commit details -
Updated remaining tests to reflect RFC2308 $TTL behavior
Mr Ben Nott committedOct 28, 2014 Configuration menu - View commit details
-
Copy full SHA for c589b52 - Browse repository at this point
Copy the full SHA c589b52View commit details -
Reset 'use lib' path in main test but it could be either ../lib or li…
…b depending on where it is desired to run the test from.
Mr Ben Nott committedOct 28, 2014 Configuration menu - View commit details
-
Copy full SHA for 3a7207b - Browse repository at this point
Copy the full SHA 3a7207bView commit details
Commits on Nov 2, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 891b1c1 - Browse repository at this point
Copy the full SHA 891b1c1View commit details
Commits on Nov 23, 2014
-
Made dollar TTL parsing optional via flag in new() sub after callback
Ben committedNov 23, 2014 Configuration menu - View commit details
-
Copy full SHA for f1ce20d - Browse repository at this point
Copy the full SHA f1ce20dView commit details