Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 527
    • Issues 527
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 95
    • Merge requests 95
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #393
Closed
Open
Created Jul 09, 2018 by Michał Kępień@michalOwner

Fix a Net::DNS version quirk in the "resolver" system test

new Net::DNS::Packet()->data() only returns a DNS packet with an empty QUESTION section in Net::DNS 0.68+ (see changes introduced in upstream revision 968). In older versions, the same method inserted a ./ANY RR into the QUESTION section if the latter was empty:

$ PERL5LIB=/path/to/Net-DNS/0.67/lib perl -MNet::DNS -e 'print(unpack("H*", new Net::DNS::Packet()->data()) . "\n") for (1..3);'
a027010000010000000000000000ff00ff
3d68010000010000000000000000ff00ff
a740010000010000000000000000ff00ff
$ PERL5LIB=/path/to/Net-DNS/0.68/lib perl -MNet::DNS -e 'print(unpack("H*", new Net::DNS::Packet()->data()) . "\n") for (1..3);'
01be01000000000000000000
85a101000000000000000000
2c1e01000000000000000000

Since the latest Net::DNS version available with stock RHEL/CentOS 6 packages is 0.65 and we officially support that operating system, bin/tests/system/resolver/ans8/ans.pl should be tweaked to ensure it returns consistent responses across all Net::DNS versions.

Assignee
Assign to
Time tracking