mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Added PTR record support for prettyzone (#182)
This commit is contained in:
committed by
Tom Limoncelli
parent
92f09c83b1
commit
2ef6b9d6c5
@ -67,6 +67,12 @@ func (z *zoneGenData) Less(i, j int) bool {
|
||||
if pa != pb {
|
||||
return pa < pb
|
||||
}
|
||||
case dns.TypePTR:
|
||||
ta2, tb2 := a.(*dns.PTR), b.(*dns.PTR)
|
||||
pa, pb := ta2.Ptr, tb2.Ptr
|
||||
if pa != pb {
|
||||
return pa < pb
|
||||
}
|
||||
case dns.TypeCAA:
|
||||
ta2, tb2 := a.(*dns.CAA), b.(*dns.CAA)
|
||||
// sort by tag
|
||||
|
Reference in New Issue
Block a user