名詞介紹-Domain Name Service (DNS)
目錄
DNS提供將Domain name進行解析成IP的服務,需使用53/TCP、53/UDP(通常為UDP)進行連線。
DNS查詢
在電腦在需要連線Domain時,會優先查找主機內的hosts file,並利用該資料進行連線。如果沒有找到,將再對所設定的DNS提出Domain查詢的請求。
Linux 先找/etc/hosts
windows 先找 C:\windows\System32\drivers\etc\hosts
依RFC 3330 localhost 會指到127.0.0.1
DNS設定(Linux)
http://www.geekpills.com/operating-system/linux/configure-master-slave-bind-dns-in-linux
延伸閱讀
- DNS amplification attack (DNS放大攻擊)簡介
- 10 DNS Attacks Types and The Mitigate Steps – 2020
- DNS tunneling
參考資料
https://tools.ietf.org/html/rfc3330