Bug #3850
closed
Reverse dns zone not created for the entire subnet, if larger than /24
Added by Dominic Cleal about 11 years ago.
Updated over 7 years ago.
Description
Description of problem:
Foreman only creates reverse zone file for first set of prefixes in a multi-prefixed subnet.
How reproducible:
Everytime
Steps to Reproduce:
1. Install Foreman in a provisioning configuration using a subnet that has multiple prefixes such as 10.1.0.0/23
2. Add a host to foreman with an ip address prefixed with 10.1.1.
Actual results:
Foreman errors with:
Create Reverse DNS record for INSERT_HOSTNAME_HERE task failed with the following error: 400 Bad Request
Additional info:
Adding a host using an address prefixed with 10.1.0 works fine.
After manually adding a reverse zone in the named configuration, adding a host to the higher prefixed addresses works.
- Target version set to 1.9.2
- Status changed from New to Assigned
- Assignee set to Greg Sutcliffe
- Target version changed from 1.9.2 to 1.9.1
- Status changed from Assigned to Ready For Testing
- Target version changed from 1.9.1 to 1.9.0
- % Done changed from 0 to 90
Oops, forgot all about this. The code still works, but I believe Ewoud would prefer me to make the code slightly nicer.
- Target version changed from 1.9.0 to 1.8.4
- Target version changed from 1.8.4 to 1.8.3
- Target version changed from 1.8.3 to 1.8.4
- Target version changed from 1.8.4 to 1.8.3
- Target version changed from 1.8.3 to 1.8.2
- Target version changed from 1.8.2 to 1.8.1
- Target version changed from 1.8.1 to 1.8.0
- Target version changed from 1.8.0 to 1.7.5
- Target version changed from 1.7.5 to 1.7.4
- Target version changed from 1.7.4 to 1.7.3
- Target version changed from 1.7.3 to 1.7.2
- Status changed from Ready For Testing to New
- Assignee deleted (
Greg Sutcliffe)
- Target version deleted (
1.7.2)
- Status changed from New to Resolved
Fixed in #18538 / 53d0f22f8b7f6b9f19e810a4662702b5fd836dc4
- Has duplicate Feature #12066: Create all neccessary Reverse DNS Files added
Also available in: Atom
PDF