问题原文
原帖链接 · d786b09987n · CC BY-SA 4.0
If someone owns a domain that needs to be looked up in an SPF record, is it bad practice for them to put the IP address of that domain instead of the domain itself in order to cut down on lookups? E.g. to stop going over the 10 lookups limit?
I understand that this would result in needing to change two IPs in the DNS records if the IP needed to be changed instead of one change. Is there any other reason it shouldn't be done?
已采纳解答
原帖链接 · Esa Jokinen · CC BY-SA 4.0
As mail server related DNS records are only changed occasionally but queried all the time, it is better optimize the latter. Administrator's Considerations in RFC 7208, 10.1.2 summarizes this well:
There might be administrative considerations: using
aoverip4orip6allows hosts to be renumbered easily at the cost of a DNS query per receiver. Usingmxoveraallows the set of mail hosts to be changed easily. Unless such changes are common, it is better to use the less resource-intensive mechanisms likeip4andip6overaoraovermx.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
