how do i know the email domain on mailgun code example
Example 1: how to verify dns settings in mailgun
dig -t TXT domain.tld ; <<>> DiG 9.8.3-P1 <<>> -t TXT domain.tld;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64695;; QUESTION SECTION:;domain.tld. IN TXT;; ANSWER SECTION:domain.tld. 600 IN TXT "v=spf1 include:mailgun.org ~all"
Example 2: how to verify dns settings in mailgun
dig -t TXT domain.tld "v=spf1 include:mailgun.org ~all""v=spf1 ip4:1.2.3.4 include:smtp.domain.tld ~all"