René's URL Explorer Experiment


Title: Resolve relative $ORIGIN and $INCLUDE origins against the current origin by RaphaelFakhri · Pull Request #432 · dnsjava/dnsjava · GitHub

Open Graph Title: Resolve relative $ORIGIN and $INCLUDE origins against the current origin by RaphaelFakhri · Pull Request #432 · dnsjava/dnsjava

X Title: Resolve relative $ORIGIN and $INCLUDE origins against the current origin by RaphaelFakhri · Pull Request #432 · dnsjava/dnsjava

Description: RFC 1035, Section 5.1 states that a domain name that does not end in a dot is relative to the current origin. Master resolved the name in a $ORIGIN directive, and the optional origin of $INCLUDE, against the root instead. In zone example.com., $ORIGIN sub set the origin to sub. instead of sub.example.com., so every following relative owner name ended up outside the zone. BIND and other zone file parsers append the current origin in this case. Master now resolves both names against the current origin. If no origin is set, it falls back to the root as before. Absolute names are unchanged. Tests Added MasterTest.relativeOriginDirective and MasterTest.relativeIncludeOrigin. Both fail on master with expected: a.sub.example.com. but was: a.sub.. mvn verify passes, except for ResolverTest.resolverListenerExceptionUnwrap, which also fails on master in the same environment (timeout). Fixes #431

Open Graph Description: RFC 1035, Section 5.1 states that a domain name that does not end in a dot is relative to the current origin. Master resolved the name in a $ORIGIN directive, and the optional origin of $INCLUDE, a...

X Description: RFC 1035, Section 5.1 states that a domain name that does not end in a dot is relative to the current origin. Master resolved the name in a $ORIGIN directive, and the optional origin of $INCLUDE, a...

Opengraph URL: https://github.com/dnsjava/dnsjava/pull/432

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2dc00a5c-75bc-d060-6c1a-b96030c0b261
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB5A:C5B62:252946:327395:6B061563
html-safe-nonce049facd9e172616b67969b8b5b05a3951687e85f60500f563f50feeb11b069e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjVBOkM1QjYyOjI1Mjk0NjozMjczOTU6NkIwNjE1NjMiLCJ2aXNpdG9yX2lkIjoiMjg5OTE4NzU3NjEwNTk5NzY2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3361f338381072de1a76d042ab591156174e4bccb7a5c87957c2539260cd4ba3
hovercard-subject-tagpull_request:5140176215
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/dnsjava/dnsjava/pull/432/files
twitter:imagehttps://avatars.githubusercontent.com/u/153192858?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/153192858?s=400&v=4
og:image:altRFC 1035, Section 5.1 states that a domain name that does not end in a dot is relative to the current origin. Master resolved the name in a $ORIGIN directive, and the optional origin of $INCLUDE, a...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/dnsjava/dnsjava/pull/432/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F432%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F432%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=dnsjava%2Fdnsjava
Reloadhttps://github.com/dnsjava/dnsjava/pull/432/files
Reloadhttps://github.com/dnsjava/dnsjava/pull/432/files
Reloadhttps://github.com/dnsjava/dnsjava/pull/432/files
dnsjavahttps://github.com/dnsjava
dnsjavahttps://github.com/dnsjava/dnsjava
Codehttps://github.com/dnsjava/dnsjava
Issues16 (16)https://github.com/dnsjava/dnsjava/issues
Pull requests3 (3)https://github.com/dnsjava/dnsjava/pulls
Actionshttps://github.com/dnsjava/dnsjava/actions
Security and quality8 (8)https://github.com/dnsjava/dnsjava/security
Insightshttps://github.com/dnsjava/dnsjava/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
ibauersachshttps://github.com/ibauersachs
dnsjava:masterhttps://github.com/dnsjava/dnsjava/tree/master
RaphaelFakhri:fix-relative-originhttps://github.com/RaphaelFakhri/dnsjava/tree/fix-relative-origin
Conversation 3 https://github.com/dnsjava/dnsjava/pull/432
Commits 2 https://github.com/dnsjava/dnsjava/pull/432/commits
Checks 20 https://github.com/dnsjava/dnsjava/pull/432/checks
Files changed https://github.com/dnsjava/dnsjava/pull/432/files
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/432/files
Resolve relative $ORIGIN and $INCLUDE origins against the current origin https://github.com/dnsjava/dnsjava/pull/432/files#top
Show all changes 2 commits https://github.com/dnsjava/dnsjava/pull/432/files
c8e767b master: resolve relative $ORIGIN against the current origin RaphaelFakhri Nov 3, 2026 https://github.com/dnsjava/dnsjava/pull/432/commits/c8e767bb892b1f89d7b6b01ddcbd6a2bf115b682
070dae4 master: close an included file when the Master is closed RaphaelFakhri Nov 6, 2026 https://github.com/dnsjava/dnsjava/pull/432/commits/070dae4fd9e825d4ca890e0d0fd68fcc0871c362
Clear filters https://github.com/dnsjava/dnsjava/pull/432/files
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/432/files
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/432/files
Master.java https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
MasterTest.java https://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
src/main/java/org/xbill/DNS/Master.javahttps://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
View file https://github.com/RaphaelFakhri/dnsjava/blob/070dae4fd9e825d4ca890e0d0fd68fcc0871c362/src/main/java/org/xbill/DNS/Master.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dnsjava/dnsjava/pull/432/{{ revealButtonHref }}
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
https://github.com/dnsjava/dnsjava/pull/432/files#diff-4ba82006b27fc39d2c21faa56c4741cdb13a367c456211a27e86df2e2d3b877a
src/test/java/org/xbill/DNS/MasterTest.javahttps://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
View file https://github.com/RaphaelFakhri/dnsjava/blob/070dae4fd9e825d4ca890e0d0fd68fcc0871c362/src/test/java/org/xbill/DNS/MasterTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dnsjava/dnsjava/pull/432/{{ revealButtonHref }}
https://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
https://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
https://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
https://github.com/dnsjava/dnsjava/pull/432/files#diff-665a3b2f1d376297e53c707d6afe0bc644c2398f86f62c66a712ba78e712b786
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/432/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.