plugin/file: Add SOA serial to axfr log (#3042)
This commit is contained in:
parent
eba020e6a1
commit
048987fca5
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func (x Xfr) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (in
|
|||
|
||||
j, l := 0, 0
|
||||
records = append(records, records[0]) // add closing SOA to the end
|
||||
log.Infof("Outgoing transfer of %d records of zone %s to %s started", len(records), x.origin, state.IP())
|
||||
log.Infof("Outgoing transfer of %d records of zone %s to %s started with %d SOA serial", len(records), x.origin, state.IP(), x.SOASerialIfDefined())
|
||||
for i, r := range records {
|
||||
l += dns.Len(r)
|
||||
if l > transferLength {
|
||||
|
|
Loading…
Add table
Reference in a new issue