GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Request: Be able to retrieve raw label and rdata · Issue #410 · dnsjava/dnsjava

Request: Be able to retrieve raw label and rdata #410

New issue
Copy link
New issue
Copy link
Open
Feature
Open
Request: Be able to retrieve raw label and rdata#410
Feature
Copy link
Labels
enhancement

Description

@GeorgeMathiasLumen
GeorgeMathiasLumen
opened on Jul 8, 2026
Issue body actions

I am using dnsjava to parse zone files which are then loaded into the database.

Currently, when I do master.nextRecord() on a CNAME/NS/MX records, it returns me fully qualified rdata even if it is a short name. Also labels are fully qualified as well. How can I get a label and rdata as it appears in the zone file.

For e.g.

$ORIGIN planet.net.
ipa1.ams1 CNAME s5-0-0-4-0.ipa1.ams1
$ORIGIN ipa1.ams1.planet.net.
s5-0-0-1-0 A 192.168.10.12

I would like to be able to get value of label as "ipa1.ams1" and rdata as "s5-0-0-4-0.ipa1.ams1". Also, how do I get origin of "ipa1.ams1.planet.net." from the record.

As of now, since the record returns ipa1.ams1.planet.net. I cannot tell which one is origin and the short label.

Thank You

Activity

  1. ibauersachs
    added the
    Feature
    issue type on Aug 30, 2026
  2. ibauersachs
    added
    enhancement
    on Aug 30, 2026
  3. ibauersachs commented on Aug 30, 2026

    @ibauersachs
    ibauersachs
    on Aug 30, 2026
    Member
    More actions

    Adding this would require some new API to iterate. If you have an idea, I'd appreciate your thoughts. In any case, this will take some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.