:: How to setup SPF record for domain on BIND/named
+ add spf record on zone file
vi /var/named/blackonsole.org.zone
added line like this:
@ IN TXT "v=spf1 a mx ~all"
or
blackonsole.org. IN TXT "v=spf1 a mx ~all"
+ restaring named
/etc/init.d/named restart
Can you tell me how to edit/change my SPF. If you could provide commands
Thanks,
Hello Hiep, just edit in configuration file and restart bind.
# vi /var/named/your-config-file
change txt record in ” ” and restart bind
# /etc/init.d/named restart
Thanks for that info.
when I do this vi /var/named/wemadeusa.com.zone and all is
~
~
~
“/var/named/wemadeusa.com.zone” [New File] 0,0-1 All
I do not see my spf record to edit. Do I have to hit any keys when I in that command? And I’m not sure what you meant by “your-config-file” Could you verify that?
Thanks,
when I perform this command
dig +short txt wemadeusa.com
I got this “v=spf1 mx ~all”
So my question is how can I edit that txt record? Can you provide me the solutions?
Hello Hiep, usually, you can see domain zone file for domains in /etc/named/named.conf or /etc/named.conf
Can you give me the commands step by step on this?
once I’m in /etc/named.conf what do I do next? Could you help me with that?
Thanks,
hello Hiep, you will see the path for domain zone file.
Sorry I do not see the path for domain zone file when I’m in /etc/named.conf
Please tell me what commands do I need to do to complete this changing.
hello Hiep, just using command in the posting.
i can help to to change spf record in your server, if you want it please contact me via contact form.
Could you please show me how to block the IP address the messages are coming from at the Postfix server.
and block email originating from the user spoof email address?