Updating a host fails if you cannot reach the SOA nameservers
We encountered an issue with updating and changing hosts through foreman and after a lengthy debugging session with Ohad we tracked it down to an issue where the foreman server cannot reach the SOA servers for a domain to check DNS.
This is similar to #1426 but in our use case the SOA records do exist but are blocked off, network wise, from the foreman server. We have temporarily fixed this by removing code from def resolver in app/models/domain.rb
For now we're using:
ns = nameservers
But we'd like a setting of some kind to toggle between reaching out to the SOAs and just relying on the system configured resolvers. We also discussed perhaps having a timeout value that falls back on using local resolvers (but should ideally display some kind of error in the UI so people are aware of what happened - otherwise they will just think 1 minute updates are normal).