File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ sub data {
5555 {txt => " _globalsign-domain-verification=mVYWxIl-2ab_B1yPPFxEmDCLrBcl6ucouXJOU_P0_C" },
5656 ];
5757
58+ # null MX records by default, rfc7505
59+ $data -> {" " }-> {mx } = [{mx => " ." , preference => 0},];
60+
5861 if ($self -> origin eq " pool.ntp.org" ) {
5962
6063 # google domain verification
@@ -126,6 +129,7 @@ sub populate_country_zones {
126129 if ($ttl ) {
127130 $data -> {$pgeodns_group }-> {ttl } = $ttl ;
128131 }
132+ $data -> {$pgeodns_group }-> {mx } = [{mx => " ." , preference => 0}];
129133
130134 $min_non_duplicate_size = int (@$entries / $zone_count )
131135 if (@$entries / $zone_count > $min_non_duplicate_size );
@@ -143,6 +147,8 @@ sub populate_country_zones {
143147 next ;
144148 }
145149
150+ $data -> {$pgeodns_group }-> {mx } = [{mx => " ." , preference => 0}];
151+
146152 $data -> {$pgeodns_group }-> {a } = [];
147153 if ($ttl ) {
148154 $data -> {$pgeodns_group }-> {ttl } = $ttl ;
You can’t perform that action at this time.
0 commit comments