SPF: print the version in the TXT record.

This commit is contained in:
Philippe Pittoli 2024-03-07 01:20:49 +01:00
parent d105fa2e38
commit 62199f27e3

View File

@ -434,6 +434,8 @@ class DNSManager::Storage::Zone
def to_bind9(io : IO) def to_bind9(io : IO)
io << "#{@name} #{@ttl} IN TXT " io << "#{@name} #{@ttl} IN TXT "
io << '"' io << '"'
io << "v=#{v} "
@mechanisms.each do |m| @mechanisms.each do |m|
io << m io << m
io << ' ' io << ' '