Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_options:dns_substitution [2025/07/24 13:02] – elena.krasnobryzh | en:dpi:dpi_options:dns_substitution [2025/07/24 13:04] (current) – [Configuration] elena.krasnobryzh | ||
---|---|---|---|
Line 23: | Line 23: | ||
=====Configuration===== | =====Configuration===== | ||
- | - Create a text file and add DNS spoofing rules specifying the domain name, DNS record type, and IP address to be returned for that domain. Wildcard domains with * are supported. <code bash>vi test.txt | + | - Create a text file and add DNS spoofing rules specifying the domain name, DNS record type, and IP address to be returned for that domain. Wildcard domains with '' |
google.com A 192.0.2.1 | google.com A 192.0.2.1 | ||
- | test.ru A #nxdomain | + | test.com A #nxdomain |
example.com AAAA 2001: | example.com AAAA 2001: | ||
- | ya.ru HTTPS #drop | + | yahoo.com HTTPS #drop |
*.fb.com A 203.0.113.5 | *.fb.com A 203.0.113.5 | ||
- | mail.ru MX smtp.googlemail.com | + | outlook.com MX smtp.googlemail.com |
</ | </ | ||
- Convert the text file to binary format using the '' | - Convert the text file to binary format using the '' |