Run the nslookup command to find trusted IP addresses in a Sender Policy Framework (SPF) record.
Method
Set the query type to TXT because SPF records are TXT records:
nslookup -q=txt domain_name
1. For an email address such as a***@example.net, query the domain name example.net. The include keyword in the results indicates that the SPF record for example.net is included in the TXT record for spf.qiye.aliyun.com.

2. Query spf.qiye.aliyun.com. The results show that its SPF record is included in the TXT records for a.hichina.mail.aliyun.com and b.hichina.mail.aliyun.com.

3. Query a.hichina.mail.aliyun.com and b.hichina.mail.aliyun.com to retrieve all trusted IP addresses.

4. To add an SPF record, xxxx.
If you have additional sending IP addresses, update your SPF record in the format v=spf1 ip4:<IP_address> include the following:spf.qiye.aliyun.com -all. Ensure these IP addresses are trusted. Shared IP addresses increase the risk of email spoofing.