:: BIND : setup spf record

12 sec read

:: 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

 
:: Links
+ Google
+ Cyberciti

How to fix problem with…

Facing a Git error with the 'vi' editor? Discover how to easily fix it by checking your Vim path and configuring Git to use...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

Learn how to enable MP4 streaming in Apache with the installation of the mod_h264 streaming module, making your video content accessible and efficient. Follow...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV…

Learn how to effortlessly configure Apache for FLV streaming by installing the mod_flvx module and updating your httpd.conf file. Discover the simple steps to...
Sysadmin.ID
15 sec read

10 Replies to “:: BIND : setup spf…”

    1. 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

  1. 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,

  2. 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?

    1. Hello Hiep, usually, you can see domain zone file for domains in /etc/named/named.conf or /etc/named.conf

      1. 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,

  3. 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.

    1. 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.

  4. 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?

Leave a Reply

Your email address will not be published. Required fields are marked *