NETW 0014 - Week 4, Day 2 — Proving the Views

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There are no tags or description

Looks like no tags are added yet.

16 Terms

1
New cards

What does dig do?

dig tells you what was returned, not which view returned it.

2
New cards

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.

3
New cards

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

4
New cards

What three tests do you need to do after each change?

from the LAN (S2), from the partner, and from a third party

5
New cards

Which dig command would you use to ask without requesting recursion?

dig +norec

6
New cards

Which dig command would you use for quick checks?

dig +short

7
New cards

Which dig command would you use to choose the source address when the machine has several?

dig -b <address>

8
New cards

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

9
New cards

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

10
New cards

What did the log line add that dig did not?

the view name

11
New cards

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

12
New cards

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

13
New cards

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

14
New cards

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

15
New cards

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

16
New cards

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