초록술님 블로그를 참고하여 간단한 형태의 DNS 서버를 구성해보았습니다.
https://greensul.tistory.com/294
[KALI] dnsmasq로 간단하게 DNS (Domain Name Server)구축 및 Windows DNS Query 테스트
DNS(Domain Name Server)는 컴퓨터 네트워크에서 사용되는 서비스 중 하나로, 사람이 이해하기 쉬운 도메인 이름(예: http://www.example.com)을 컴퓨터가 이해할 수 있는 IP 주소(예: 192.168.0.1)로 변환하는 역
greensul.tistory.com
요약하면
[ linux ]
netstat -na | grep 53
apt-get update
apt-get install dnsmasq
systemctl start dnsmasq
netstat -nap | grep 53
vi /etc/hosts
hosts 파일에 192.168.98.18 의 test.com DNS 추가
systemctl enable dnsmasq
systemctl restart dnsmasq
[ windows ]
DNS 변경 등록
ipconfig /flushdns