Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* handled ipv6 nses in the ResolverConfig * added v6 local addrs to config * added most basic IPv6 NS test * added comments explaining we'll mix IPv4 and IPv6 addresses in the CLI side and distinguish later * CLI side done * init LocalAddr arrays in new RC and return error if ipv6only and we can't get an IPv6 address * compiles with IPv6 support * remove ipv6 todo * fix bug in parsing IPv6 resolv.conf * populate root servers with IPv6 if applicable * fixed population bug with ipv6 roots * fixed seg fault with a guard condition, need to fix root cause tho * added thread-saftey for PopulateAndValidate and fixed some lack of IPv6 support in authority/additional iteration * added a few sanity tests for IPv6 * fixed bug by not deleting unneeded local addrs and nameservers * fixed executable name for testing * loopback handling in ExternalLoopback * fixed compile issues in tests * fixed bug with proper IPv6 detection and make populateAndValidate idempotent * fixed issue with copying ns arrays in resolver init * added new --4 and --6 flags to disambiguate from the lookup A and AAAA flags * fix up unit tests, messed them up by misunderstanding the lookup-ipv4 flag * fix up IPv6 test so it doesn't run on non-IPv6 supported hosts * forgot to rename the ZDNS exe back * moved ipv6 tests into their own workflow * renamed zdns exe * cleaned up ipv6 tests * added loopback test for ipv6 * elevate warning msg about not being able to find IPv6 socket to warning or else it's hard to identify * add fix for using root servers if in iterative mode in CLI * added details to loopback warning msg * lookup AAAA for nameservers in extract authority * added prefer ipv4 and ipv6 options * better handling around the ipv4 preference validation, better UX, more tests * lint * hack to get IPv6 test to pass on hosts that don't support IPv6 * a lil more hack * added comment to explain hack in unit tests * fixed compile issues in non-test code * tests passing * lint * remove tests with loopback IPv6, we can't have IPv6 loopback NSs * only add name servers if IP mode supports it * cleanup and fixed some bugs from merge * loopback cli hack and added more string sanitization on listing --name-servers * don't overwrite cli provided external NS' * don't overwrite cli provided external NS bug * compiling * fixed up tests and added null checks to ExternalLookup. Removed test trying to use IPv6 loopback nameserver, since we don't support that * cleaned up unneeded changes in integration_tests * spelling * use new concat * avoid redundent check and remove todo * Stop handling a domain if all nameservers don't provide sufficient glue records when they should (#417) * stop handling a domain if the nameserver that should provide glue records doesn't * add rfc comment * lint * updated ipv6 integration test * update comment * better err msg if user specifies IPv6 mode on non IPv6 capable machine * infer IP support thru nameservers, use --4/6 as IPvX only * disallow both --4 and --6 * tests and lints * fixed up ipv6 tests
- Loading branch information