# 시험용 DNS 설정입니다. example.test 영역의 응답만 만들고 바깥으로는 묻지 않습니다. port=53 bind-interfaces listen-address=0.0.0.0 no-resolv no-hosts no-poll local=/example.test/ log-queries log-facility=- # --- good.example.test: 정상 기록 (SPF include + ip4 + -all, DKIM 2048비트, DMARC reject) --- txt-record=good.example.test,"v=spf1 ip4:10.20.0.0/24 include:_spf.mail.example.test -all" txt-record=_spf.mail.example.test,"v=spf1 ip4:192.168.50.0/24 -all" txt-record=s2026._domainkey.good.example.test,"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmKfEYCdw5t8EOPbvEhUrHSpLKAu1L7a2nyFjJDArHL1SLYGZ6ZIWSpiolMGD/GxH9qOGAb/r8KM5+D7kkV6ri24LDLgNXpnI5Ety+D5J+NQbbvjInADSu759mXCeMUCYj1rq9ZH2QUpAWEk8VjyPwb0SWMqO","Upj1xfb5q5afMAAk9w8S0PajjU9yfCBDnWFiZKj0lTP5Z1DCUjsbw6kYR/GFWy7FunQ1zODHhPCTmx5QPRLAb+rNbIgBmHw8FhwxfbZRzyi+RlhlSgQl9GoILI2HNJE9wq9TTCOcfdB1dp2ddvdcec5jHvRsdMsWFIwsVIBFW9dVy3NtOtoeRYoYBQIDAQAB" txt-record=_dmarc.good.example.test,"v=DMARC1; p=reject; rua=mailto:dmarc-reports@good.example.test; adkim=s; aspf=s; pct=100" # --- loose.example.test: 느슨한 기록 (mx, a 사용, ~all, DKIM 테스트 중, DMARC none) --- host-record=loose.example.test,10.20.0.30 host-record=mail.loose.example.test,10.20.0.25 mx-host=loose.example.test,mail.loose.example.test,10 txt-record=loose.example.test,"v=spf1 mx a ip4:10.20.0.0/24 ~all" txt-record=s2026._domainkey.loose.example.test,"v=DKIM1; k=rsa; t=y; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmKfEYCdw5t8EOPbvEhUrHSpLKAu1L7a2nyFjJDArHL1SLYGZ6ZIWSpiolMGD/GxH9qOGAb/r8KM5+D7kkV6ri24LDLgNXpnI5Ety+D5J+NQbbvjInADSu759mXCeMUCYj1rq9ZH2QUpAWEk8VjyPwb0SWMqO","Upj1xfb5q5afMAAk9w8S0PajjU9yfCBDnWFiZKj0lTP5Z1DCUjsbw6kYR/GFWy7FunQ1zODHhPCTmx5QPRLAb+rNbIgBmHw8FhwxfbZRzyi+RlhlSgQl9GoILI2HNJE9wq9TTCOcfdB1dp2ddvdcec5jHvRsdMsWFIwsVIBFW9dVy3NtOtoeRYoYBQIDAQAB" txt-record=_dmarc.loose.example.test,"v=DMARC1; p=none; rua=mailto:dmarc-reports@loose.example.test" # --- mid.example.test: 단계적 적용 (quarantine 50%, 하위 도메인 reject) --- txt-record=mid.example.test,"v=spf1 include:_spf.mail.example.test ~all" txt-record=_dmarc.mid.example.test,"v=DMARC1; p=quarantine; sp=reject; pct=50; aspf=s; rua=mailto:dmarc-reports@mid.example.test" # --- many.example.test: include 11개 (조회 10회 제한 초과) --- txt-record=many.example.test,"v=spf1 include:i01.many.example.test include:i02.many.example.test include:i03.many.example.test include:i04.many.example.test include:i05.many.example.test include:i06.many.example.test include:i07.many.example.test include:i08.many.example.test include:i09.many.example.test include:i10.many.example.test include:i11.many.example.test -all" txt-record=i01.many.example.test,"v=spf1 ip4:10.30.1.0/24 -all" txt-record=i02.many.example.test,"v=spf1 ip4:10.30.2.0/24 -all" txt-record=i03.many.example.test,"v=spf1 ip4:10.30.3.0/24 -all" txt-record=i04.many.example.test,"v=spf1 ip4:10.30.4.0/24 -all" txt-record=i05.many.example.test,"v=spf1 ip4:10.30.5.0/24 -all" txt-record=i06.many.example.test,"v=spf1 ip4:10.30.6.0/24 -all" txt-record=i07.many.example.test,"v=spf1 ip4:10.30.7.0/24 -all" txt-record=i08.many.example.test,"v=spf1 ip4:10.30.8.0/24 -all" txt-record=i09.many.example.test,"v=spf1 ip4:10.30.9.0/24 -all" txt-record=i10.many.example.test,"v=spf1 ip4:10.30.10.0/24 -all" txt-record=i11.many.example.test,"v=spf1 ip4:10.30.11.0/24 -all" # --- dup.example.test: SPF 기록 두 개 --- txt-record=dup.example.test,"v=spf1 ip4:10.20.0.0/24 -all" txt-record=dup.example.test,"v=spf1 include:_spf.mail.example.test ~all" # --- open.example.test: 모두 허용(+all), DMARC 없음 --- txt-record=open.example.test,"v=spf1 +all" # --- broken.example.test: 문법 오류 모음 --- txt-record=broken.example.test,"v=spf1 ip4:10.20.0.0/33 ipv4:10.20.1.1 include:_spf.mail.example.test -all ip4:10.9.9.9" txt-record=s2026._domainkey.broken.example.test,"v=DKIM1; k=rsa; p=" txt-record=old._domainkey.broken.example.test,"v=DKIM1; k=rsa" txt-record=bad._domainkey.broken.example.test,"v=DKIM1; k=rsa; p=MIIBIjANBgkq-not-base64!" txt-record=_dmarc.broken.example.test,"v=DMARC1; p=block; rua=dmarc-reports@broken.example.test; pct=150"