Skip to content
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

Zone generation does not support rDNS for other subnets #104

Open
ethanwu10 opened this issue Sep 15, 2023 · 1 comment
Open

Zone generation does not support rDNS for other subnets #104

ethanwu10 opened this issue Sep 15, 2023 · 1 comment
Labels

Comments

@ethanwu10
Copy link
Member

The current zone file generation assumes that all hosts are in the primary subnet, and generates rDNS PTR records off of the last octet only

dns/build-zones

Lines 96 to 100 in 5ba3b81

def reverse_dns_records_v4(self):
"""Return reverse IPv4 DNS records."""
if self.ipv4:
yield '{self.last_quad} IN PTR ' \
'{self.hostname}.OCF.Berkeley.EDU.'.format(self=self)

This is wrong now that we have more subnets in use.

In addition, our v4 range in EWDC is a /28, so we do not have a whole zone delegated to us for rDNS - we should look into supporting rDNS there as well.

@ethanwu10 ethanwu10 added the bug label Sep 15, 2023
@fawaf
Copy link
Member

fawaf commented Sep 22, 2023

Woah, ocf has more subnets now? Is that documented anywhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants