Browse Source

local setup

master
Anthony Fadly 1 year ago
parent
commit
aa70b104f2
1 changed files with 13 additions and 1 deletions
  1. 13
    1
      oct17-dns.md

+ 13
- 1
oct17-dns.md View File

@@ -6,7 +6,7 @@
- Zones
- Resolver
- HINTS File
- Local Setup
- [Local Setup (Bootstrap)](#local-setup)
- `/etc/nsswitch.conf`
- `/etc/hosts`
- `/etc/resolve.conf`
@@ -24,6 +24,18 @@ installed, .onion domain names can be accessed
- ns1.sandbox.csun.edu. = /edu/csun/sandbox/ns1
- DNS Iterator - looks at HINTS file, searches first from top level domain then
lower on the list
- Every zone file has two DNS servers

## Local Setup

Applications like Firefox and the email client do not make dns requests, dns
requests happen on the operating system level. It has a DNS resolver and a
cache. Sometimes you need to [hard refresh][3] to clear the cache.

### Local DNS Files

- `/etc/resolve.conf` lists the current dns server for resolving dns requests

[1]: https://en.wikipedia.org/wiki/Ping_of_death
[2]: https://en.wikipedia.org/wiki/.onion
[3]: https://xkcd.com/1854/

Loading…
Cancel
Save