1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

test/util/minidns: Support priority in MX records

minidns supports MX records, but today it hard-codes priority=10.

This is limiting when creating test scenarios that depend on having
different MX priorities.

This patch adds support for specifying the priority in MX records.
This commit is contained in:
Alberto Bertogli
2025-04-11 13:00:30 +01:00
parent 9524d307eb
commit b65ec36916
4 changed files with 21 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
# srv-a zone
srv-a A 127.0.0.1
srv-a AAAA ::1
srv-a MX srv-a
srv-a MX 10 srv-a
srv-a TXT v=spf1 a
# srv-b zone
srv-b A 127.0.0.1
srv-b AAAA ::1
srv-b MX srv-b
srv-b MX 10 srv-b
srv-b TXT v=spf1 a