Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

SPF Record on Azure DNS

$
0
0

Hi,

I need to add an SPF record to a Azure DNS Zone and I'm just a bit unsure of the command as the documentation doesn't specifically include SPF records. So I've used the following:

PS C:\> $rs =New-AzureDnsRecordSet-Name"spf1"-RecordType TXT -Zone $zone -Ttl60
PS C:\> Add-AzureDnsRecordConfig-RecordSet $rs -Value"v=spf1 mx ip4:0.0.0.0 ip4:0.0.0.0 mx:mail.example.com include:example2.com ?all"
PS C:\> Set-AzureDnsRecordSet-RecordSet $rs

Does it matter what -Name I give it? and do I need to include the v= at the beginning of the -Value?

Thanks,

Richard McKenna



Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>