1/15
Looks like no tags are added yet.
What does dig do?
dig tells you what was returned, not which view returned it.
How do you turn on query-logging and what does it do?
Turn on query logging with rndc querylog on: each logged query names the client address and the view that handled it, so a log line is proof of both.
Aside from querylog, what other rndc verbs do you need to know?
rndc reload (all zones), rndc reload yourname.net IN internal (one zone in one view), rndc status
What three tests do you need to do after each change?
from the LAN (S2), from the partner, and from a third party
Which dig command would you use to ask without requesting recursion?
dig +norec
Which dig command would you use for quick checks?
dig +short
Which dig command would you use to choose the source address when the machine has several?
dig -b <address>
How does a transfer request work?
A transfer request is matched to a view by source address like any other query. S2 transfers the internal zone; an AXFR from the partner would be matched to the partner view and must still be refused by that zone's allow-transfer. Each view's file has its own serial: edit the internal file and raise the internal serial; the partner file is not involved
What would happen if S2 was given the external address?
If S2 were given the External address it would send traffic out through the gateway and back in: slower, and it breaks if the firewall disagrees. That is the practical reason for the split, not a security feature on its own
What did the log line add that dig did not?
the view name
What is the likely cause and fix for the following issue: The partner gets the internal answer
Their S1 address is also matched by the lan ACL, or the views are in the wrong order
Check the ACL contents and the view order
What is the likely cause and fix for the following issue: The partner is REFUSED for your zone
The partner ACL has the wrong address
Use the External address the query actually arrives from; read it in the query log
What is the likely cause and fix for the following issue: The new record is visible to the partner
It was added to the partner file, or the files were copied wholesale
Edit the internal file only; compare the two files
What is the likely cause and fix for the following issue: S2 does not receive the new record
The internal serial was not raised, or only the wrong file's serial was raised
Raise the internal file's serial; reload that zone
What is the likely cause and fix for the following issue: No view name in the log
Query logging is off or is writing elsewhere
rndc querylog on; journalctl -u named
What is the likely cause and fix for the following issue: After the order fault S2 will not recover
Cached REFUSED on S2, or the old order was not restored
Restore the saved configuration, reload, and flush S2's DNS cache with resolvectl flush-caches