소스 검색

local setup

master
Anthony Fadly 1 년 전
부모
커밋
aa70b104f2
1개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 13
    1
      oct17-dns.md

+ 13
- 1
oct17-dns.md 파일 보기

@@ -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…
취소
저장