mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 16:45:55 +03:00
[GH-ISSUE #196] management command "domains" checks only secondary dns #180
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#180
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Jan 12, 2015).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/196
the check that decides whether a domain is ok sends a query to the related DNS.
if there are 2 DNSs (namserver [primary] and nameserver2 [secondary]) configured in the DB, it prefers to send the query to the secondary. if the query fails, we should also check if querying the primary still works and only set the domain to unavailable if the primary failed also.
@ThomasWaldmann commented on GitHub (Jan 26, 2015):
hmm, I read the resolver code and it looks like it will use all available nameservers anyway.
so the only choice we have is which to try first. i added a flag prefer_primary so we can check the primary ns first for the domain checker.